wayland/protocol
Manuel Stoeckl fd4c96011e protocol: specify exact multiplanar layout for wl_shm
This change calculates multiplanar buffer plane strides so that,
if the first plane is tightly packed, the other planes are also
tightly packed. Matching Vulkan's constraints on multiplanar formats,
it requires the width/height/stride parameters are divisible as
neccesary to avoid ever needing to round subsampled pixels.

This is technically a breaking change, but very few clients and
and compositors implemented and used multiplanar shm formats.
For a given format, those that do either agree with the new
calculations or disagree with each other.

Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
2025-04-18 09:29:51 -04:00
..
.gitignore Update .gitignore for protocol/ 2013-11-19 13:26:04 -08:00
generate-shm-formats.py Add an automated script to update wl_shm.format 2019-09-06 12:09:22 +00:00
tests.xml Replace initial 8 spaces with a tab for all xml files 2020-04-29 12:21:33 +00:00
wayland.dtd Add support for the deprecated-since XML attribute 2024-04-24 16:18:28 +00:00
wayland.xml protocol: specify exact multiplanar layout for wl_shm 2025-04-18 09:29:51 -04:00