summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-10-06 09:39:36 -0400
committerChris Michael <cp.michael@samsung.com>2015-10-06 09:39:36 -0400
commit49442d56153680a01c6f3d0944b2086c369449c7 (patch)
treef26c8bccf933ae3a1da1b5e53ad7f72f6dd2ccd9 /src/modules/ecore_evas
parente6bb379ceb4e1ebc9ec34587bb7d1d05023baddf (diff)
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>
Diffstat (limited to 'src/modules/ecore_evas')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c7
1 files changed, 4 insertions, 3 deletions
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 60be68eeaa..21d706c050 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
419 ee->prop.withdrawn = EINA_TRUE; 419 ee->prop.withdrawn = EINA_TRUE;
420 ee->alpha = EINA_FALSE; 420 ee->alpha = EINA_FALSE;
421 421
422 ee->can_async_render = 1; 422 /* NB: Disable async rendering for egl. Not Applicable as EGL is sync only */
423 if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER")) 423 ee->can_async_render = 0;
424 ee->can_async_render = 0; 424 /* if (getenv("ECORE_EVAS_FORCE_SYNC_RENDER")) */
425 /* ee->can_async_render = 0; */
425 426
426 /* try to initialize evas */ 427 /* try to initialize evas */
427 ee->evas = evas_new(); 428 ee->evas = evas_new();