Module wp_content_type_v1

Available on crate feature wayland and Linux only.
Expand description

content type object for a surface

The content type object allows the compositor to optimize for the kind of content shown on the surface. A compositor may for example use it to set relevant drm properties like “content type”.

The client may request to switch to another content type at any time. When the associated surface gets destroyed, this object becomes inert and the client should destroy it.

Structs§

WpContentTypeV1
content type object for a surface

Enums§

Event
Request
Type
possible content types

Constants§

REQ_DESTROY_OPCODE
The wire opcode for this request
REQ_DESTROY_SINCE
The minimal object version supporting this request
REQ_SET_CONTENT_TYPE_OPCODE
The wire opcode for this request
REQ_SET_CONTENT_TYPE_SINCE
The minimal object version supporting this request