Module wp_color_representation_surface_v1
Available on crate feature
wayland and Linux only.Expand description
color representation extension to a surface
A wp_color_representation_surface_v1 allows the client to set the color representation metadata of a surface.
By default, a surface does not have any color representation metadata set. The reconstruction of R, G, B signals on such surfaces is compositor implementation defined. The alpha mode is assumed to be premultiplied_electrical when the alpha mode is unset.
If the wl_surface associated with the wp_color_representation_surface_v1 is destroyed, the wp_color_representation_surface_v1 object becomes inert.
Structs§
- WpColor
Representation Surface V1 - color representation extension to a surface
Enums§
- Alpha
Mode - alpha mode
- Chroma
Location - Chroma sample location for 4:2:0 YCbCr
- Coefficients
- named coefficients
- Error
- protocol errors
- Event
- Range
- Color range values
- Request
Constants§
- REQ_
DESTROY_ OPCODE - The wire opcode for this request
- REQ_
DESTROY_ SINCE - The minimal object version supporting this request
- REQ_
SET_ ALPHA_ MODE_ OPCODE - The wire opcode for this request
- REQ_
SET_ ALPHA_ MODE_ SINCE - The minimal object version supporting this request
- REQ_
SET_ CHROMA_ LOCATION_ OPCODE - The wire opcode for this request
- REQ_
SET_ CHROMA_ LOCATION_ SINCE - The minimal object version supporting this request
- REQ_
SET_ COEFFICIENTS_ AND_ RANGE_ OPCODE - The wire opcode for this request
- REQ_
SET_ COEFFICIENTS_ AND_ RANGE_ SINCE - The minimal object version supporting this request