diff options
| author | Simon Ser <contact@emersion.fr> | 2024-03-06 11:19:09 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-03-12 13:04:51 +0000 |
| commit | aa2a6d560bb2ec39b0643103942dc7b3dfa5976c (patch) | |
| tree | 67356eb40c2eb55f38468293d3b4fc2cbe4b38ca /protocol/wayland.xml | |
| parent | connection: use enum wl_arg_type in wl_message_count_arrays() (diff) | |
| download | wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.tar wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.tar.gz wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.tar.bz2 wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.tar.lz wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.tar.xz wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.tar.zst wayland-aa2a6d560bb2ec39b0643103942dc7b3dfa5976c.zip | |
protocol: document that color channels provide electrical values
Expand the work done in [1] to document that all channels store
electrical values. See the discussion in [2].
[1]: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/316
[2]: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/250#note_2311377
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'protocol/wayland.xml')
| -rw-r--r-- | protocol/wayland.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 31daa74..d817a6e 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -479,8 +479,10 @@ client provides and updates the contents is defined by the buffer factory interface. - If the buffer uses a format that has an alpha channel, the alpha channel - is assumed to be premultiplied in the electrical color channel values + Color channels are assumed to be electrical rather than optical (in other + words, encoded with a transfer function) unless otherwise specified. If + the buffer uses a format that has an alpha channel, the alpha channel is + assumed to be premultiplied into the electrical color channel values (after transfer function encoding) unless otherwise specified. Note, because wl_buffer objects are created from multiple independent |
