@@ -310,6 +310,24 @@ pub enum ClientCapability {
310
310
UniversalPlanes = drm_ffi:: DRM_CLIENT_CAP_UNIVERSAL_PLANES as u64 ,
311
311
/// The driver provides atomic modesetting
312
312
Atomic = drm_ffi:: DRM_CLIENT_CAP_ATOMIC as u64 ,
313
+ /// If set to 1, the DRM core will provide aspect ratio information in modes.
314
+ AspectRatio = drm_ffi:: DRM_CLIENT_CAP_ASPECT_RATIO as u64 ,
315
+ /// If set to 1, the DRM core will expose special connectors to be used for
316
+ /// writing back to memory the scene setup in the commit.
317
+ ///
318
+ /// The client must enable [`Self::Atomic`] first.
319
+ WritebackConnectors = drm_ffi:: DRM_CLIENT_CAP_WRITEBACK_CONNECTORS as u64 ,
320
+ /// Drivers for para-virtualized hardware have additional restrictions for cursor planes e.g.
321
+ /// they need cursor planes to act like one would expect from a mouse
322
+ /// cursor and have correctly set hotspot properties.
323
+ /// If this client cap is not set the DRM core will hide cursor plane on
324
+ /// those virtualized drivers because not setting it implies that the
325
+ /// client is not capable of dealing with those extra restictions.
326
+ /// Clients which do set cursor hotspot and treat the cursor plane
327
+ /// like a mouse cursor should set this property.
328
+ ///
329
+ /// The client must enable [`Self::Atomic`] first.
330
+ CursorPlaneHotspot = drm_ffi:: DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT as u64 ,
313
331
}
314
332
315
333
/// Used to specify a vblank sequence to wait for
0 commit comments