wayland-protocols/unstable/linux-dmabuf
Simon Ser 8a5cd28a0e unstable/linux-dmabuf: add wp_linux_dmabuf_feedback
On multi-GPU setups, multiple devices can be used for rendering. Clients
need feedback about the device in use by the compositor. For instance,
if they render on another GPU, then they need to make sure the memory is
accessible between devices and that their buffers are not placed in
hidden memory.

This commit introduces a new wp_linux_dmabuf_feedback object. This
object advertises a preferred main device, a set of preferred
formats/modifiers and target devices.

Each object is bound to a wl_surface and can dynamically update its
feedback parameters. This enables fine-grained per-surface
optimizations. For instance, when a surface is scanned out on a GPU the
compositor isn't compositing with, the target device can be set to this
GPU to avoid unnecessary roundtrips.

A feedback object can also be standalone for clients that don't support
per-surface feedback.

Signed-off-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Closes: https://gitlab.freedesktop.org/wayland/wayland/issues/59
2021-11-23 09:47:24 +01:00
..
feedback.rst unstable/linux-dmabuf: add wp_linux_dmabuf_feedback 2021-11-23 09:47:24 +01:00
linux-dmabuf-unstable-v1.xml unstable/linux-dmabuf: add wp_linux_dmabuf_feedback 2021-11-23 09:47:24 +01:00
README Add README files containing protocol maintainers 2015-10-29 11:08:12 +08:00

Linux DMA-BUF protocol

Maintainers:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Daniel Stone <daniels@collabora.com>