mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 11:40:16 +01:00
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>
This commit is contained in:
parent
61038f8a19
commit
40cb7d47e6
1 changed files with 3 additions and 0 deletions
|
|
@ -82,6 +82,9 @@
|
||||||
client. If the client uses a failed wl_buffer as an argument to any
|
client. If the client uses a failed wl_buffer as an argument to any
|
||||||
request, the behaviour is compositor implementation-defined.
|
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
|
Warning! The protocol described in this file is experimental and
|
||||||
backward incompatible changes may be made. Backward compatible changes
|
backward incompatible changes may be made. Backward compatible changes
|
||||||
may be added together with the corresponding interface version bump.
|
may be added together with the corresponding interface version bump.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue