Commit 5a1577b6 authored by Simon Ser's avatar Simon Ser

protocol: add a note about the wl_shm.format script

Add a note to wl.shm_format's description to advise contributors to use the
automated script (generate-shm-formats.py) instead of updating the list
manually.
Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
parent 399b5be3
......@@ -293,9 +293,12 @@
formats are optional and may not be supported by the particular
renderer in use.
The drm format codes match the macros defined in drm_fourcc.h.
The formats actually supported by the compositor will be
reported by the format event.
The drm format codes match the macros defined in drm_fourcc.h, except
argb8888 and xrgb8888. The formats actually supported by the compositor
will be reported by the format event.
Note to protocol writers: don't update this list manually, instead run
the automated script that keeps it in sync with drm_fourcc.h.
</description>
<entry name="argb8888" value="0" summary="32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian"/>
<entry name="xrgb8888" value="1" summary="32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment