mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 05:50:09 +01:00
Merge branch 'jorth/deprecate-dmabuf-flags' into 'main'
linux-dmabuf: deprecate all flags See merge request wayland/wayland-protocols!432
This commit is contained in:
commit
e3b4c9ffae
1 changed files with 23 additions and 6 deletions
|
|
@ -24,7 +24,7 @@
|
|||
DEALINGS IN THE SOFTWARE.
|
||||
</copyright>
|
||||
|
||||
<interface name="zwp_linux_dmabuf_v1" version="5">
|
||||
<interface name="zwp_linux_dmabuf_v1" version="6">
|
||||
<description summary="factory for creating dmabuf-based wl_buffers">
|
||||
This interface offers ways to create generic dmabuf-based wl_buffers.
|
||||
|
||||
|
|
@ -184,7 +184,7 @@
|
|||
</request>
|
||||
</interface>
|
||||
|
||||
<interface name="zwp_linux_buffer_params_v1" version="5">
|
||||
<interface name="zwp_linux_buffer_params_v1" version="6">
|
||||
<description summary="parameters for creating a dmabuf-based wl_buffer">
|
||||
This temporary object is a collection of dmabufs and other
|
||||
parameters that together form a single logical buffer. The temporary
|
||||
|
|
@ -222,6 +222,8 @@
|
|||
<entry name="invalid_wl_buffer" value="7"
|
||||
summary="invalid wl_buffer resulted from importing dmabufs via
|
||||
the create_immed request on given buffer_params"/>
|
||||
<entry name="deprecated_flag" value="8"
|
||||
summary="a deprecated flag was used"/>
|
||||
</enum>
|
||||
|
||||
<request name="destroy" type="destructor">
|
||||
|
|
@ -264,9 +266,24 @@
|
|||
</request>
|
||||
|
||||
<enum name="flags" bitfield="true">
|
||||
<entry name="y_invert" value="1" summary="contents are y-inverted"/>
|
||||
<entry name="interlaced" value="2" summary="content is interlaced"/>
|
||||
<entry name="bottom_first" value="4" summary="bottom field first"/>
|
||||
<entry name="y_invert" value="1" deprecated-since="6">
|
||||
<description summary="contents are y-inverted">
|
||||
This flag is deprecated since version 6. Trying to use it causes the
|
||||
deprecated_flag error.
|
||||
</description>
|
||||
</entry>
|
||||
<entry name="interlaced" value="2" deprecated-since="6">
|
||||
<description summary="content is interlaced">
|
||||
This flag is deprecated since version 6. Trying to use it causes the
|
||||
deprecated_flag error.
|
||||
</description>
|
||||
</entry>
|
||||
<entry name="bottom_first" value="4" deprecated-since="6">
|
||||
<description summary="bottom field first">
|
||||
This flag is deprecated since version 6. Trying to use it causes the
|
||||
deprecated_flag error.
|
||||
</description>
|
||||
</entry>
|
||||
</enum>
|
||||
|
||||
<request name="create">
|
||||
|
|
@ -396,7 +413,7 @@
|
|||
</request>
|
||||
</interface>
|
||||
|
||||
<interface name="zwp_linux_dmabuf_feedback_v1" version="5">
|
||||
<interface name="zwp_linux_dmabuf_feedback_v1" version="6">
|
||||
<description summary="dmabuf feedback">
|
||||
This object advertises dmabuf parameters feedback. This includes the
|
||||
preferred devices and the supported formats/modifiers.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue