Codebase list wayland / 6aa838e
protocol: add a comment about the wl_shm.format script Add a comment to wl_shm.format to advise contributors to use the automated script (generate-shm-formats.py) instead of updating the list manually. Signed-off-by: Simon Ser <contact@emersion.fr> Simon Ser authored 4 years ago Héctor Orón Martínez committed 4 years ago
1 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
292292 formats are optional and may not be supported by the particular
293293 renderer in use.
294294
295 The drm format codes match the macros defined in drm_fourcc.h.
296 The formats actually supported by the compositor will be
297 reported by the format event.
298 </description>
295 The drm format codes match the macros defined in drm_fourcc.h, except
296 argb8888 and xrgb8888. The formats actually supported by the compositor
297 will be reported by the format event.
298 </description>
299 <!-- Note to protocol writers: don't update this list manually, instead
300 run the automated script that keeps it in sync with drm_fourcc.h. -->
299301 <entry name="argb8888" value="0" summary="32-bit ARGB format, [31:0] A:R:G:B 8:8:8:8 little endian"/>
300302 <entry name="xrgb8888" value="1" summary="32-bit RGB format, [31:0] x:R:G:B 8:8:8:8 little endian"/>
301303 <entry name="c8" value="0x20203843" summary="8-bit color index format, [7:0] C"/>