#[repr(u64)]pub enum ClientCapability {
Stereo3D = 1,
UniversalPlanes = 2,
Atomic = 3,
AspectRatio = 4,
WritebackConnectors = 5,
CursorPlaneHotspot = 6,
}
Expand description
Used to enable/disable capabilities for the process.
Variants§
Stereo3D = 1
The driver provides 3D screen control
UniversalPlanes = 2
The driver provides more plane types for modesetting
Atomic = 3
The driver provides atomic modesetting
AspectRatio = 4
If set to 1, the DRM core will provide aspect ratio information in modes.
WritebackConnectors = 5
If set to 1, the DRM core will expose special connectors to be used for writing back to memory the scene setup in the commit.
The client must enable Self::Atomic
first.
CursorPlaneHotspot = 6
Drivers for para-virtualized hardware have additional restrictions for cursor planes e.g. they need cursor planes to act like one would expect from a mouse cursor and have correctly set hotspot properties. If this client cap is not set the DRM core will hide cursor plane on those virtualized drivers because not setting it implies that the client is not capable of dealing with those extra restictions. Clients which do set cursor hotspot and treat the cursor plane like a mouse cursor should set this property.
The client must enable Self::Atomic
first.
Trait Implementations§
Source§impl Clone for ClientCapability
impl Clone for ClientCapability
Source§fn clone(&self) -> ClientCapability
fn clone(&self) -> ClientCapability
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more