forked from enlightenment/efl
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:
parent
e6bb379ceb
commit
49442d5615
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue