mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 08:10:07 +01:00
Merge branch 'mr/chromaloc' into 'main'
staging/color-representation: set_chroma_location vs. pixel format See merge request wayland/wayland-protocols!468
This commit is contained in:
commit
78b3a3f3d4
1 changed files with 5 additions and 4 deletions
|
|
@ -417,14 +417,15 @@
|
||||||
An invalid chroma location enum value raises the "chroma_location"
|
An invalid chroma location enum value raises the "chroma_location"
|
||||||
protocol error.
|
protocol error.
|
||||||
|
|
||||||
A call to wl_surface.commit verifies that the pixel format and chroma
|
|
||||||
location type in the committed surface contents are compatible, if
|
|
||||||
contents exist. The "pixel_format" protocol error is raised otherwise.
|
|
||||||
|
|
||||||
For the definition of the supported chroma location types, see the
|
For the definition of the supported chroma location types, see the
|
||||||
wp_color_representation_surface_v1::chroma_location enum.
|
wp_color_representation_surface_v1::chroma_location enum.
|
||||||
|
|
||||||
The chroma location type is double-buffered, see wl_surface.commit.
|
The chroma location type is double-buffered, see wl_surface.commit.
|
||||||
|
|
||||||
|
If the pixel format is not 4:2:0 sub-sampled at the time
|
||||||
|
of wl_surface.commit, the chroma location is not used for rendering
|
||||||
|
the surface until a 4:2:0 sub-sampled pixel format is committed on
|
||||||
|
the surface.
|
||||||
</description>
|
</description>
|
||||||
<arg name="chroma_location" type="uint" enum="chroma_location"
|
<arg name="chroma_location" type="uint" enum="chroma_location"
|
||||||
summary="chroma sample location"/>
|
summary="chroma sample location"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue