From 40cb7d47e639f3f7e3a36963094fcef40cdf2f7c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 4 Nov 2021 09:51:44 +0100 Subject: linux-dmabuf: add note about pre-multiplied alpha Add a note about pre-multiplied alpha for all DRM formats. Include an escape hatch in the spec to allow other protocol extensions to override this. Essentially the same as [1]. [1]: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/187 Signed-off-by: Simon Ser --- unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unstable') diff --git a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml index afa55ca..09cf0bb 100644 --- a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml +++ b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml @@ -82,6 +82,9 @@ client. If the client uses a failed wl_buffer as an argument to any request, the behaviour is compositor implementation-defined. + For all DRM formats and unless specified in another protocol extension, + pre-multiplied alpha is used for pixel values. + Warning! The protocol described in this file is experimental and backward incompatible changes may be made. Backward compatible changes may be added together with the corresponding interface version bump. -- cgit v1.2.3