About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/meson.options
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2025-07-02 14:06:38 +0100
committerMarge Bot <marge-bot@fdo.invalid>2025-07-10 14:51:20 +0000
commit355b96413d63b9be09814961f073ee2d6f8eccc7 (patch)
tree5ee438c842dcfdda8e978cc7e3afd939445da9e9 /meson.options
parentb19086ccfa696692721aff8cf0516088b60ca87b (diff)
egl/wayland: Move bind_wayland_display to legacy build option
Similar to how support for X11's DRI2 protocol was deprecated in 24.2, begin deprecating EGL_WL_bind_wayland_display (including eglBindWaylandDisplayWL et al) by moving it behind a legacy-wayland build option. This extension was originally created in a pre-dmabuf world, where we didn't have a universally-accepted way of exchanging buffers between client and compositor, or even really the ability to describe formats and modifiers universally. Since then, the world has settled on dmabuf with DRM FourCC and modifiers. We've had the zwp_linux_dmabuf_v1 protocol for 10 years now: both clients and compositors implement this protocol to handle buffer sharing. Compositors either use EGL_EXT_image_dma_buf_import or the Vulkan dmabuf extensions to import these into GPU world. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36026>
Diffstat (limited to 'meson.options')
-rw-r--r--meson.options10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson.options b/meson.options
index 6f2a0a5035a..b1cdb06fcc9 100644
--- a/meson.options
+++ b/meson.options
@@ -778,6 +778,16 @@ option(
)
option(
+ 'legacy-wayland',
+ type : 'array',
+ value : [],
+ description : 'Build legacy Wayland support features.',
+ choices : [
+ 'bind-wayland-display',
+ ],
+)
+
+option(
'legacy-x11',
type : 'array',
value : [],