From: Chris Michael Date: Tue, 6 Oct 2015 13:39:36 +0000 (-0400) Subject: ecore-evas-gl-drm: Disable async rendering for EGL X-Git-Tag: v1.16.0-beta1~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49442d56153680a01c6f3d0944b2086c369449c7;p=platform%2Fupstream%2Fefl.git ecore-evas-gl-drm: Disable async rendering for EGL Summary: Disable async rendering for EGL engine as EGL is sync only. This fixes gl_drm engine to work (in my tests) using ecore_evas example apps. Signed-off-by: Chris Michael --- diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c index 60be68e..21d706c 100644 --- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c +++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c @@ -419,9 +419,10 @@ ecore_evas_gl_drm_new_internal(const char *device, unsigned int parent EINA_UNUS ee->prop.withdrawn = EINA_TRUE; ee->alpha = EINA_FALSE; - ee->can_async_render = 1; - if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER")) - ee->can_async_render = 0; + /* NB: Disable async rendering for egl. Not Applicable as EGL is sync only */ + ee->can_async_render = 0; + /* if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER")) */ + /* ee->can_async_render = 0; */ /* try to initialize evas */ ee->evas = evas_new();