ecore-evas-gl-drm: Disable async rendering for EGL
authorChris Michael <cp.michael@samsung.com>
Tue, 6 Oct 2015 13:39:36 +0000 (09:39 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 6 Oct 2015 13:39:36 +0000 (09:39 -0400)
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>
src/modules/ecore_evas/engines/drm/ecore_evas_drm.c

index 60be68e..21d706c 100644 (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();