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§

WpColorRepresentationSurfaceV1
color representation extension to a surface

Enums§

AlphaMode
alpha mode
ChromaLocation
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