EHWSTRACE("!!!!!!!! HWC Commit !!!!!!!!", NULL);
_e_hwc_windows_update_fps(hwc);
+ hwc->wait_commit = EINA_TRUE;
+
error = tdm_hwc_commit(hwc->thwc, 0, _e_hwc_windows_commit_handler, hwc);
if (error != TDM_ERROR_NONE)
{
_e_hwc_windows_commit_handler(hwc->thwc, 0, 0, 0, hwc);
goto fail;
}
-
- hwc->wait_commit = EINA_TRUE;
}
return EINA_TRUE;
fail:
+ hwc->wait_commit = EINA_FALSE;
+
return EINA_FALSE;
}
NULL, plane, plane->zpos, data->tsurface, plane->renderer ? plane->renderer->tqueue : NULL,
data->buffer_ref.buffer ? data->buffer_ref.buffer->resource : NULL, data);
+ plane->wait_commit = EINA_TRUE;
+
error = tdm_layer_commit(plane->tlayer, _e_plane_commit_hanler, data);
if (error != TDM_ERROR_NONE)
{
ERR("fail to tdm_layer_commit plane:%p, zpos:%d", plane, plane->zpos);
e_plane_commit_data_release(plane, data);
+ plane->wait_commit = EINA_FALSE;
return EINA_FALSE;
}
if (error != TDM_ERROR_NONE)
{
ERR("fail to tdm_output_wait_vblank plane:%p, zpos:%d", plane, plane->zpos);
+ plane->wait_commit = EINA_FALSE;
return EINA_FALSE;
}
}
if (plane->ec)
e_pixmap_image_clear(plane->ec->pixmap, 1);
- plane->wait_commit = EINA_TRUE;
-
_e_plane_update_fps(plane);
if (!plane->is_fb && plane->unset_ec_pending)