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§
- WpContent
Type V1 - content type object for a surface
Enums§
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