This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch wl/dmabuf-import
in repository enlightenment.
View the commit online.
commit c633981d0ab6beffee1e4d6274d6ea38afce24f6
Author: Cedric BAIL <[email protected]>
AuthorDate: Sat Nov 28 23:31:02 2026 -0600
wl_wl - take dmabufs from clients when nested
A nested E left dmabuf off whenever its host compositor offered it, to
proxy the host's one day. Nothing forwards buffers, so clients of a
nested E had to use wl_shm. E composites them itself on its own GL
canvas, which needs nothing from the host: let linux_dmabuf_setup()
decide, as it does for the other backends.
This needs an EFL whose wayland_egl engine imports
EVAS_NATIVE_SURFACE_WL_DMABUF. With one that does not, a nested GL E
still advertises dmabuf, as it only asks whether Evas GL can list
formats, and then fails every buffer. Install EFL first.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/bin/e_comp_wl.h | 1 -
src/bin/e_comp_wl_extensions.c | 3 +--
src/modules/wl_wl/e_mod_main.c | 5 -----
3 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h
index b7d5dd123..6e18cfca5 100644
--- a/src/bin/e_comp_wl.h
+++ b/src/bin/e_comp_wl.h
@@ -360,7 +360,6 @@ struct _E_Comp_Wl_Data
Eina_List *efl_wls;
Eina_Bool dmabuf_disable E_BITFIELD;
- Eina_Bool dmabuf_proxy E_BITFIELD;
};
struct _E_Comp_Wl_Client_Data
diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 2e86fe403..ae33c0994 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -2017,8 +2017,7 @@ _dmabuf_add(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
if (ev->display != e_comp_wl->wl.client_disp)
return ECORE_CALLBACK_PASS_ON;
- /* Proxy not supported yet */
- if (!(e_comp_wl->dmabuf_disable || e_comp_wl->dmabuf_proxy))
+ if (!e_comp_wl->dmabuf_disable)
linux_dmabuf_setup(e_comp_wl->wl.disp);
return ECORE_CALLBACK_PASS_ON;
diff --git a/src/modules/wl_wl/e_mod_main.c b/src/modules/wl_wl/e_mod_main.c
index c1eda048e..221616695 100644
--- a/src/modules/wl_wl/e_mod_main.c
+++ b/src/modules/wl_wl/e_mod_main.c
@@ -27,11 +27,6 @@ _cb_sync_done(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
ecore_wl2_input_pointer_set(input, NULL, 0, 0);
eina_iterator_free(it);
- if (!ecore_wl2_display_dmabuf_get(e_comp_wl->wl.client_disp))
- e_comp_wl->dmabuf_disable = EINA_TRUE;
- else
- e_comp_wl->dmabuf_proxy = EINA_TRUE;
-
return ECORE_CALLBACK_PASS_ON;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.