mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 05:50:09 +01:00
single-pixel-buffer-v1: clarify create_u32_rgba_buffer
Signed-off-by: Caitlyn Stewart <caitlynrosestewart@gmail.com>
This commit is contained in:
parent
3718d0077b
commit
c855c8725b
1 changed files with 7 additions and 0 deletions
|
|
@ -58,6 +58,13 @@
|
||||||
pre-multiplied alpha.
|
pre-multiplied alpha.
|
||||||
|
|
||||||
The width and height of the buffer are 1.
|
The width and height of the buffer are 1.
|
||||||
|
|
||||||
|
The r, g, b and a arguments valid range is from UINT32_MIN (0)
|
||||||
|
to UINT32_MAX (0xffffffff).
|
||||||
|
|
||||||
|
These arguments should be interpreted as a percentage, i.e.
|
||||||
|
- UINT32_MIN = 0% of the given color component
|
||||||
|
- UINT32_MAX = 100% of the given color component
|
||||||
</description>
|
</description>
|
||||||
<arg name="id" type="new_id" interface="wl_buffer"/>
|
<arg name="id" type="new_id" interface="wl_buffer"/>
|
||||||
<arg name="r" type="uint" summary="value of the buffer's red channel"/>
|
<arg name="r" type="uint" summary="value of the buffer's red channel"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue