linux-dmabuf: sync changes from unstable to stable

Signed-off-by: Max Verevkin <maxxverrr@gmail.com>
This commit is contained in:
MaxVerevkin 2023-12-08 12:52:05 +02:00
parent c4f559866f
commit 9d83649b49

View file

@ -24,7 +24,7 @@
DEALINGS IN THE SOFTWARE. DEALINGS IN THE SOFTWARE.
</copyright> </copyright>
<interface name="zwp_linux_dmabuf_v1" version="4"> <interface name="zwp_linux_dmabuf_v1" version="5">
<description summary="factory for creating dmabuf-based wl_buffers"> <description summary="factory for creating dmabuf-based wl_buffers">
Following the interfaces from: Following the interfaces from:
https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt
@ -186,7 +186,7 @@
</request> </request>
</interface> </interface>
<interface name="zwp_linux_buffer_params_v1" version="4"> <interface name="zwp_linux_buffer_params_v1" version="5">
<description summary="parameters for creating a dmabuf-based wl_buffer"> <description summary="parameters for creating a dmabuf-based wl_buffer">
This temporary object is a collection of dmabufs and other This temporary object is a collection of dmabufs and other
parameters that together form a single logical buffer. The temporary parameters that together form a single logical buffer. The temporary
@ -246,6 +246,9 @@
Starting from version 4, the invalid_format protocol error is sent if Starting from version 4, the invalid_format protocol error is sent if
the format + modifier pair was not advertised as supported. the format + modifier pair was not advertised as supported.
Starting from version 5, the invalid_format protocol error is sent if
all planes don't use the same modifier.
This request raises the PLANE_IDX error if plane_idx is too large. This request raises the PLANE_IDX error if plane_idx is too large.
The error PLANE_SET is raised if attempting to set a plane that The error PLANE_SET is raised if attempting to set a plane that
was already set. was already set.
@ -393,7 +396,7 @@
</request> </request>
</interface> </interface>
<interface name="zwp_linux_dmabuf_feedback_v1" version="4"> <interface name="zwp_linux_dmabuf_feedback_v1" version="5">
<description summary="dmabuf feedback"> <description summary="dmabuf feedback">
This object advertises dmabuf parameters feedback. This includes the This object advertises dmabuf parameters feedback. This includes the
preferred devices and the supported formats/modifiers. preferred devices and the supported formats/modifiers.