From 1f9029ae49242f8050e47f94b56491000d997566 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Sat, 26 Jul 2025 20:08:38 +0200 Subject: [PATCH] linux-dmabuf: deprecate all flags I've looked at the behaviors of some compositors: - Mutter & Weston fail buffer creation if any flag other than y_invert is used. - Sway and KWin fail buffer creation if any flag is used. - Jay ignores all flags. Since clients are clearly not using these flags on general-purpose compositors and there is no way for clients to detect which flags are supported or why buffer creation failed, deprecate all flags. Signed-off-by: Julian Orth --- stable/linux-dmabuf/linux-dmabuf-v1.xml | 29 ++++++++++++++++++++----- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/stable/linux-dmabuf/linux-dmabuf-v1.xml b/stable/linux-dmabuf/linux-dmabuf-v1.xml index 12d09fb..ad250a3 100644 --- a/stable/linux-dmabuf/linux-dmabuf-v1.xml +++ b/stable/linux-dmabuf/linux-dmabuf-v1.xml @@ -24,7 +24,7 @@ DEALINGS IN THE SOFTWARE. - + This interface offers ways to create generic dmabuf-based wl_buffers. @@ -184,7 +184,7 @@ - + This temporary object is a collection of dmabufs and other parameters that together form a single logical buffer. The temporary @@ -222,6 +222,8 @@ + @@ -264,9 +266,24 @@ - - - + + + This flag is deprecated since version 6. Trying to use it causes the + deprecated_flag error. + + + + + This flag is deprecated since version 6. Trying to use it causes the + deprecated_flag error. + + + + + This flag is deprecated since version 6. Trying to use it causes the + deprecated_flag error. + + @@ -396,7 +413,7 @@ - + This object advertises dmabuf parameters feedback. This includes the preferred devices and the supported formats/modifiers.