mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Artur Wiebe via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: [ptxdist] [PATCH] mesalib: enable legacy-wayland=bind-wayland-display for wpebackend-fdo
Date: Thu, 25 Jun 2026 13:50:21 +0200	[thread overview]
Message-ID: <20260625115021.2433949-1-artur@4wiebe.de> (raw)

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




                 reply	other threads:[~2026-06-25 11:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260625115021.2433949-1-artur@4wiebe.de \
    --to=ptxdist@pengutronix.de \
    --cc=artur@4wiebe.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox