[go: up one dir, main page]

Function drm::control::crtc::page_flip [] [src]

pub fn page_flip<T>(
    device: &T,
    handle: Handle,
    fb: FBHandle,
    flags: &[PageFlipFlags]
) -> Result<()> where
    T: Device

Queue a page flip on the given crtc.

On the next vblank the given framebuffer will be attached to the crtc and an event will be triggered by the device, which will be indicated by it's fd becoming readable. The event can be received using handle_event.