mesa/src
Leandro Ribeiro 83916ae0b9 egl/wayland: add initial dma-buf feedback support
This bumps the supported dma-buf version up to 4 and adds the initial
dma-buf feedback implementation. It follows the changes in the dma-buf
protocol extension [1] to include the dma-buf feedback interface, which
should be incorporated by most Wayland compositors in the future.

From version 4 onwards, the dma-buf modifier events are not sent by the
compositor anymore, so we use the default feedback to pick the set of
formats/modifiers supported by the compositor. Also, we try to avoid the
wl_drm device event and instead use the dma-buf feedback main device. We
only fallback to wl_drm when the compositor advertises a device that
does not have a render node associated.

In this initial dma-buf feedback implementation we still don't do
anything with the per-surface dma-buf feedback, but in the next commits
we add proper support.

It's important to mention that this also bumps the minimal supported
version of wayland-protocols to 1.24, in order to include [1].

[1] https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/8

This patch is based on previous work of Scott Anderson (@ascent).

Signed-off-by: Scott Anderson <scott.anderson@collabora.com>
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11248>
2021-11-26 16:06:09 +00:00
..
amd radv: advertise VK_KHR_synchronization2 2021-11-26 13:41:23 +00:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi asahi: Fix BIND_PIPELINE sizing and alignment 2021-11-18 23:35:25 +00:00
broadcom broadcom/compiler: make shaderdb debug output compatible with shaderdb's report tool 2021-11-24 13:02:08 +00:00
compiler nir: add shader_info::source_sha1, its initialization and printing 2021-11-26 11:58:27 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: add initial dma-buf feedback support 2021-11-26 16:06:09 +00:00
etnaviv ci/etnaviv: no need to force nir anymore 2021-11-12 08:22:29 +00:00
freedreno ir3/cp: Prevent setting an address on subgroup macros 2021-11-25 12:18:48 +00:00
gallium radeonsi: print the shader stage for shader-db dumps 2021-11-26 11:58:27 +00:00
gbm gbm: add GBM_FORMAT_GR1616 and RG1616 2021-10-27 02:53:05 +00:00
getopt
glx glx/dri3: fix glXQueryContext does not return GLX_RENDER_TYPE value 2021-11-19 01:37:27 +00:00
gtest gtest: Fix output of array ASSERT/EXPECT macros 2021-11-11 09:53:09 -08:00
hgl
imgui
intel anv: fix execbuf syncobjs/syncobj_values array leak 2021-11-24 17:29:46 +00:00
loader loader: add function to get render node from dev_t 2021-11-26 16:06:09 +00:00
mapi Use initial-exec TLS for glibc only, enable TLS elsewhere 2021-11-20 11:56:34 -05:00
mesa nir: add shader_info::source_sha1, its initialization and printing 2021-11-26 11:58:27 +00:00
microsoft microsoft/compiler: Handle GLES external textures 2021-11-19 22:54:46 +00:00
nouveau
panfrost panfrost: Handle AFBC_FEATURES in drm-shim 2021-11-22 13:12:20 +00:00
tool intel/pps: tweak intel config some more 2021-11-22 11:52:46 +00:00
util util: add SHA1 printing and comparison functions 2021-11-26 11:58:27 +00:00
virtio virgl: Link shader program 2021-11-23 16:14:16 +00:00
vulkan vulkan: Unlock before return. 2021-11-24 15:15:46 +00:00
meson.build meson: build freedreno tools when other parts of freedreno not enabled 2021-10-26 00:33:31 +00:00