if (!ee->can_async_render)
{
+ Eina_List *updates;
+
+ updates = evas_render_updates(ee->evas);
+ rend = _ecore_evas_wl_common_render_updates_process(ee, updates);
+ evas_render_updates_free(updates);
+
if (!wdata->frame_pending)
{
- Eina_List *updates;
-
if (!wdata->frame_callback)
{
wdata->frame_callback =
&frame_listener, ee);
}
- updates = evas_render_updates(ee->evas);
- rend = _ecore_evas_wl_common_render_updates_process(ee, updates);
- evas_render_updates_free(updates);
-
if (rend)
wdata->frame_pending = EINA_TRUE;
}
ee->in_async_render = EINA_TRUE;
rend = 1;
}
+ else if (ee->func.fn_post_render)
+ ee->func.fn_post_render(ee);
return rend;
}