From: kabeer khan Date: Thu, 15 Jan 2015 18:27:52 +0000 (-0500) Subject: wl_drm: create ecore_evas for drm gl backend X-Git-Tag: submit/tizen/20150311.085739^2~272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1e90c3af7fde393a3f06451d16d04443a738bb9;p=platform%2Fupstream%2Fenlightenment.git wl_drm: create ecore_evas for drm gl backend Summary: Signed-off-by: kabeer khan Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1871 --- diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index 4025a7e692..118f9eff14 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -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) */