forked from enlightenment/efl
wayland_shm: Make dmabuf opt-in
Some weird bugs and performance issues around these days, and I keep chasing them in dmabuf first. Removing it from the equation for now.
This commit is contained in:
parent
c512bb68e7
commit
d2a3502481
|
@ -12,7 +12,9 @@
|
|||
Eina_Bool
|
||||
_evas_surface_init(Surface *s, int w, int h, int num_buf)
|
||||
{
|
||||
if (getenv("EVAS_WAYLAND_SHM_USE_DMABUF"))
|
||||
if (_evas_dmabuf_surface_create(s, w, h, num_buf)) return EINA_TRUE;
|
||||
|
||||
if (_evas_shm_surface_create(s, w, h, num_buf)) return EINA_TRUE;
|
||||
|
||||
return EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue