derekf pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2b9a22e3a9aeb5b18913468744039da4628d7414
commit 2b9a22e3a9aeb5b18913468744039da4628d7414 Author: Derek Foreman <[email protected]> Date: Mon Sep 11 17:11:36 2017 -0500 wayland_dmabuf: Query zwp_linux_dmabuf_v1 from display Get it from the display instead of using our stored copy. --- src/modules/evas/engines/wayland_shm/evas_dmabuf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c index 5babde21f6..0b5f5f77ce 100644 --- a/src/modules/evas/engines/wayland_shm/evas_dmabuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_dmabuf.c @@ -724,6 +724,7 @@ static Dmabuf_Buffer * _evas_dmabuf_buffer_init(Dmabuf_Surface *s, int w, int h) { Dmabuf_Buffer *out; + struct zwp_linux_dmabuf_v1 *dmabuf; struct zwp_linux_buffer_params_v1 *dp; uint32_t flags = 0; @@ -743,7 +744,8 @@ _evas_dmabuf_buffer_init(Dmabuf_Surface *s, int w, int h) out->h = h; out->pending = EINA_TRUE; - dp = zwp_linux_dmabuf_v1_create_params(out->surface->dmabuf); + dmabuf = ecore_wl2_display_dmabuf_get(s->surface->ob->ewd); + dp = zwp_linux_dmabuf_v1_create_params(dmabuf); zwp_linux_buffer_params_v1_add(dp, out->fd, 0, 0, out->stride, 0, 0); zwp_linux_buffer_params_v1_add_listener(dp, ¶ms_listener, out); zwp_linux_buffer_params_v1_create(dp, out->w, out->h, --
