compositor will accept a frame after receiving a message of rotation change done.
Change-Id: If16f53c2baa8ec6d701de1acfc104f8a1f47310f
wl_surface_frame(ecore_wl_window_surface_get(wdata->win));
wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);
ecore_evas_manual_render_set(ee, 1);
-}
-void
-_ecore_evas_wl_common_render_flush_post(void *data, Evas *evas EINA_UNUSED, void *event EINA_UNUSED)
-{
- Ecore_Evas *ee = data;
- Ecore_Evas_Engine_Wl_Data *wdata;
-
- wdata = ee->engine.data;
if ((wdata) && (wdata->wm_rot.done) &&
(!ee->prop.wm_rot.manual_mode.set))
{
evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_FLUSH_PRE,
_ecore_evas_wl_common_render_flush_pre, ee);
- evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_FLUSH_POST,
- _ecore_evas_wl_common_render_flush_post, ee);
/* FIXME: This needs to be set based on theme & scale */
if (ee->prop.draw_frame)
evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_FLUSH_PRE,
_ecore_evas_wl_common_render_flush_pre, ee);
- evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_FLUSH_POST,
- _ecore_evas_wl_common_render_flush_post, ee);
/* FIXME: This needs to be set based on theme & scale */
if (ee->prop.draw_frame)