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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-10-06 09:39:36 -04:00
parent e6bb379ceb
commit 49442d5615
1 changed files with 4 additions and 3 deletions

View File

@ -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();