mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 19:58:19 +02:00
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> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| glx | ||
| gtest | ||
| hgl | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| meson.build | ||