Struct libdrm::MasterRef [] [src]

pub struct MasterRef<'a, T>(_)
where
    T: 'a + Device
;

A simple handle to the DRM Master lock. This can be generated by any object that implements the UnprivilegedDevice trait.

Trait Implementations

impl<'a, T: Debug> Debug for MasterRef<'a, T> where
    T: 'a + Device
[src]

Formats the value using the given formatter.

impl<'a, T> AsRawFd for MasterRef<'a, T> where
    T: 'a + Device
[src]

Extracts the raw file descriptor. Read more

impl<'a, T> Device for MasterRef<'a, T> where
    T: 'a + Device
[src]

Generates and returns a magic token unique to the current process. This token can be used to authenticate with the DRM Master. Read more

Tells the DRM device whether we understand or do not understand a particular capability. Some features, such as atomic modesetting, require informing the device that the process can use such features before it will expose them. Read more

impl<'a, T> MasterDevice for MasterRef<'a, T> where
    T: 'a + Device
[src]

impl<'a, T> Control for MasterRef<'a, T> where
    T: 'a + Device
[src]

Attempts to read the list of all resource ids.

Attempts to read the list of all plane ids.

Attempts to get a connector given its id.

Attempts to get an encoder given its id.

Attempts to get a crtc given its id.

Attempts to get a framebuffer given its id.

Attempts to get a plane given its id.

Attempts to get a Crtc's Gamma Lookup Table (LUT) given its CrtcId.

impl<'a, T> MasterControl for MasterRef<'a, T> where
    T: 'a + Device
[src]

Applies a Crtc to a Framebuffer and outputs it on a list of Connectors.