Enum drm::DriverCapability
source · [−]#[repr(u64)]
pub enum DriverCapability {
Show 13 variants
DumbBuffer,
VBlankHighCRTC,
DumbPreferredDepth,
DumbPreferShadow,
Prime,
MonotonicTimestamp,
ASyncPageFlip,
CursorWidth,
CursorHeight,
AddFB2Modifiers,
PageFlipTarget,
CRTCInVBlankEvent,
SyncObj,
}
Expand description
Used to check which capabilities your graphics driver has.
Variants
DumbBuffer
DumbBuffer support for scanout
VBlankHighCRTC
Unknown
DumbPreferredDepth
Preferred depth to use for dumb buffers
DumbPreferShadow
Unknown
Prime
PRIME handles are supported
MonotonicTimestamp
Unknown
ASyncPageFlip
Asynchronous page flipping support
CursorWidth
Width of cursor buffers
CursorHeight
Height of cursor buffers
AddFB2Modifiers
Create framebuffers with modifiers
PageFlipTarget
Unknown
CRTCInVBlankEvent
Uses the CRTC’s ID in vblank events
SyncObj
SyncObj support
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DriverCapability
impl Send for DriverCapability
impl Sync for DriverCapability
impl Unpin for DriverCapability
impl UnwindSafe for DriverCapability
Blanket Implementations
Mutably borrows from an owned value. Read more