wl_drm: create ecore_evas for drm gl backend

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1871
This commit is contained in:
kabeer khan 2015-01-15 13:27:52 -05:00 committed by Chris Michael
parent 1024480bad
commit d1e90c3af7
1 changed files with 3 additions and 2 deletions

View File

@ -76,8 +76,9 @@ e_modapi_init(E_Module *m)
if ((e_comp_gl_get()) &&
(e_comp_config_get()->engine == E_COMP_ENGINE_GL))
{
/* TOOD: create ecore_evas for new drm gl backend */
/* NB: If that fails, call e_comp_gl_set(EINA_FALSE) */
comp->ee == ecore_evas_gl_drm_new(NULL, 0, 0, 0, 1, 1);
if(!comp->ee)
e_comp_gl_set(EINA_FALSE);
}
/* fallback to framebuffer drm (non-accel) */