* [ptxdist] [PATCH] mesalib: enable legacy-wayland=bind-wayland-display for wpebackend-fdo
@ 2026-06-25 11:50 Artur Wiebe via ptxdist
2026-06-26 16:38 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Artur Wiebe via ptxdist @ 2026-06-25 11:50 UTC (permalink / raw)
To: ptxdist; +Cc: Artur Wiebe
Mesa 25.2 deprecated EGL_WL_bind_wayland_display and moved it behind the
-Dlegacy-wayland=bind-wayland-display build option. Without it, Mesa no
longer exposes the EGL_WL_bind_wayland_display extension at runtime.
wpebackend-fdo calls eglBindWaylandDisplayWL (obtained via eglGetProcAddress
on EGL_WL_bind_wayland_display) to allow the Wayland compositor side to
import wl_buffer resources as EGLImages using EGL_WAYLAND_BUFFER_WL. This
is still the only path available for non-dmabuf, non-SHM wl_buffers in the
wpebackend-fdo EGL compositor backend.
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
rules/mesalib.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/mesalib.make b/rules/mesalib.make
index 7eddb97ce..040863b13 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -263,7 +263,7 @@ MESALIB_CONF_OPT := \
-Dintel-elk=true \
-Dintel-rt=disabled \
-Dintel-virtio-experimental=false \
- -Dlegacy-wayland=[] \
+ -Dlegacy-wayland=bind-wayland-display \
-Dlibgbm-external=false \
-Dlibunwind=disabled \
-Dllvm=$(call ptx/endis, PTXCONF_MESALIB_LLVM)d \
--
2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] mesalib: enable legacy-wayland=bind-wayland-display for wpebackend-fdo
2026-06-25 11:50 [ptxdist] [PATCH] mesalib: enable legacy-wayland=bind-wayland-display for wpebackend-fdo Artur Wiebe via ptxdist
@ 2026-06-26 16:38 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-06-26 16:38 UTC (permalink / raw)
To: Artur Wiebe via ptxdist; +Cc: Artur Wiebe
On Thu, Jun 25, 2026 at 01:50:21PM +0200, Artur Wiebe via ptxdist wrote:
> Mesa 25.2 deprecated EGL_WL_bind_wayland_display and moved it behind the
> -Dlegacy-wayland=bind-wayland-display build option. Without it, Mesa no
> longer exposes the EGL_WL_bind_wayland_display extension at runtime.
>
> wpebackend-fdo calls eglBindWaylandDisplayWL (obtained via eglGetProcAddress
> on EGL_WL_bind_wayland_display) to allow the Wayland compositor side to
> import wl_buffer resources as EGLImages using EGL_WAYLAND_BUFFER_WL. This
> is still the only path available for non-dmabuf, non-SHM wl_buffers in the
> wpebackend-fdo EGL compositor backend.
This is not something that should be enabled unconditionally. Please create
a kconfig option for with, without prompt and select that from
wpebackend-fdo. That way, it is clear that it is only needed for that.
Michael
> Signed-off-by: Artur Wiebe <artur@4wiebe.de>
> ---
> rules/mesalib.make | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rules/mesalib.make b/rules/mesalib.make
> index 7eddb97ce..040863b13 100644
> --- a/rules/mesalib.make
> +++ b/rules/mesalib.make
> @@ -263,7 +263,7 @@ MESALIB_CONF_OPT := \
> -Dintel-elk=true \
> -Dintel-rt=disabled \
> -Dintel-virtio-experimental=false \
> - -Dlegacy-wayland=[] \
> + -Dlegacy-wayland=bind-wayland-display \
> -Dlibgbm-external=false \
> -Dlibunwind=disabled \
> -Dllvm=$(call ptx/endis, PTXCONF_MESALIB_LLVM)d \
> --
> 2.54.0
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-26 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25 11:50 [ptxdist] [PATCH] mesalib: enable legacy-wayland=bind-wayland-display for wpebackend-fdo Artur Wiebe via ptxdist
2026-06-26 16:38 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox