From bce8a822682ca73358e7a351a14f41d74acf9cb7 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Oct 2015 13:53:36 -0400 Subject: [PATCH] ecore-evas-wayland-egl: Add support for custom Ecore_Wl animator Summary: This adds support for ecore_wl to handle ecore animators and thus the egl engine can receive frame callbacks now. Signed-off-by: Chris Michael --- src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c index 7afdcd6..2414e2f 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c @@ -192,7 +192,7 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent, /* NB: Disabled for right now as it causes textgrid (terminology) * to not draw text anymore */ /* if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER")) */ - /* ee->can_async_render = 0; */ + ee->can_async_render = 0; /* else */ /* ee->can_async_render = 1; */ @@ -250,6 +250,8 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent, goto err; } + ecore_wl_animator_source_set(ECORE_ANIMATOR_SOURCE_CUSTOM); + ecore_evas_callback_pre_free_set(ee, _ecore_evas_wl_common_pre_free); if (ee->prop.draw_frame) -- 2.7.4