Module drm::control::crtc
[−]
[src]
CRTC
A CRTC is a display controller provided by your device. It's primary job is to take pixel data and send it to a connector with the proper resolution and frequencies.
Specific CRTCs can only be attached to connectors that have an encoder it supports. For example, you can have a CRTC that can not output to analog connectors. These are built in hardware limitations.
Each CRTC has a built in plane, which can be attached to a framebuffer. It can also use pixel data from other planes to perform hardware compositing.
Structs
Events |
Iterator over |
GammaRamp |
The hardware gamma ramp |
Handle |
A |
Info |
A |
PageFlipEvent |
Page Flip event |
VblankEvent |
Vblank event |
Enums
Event |
An event from a device. |
PageFlipFlags |
Flags to alter the behaviour of a page flip |
Functions
gamma |
Receive the currently set gamma ramp of a crtc |
move_cursor |
Moves a set cursor on a given crtc |
page_flip |
Queue a page flip on the given crtc. |
receive_events |
Receives all pending events of a given device and returns an Iterator for them. |
set |
Attaches a framebuffer to a CRTC's built-in plane, attaches the CRTC to a connector, and sets the CRTC's mode to output the pixel data. |
set_cursor |
Sets a hardware-cursor on the given crtc with the image of a given buffer |
set_cursor2 |
Sets a hardware-cursor on the given crtc with the image of a given buffer and a hotspot marking the click point of the cursor |
set_gamma |
Set a gamma ramp for the given crtc |