mesa/src
Robert Mader 9bdab38424 egl: Implement EGL_MESA_x11_native_visual_id
EGL 1.5 specification requires to not match on EGL_NATIVE_VISUAL_ID.

EGL_MESA_x11_native_visual_id extension allows us to remove this
restriction for X11, where we need to match EGL_NATIVE_VISUAL_ID to find
visuals which allow blending.

The reasoning is that on X11, compositors use the visual as "magic bit"
to decide whether to alpha-blend surface contents.
Unlike on most (all?) other windowing systems, requesting an alpha channel
for the config alone does not already imply blending on the compositor
level.

Thus, in order to allow clients to explicitly request configs with
"magic bit" and, similar to GLX, to order configs in a way so clients
not requesting alpha-blending do not get it by accident, do match
visual ids.

Note that one consequence of this is that more configs get
reported to clients.

Based on a patch by Freya Gentz <zegentzy@protonmail.com>, see
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2376

Signed-off-by: Robert Mader <robert.mader@posteo.de>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9989>
2024-05-11 19:43:47 +00:00
..
amd treewide: Cleanup unused structs 2024-05-11 17:30:59 +00:00
android_stub
asahi asahi/clc: Use the new spirv_capabilities struct 2024-05-09 01:14:23 +00:00
broadcom broadcom: use common stype debug 2024-05-10 18:49:38 +00:00
c11
compiler treewide: Cleanup unused structs 2024-05-11 17:30:59 +00:00
drm-shim drm-shim: Add io region handling in mmap 2024-03-19 10:22:34 +00:00
egl egl: Implement EGL_MESA_x11_native_visual_id 2024-05-11 19:43:47 +00:00
etnaviv etnaviv/nn: Pipe through input/accumulation buffer depth from hwdb 2024-05-02 19:17:58 +00:00
freedreno freedreno/replay: use inttypes format string for 64bit 2024-05-11 01:09:25 +00:00
gallium treewide: Cleanup unused structs 2024-05-11 17:30:59 +00:00
gbm loader: silence implicit-load zink error by the loader 2024-05-10 14:19:59 +00:00
getopt
glx loader: silence implicit-load zink error by the loader 2024-05-10 14:19:59 +00:00
gtest
imagination pvr: use common stype debug 2024-05-10 18:49:38 +00:00
imgui
intel intel/brw: Fix commas when dumping instructions 2024-05-11 02:17:57 +00:00
loader loader: silence implicit-load zink error by the loader 2024-05-10 14:19:59 +00:00
mapi glapi: fix param type in TexGenxOES 2024-05-01 00:47:59 +02:00
mesa mesa: replace shader_info::source_sha1 2024-05-09 20:08:18 +00:00
microsoft microsoft/clc: fix incorrect changes that got through while the Windows CI was down 2024-05-10 20:52:21 +00:00
nouveau nouveau/headers: Add a bool for whether or not to dump offsets 2024-05-11 04:34:15 +00:00
panfrost pan/mdg: quirk to disable auto32 2024-05-09 21:21:32 +00:00
tool pps: Config tweaks to avoid loosing traces 2024-03-25 19:49:50 +00:00
util util/format: add planar3 y8_u8_v8_440 pipe format 2024-05-09 20:43:02 +00:00
virtio virtio/ci: separate hiden jobs to -inc.yml files 2024-05-07 18:01:51 +00:00
vulkan treewide: Cleanup unused structs 2024-05-11 17:30:59 +00:00
.clang-format agx: add Braun-Hack spiller pass 2024-03-30 00:26:18 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00