diff options
author | Simon Ser <contact@emersion.fr> | 2021-11-04 09:51:44 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-11-10 15:01:34 +0000 |
commit | 40cb7d47e639f3f7e3a36963094fcef40cdf2f7c (patch) | |
tree | 464b331494676ed91c7a34b4f88d4c19c0334c30 /unstable | |
parent | 61038f8a19b4aa155783fdaf15c6e73e80fdbc75 (diff) |
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 <contact@emersion.fr>
Diffstat (limited to 'unstable')
-rw-r--r-- | unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml | 3 |
1 files changed, 3 insertions, 0 deletions
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. |