aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-05 17:53:36 (GMT)
committerChris Michael <cp.michael@samsung.com>2015-10-05 17:53:36 (GMT)
commitbce8a822682ca73358e7a351a14f41d74acf9cb7 (patch)
treef282c56f0e39cbdf02591fa183b43ddde97ea359
parentrelease: Update NEWS and bump version for 1.16.0-alpha1 release (diff)
downloadefl-bce8a822682ca73358e7a351a14f41d74acf9cb7.tar.gz
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 <cp.michael@samsung.com>
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c4
1 files changed, 3 insertions, 1 deletions
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)