diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-11-11 19:47:14 -0500 |
---|---|---|
committer | Manuel Stoeckl <code@mstoeckl.com> | 2021-11-11 20:15:22 -0500 |
commit | 1638dad6137d7dd26a4a8c5d931bbb5c52dda46c (patch) | |
tree | 8c6d92c3324d6f9bef8f1290b08a59069b25051e /protocol | |
parent | 5420619f91e07d440f77db5ab0edf662a8d46479 (diff) | |
download | wayland-1638dad6137d7dd26a4a8c5d931bbb5c52dda46c.tar.gz |
protocol: sync wl_shm.format with libdrm 2.4.108
The four new formats added (all 16 bpc, RGB colorspace) are very useful
for applications providing high bit depth content and rendering their
buffers on CPU, as computations with 16 bit unsigned integers are often
more efficient than with the (half float, 10 bit) alternative formats.
Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wayland.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 4e59c3a..89e6aab 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -406,6 +406,10 @@ <entry name="nv15" value="0x3531564e" summary="2x2 subsampled Cr:Cb plane"/> <entry name="q410" value="0x30313451"/> <entry name="q401" value="0x31303451"/> + <entry name="xrgb16161616" value="0x38345258" summary="[63:0] x:R:G:B 16:16:16:16 little endian"/> + <entry name="xbgr16161616" value="0x38344258" summary="[63:0] x:B:G:R 16:16:16:16 little endian"/> + <entry name="argb16161616" value="0x38345241" summary="[63:0] A:R:G:B 16:16:16:16 little endian"/> + <entry name="abgr16161616" value="0x38344241" summary="[63:0] A:B:G:R 16:16:16:16 little endian"/> </enum> <request name="create_pool"> |