doc: mention that buffers are sRGB and pre-multiplied

This is the expectations existing implementations (both client and
server) have today.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-06-27 22:10:12 +02:00
parent 8e322a5a99
commit f26df35f99

View file

@ -344,6 +344,10 @@
See <xref linkend="protocol-spec-wl_surface"/> for the protocol
description.
</para>
<para>
Unless specified in a protocol extension, buffers are using the sRGB
color model and pre-multiplied alpha values.
</para>
</section>
<section id="sect-Protocol-Input">
<title>Input</title>