forked from enlightenment/enlightenment
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:
parent
1024480bad
commit
d1e90c3af7
|
@ -76,8 +76,9 @@ e_modapi_init(E_Module *m)
|
||||||
if ((e_comp_gl_get()) &&
|
if ((e_comp_gl_get()) &&
|
||||||
(e_comp_config_get()->engine == E_COMP_ENGINE_GL))
|
(e_comp_config_get()->engine == E_COMP_ENGINE_GL))
|
||||||
{
|
{
|
||||||
/* TOOD: create ecore_evas for new drm gl backend */
|
comp->ee == ecore_evas_gl_drm_new(NULL, 0, 0, 0, 1, 1);
|
||||||
/* NB: If that fails, call e_comp_gl_set(EINA_FALSE) */
|
if(!comp->ee)
|
||||||
|
e_comp_gl_set(EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fallback to framebuffer drm (non-accel) */
|
/* fallback to framebuffer drm (non-accel) */
|
||||||
|
|
Loading…
Reference in New Issue