devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=49442d56153680a01c6f3d0944b2086c369449c7

commit 49442d56153680a01c6f3d0944b2086c369449c7
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Oct 6 09:39:36 2015 -0400

    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.mich...@samsung.com>
---
 src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 7 ++++---
 1 file 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 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();

-- 


Reply via email to