Struct drm::mode::DumbBuf [] [src]

pub struct DumbBuf { /* fields omitted */ }

Methods

impl DumbBuf
[src]

Creates, maps and adds a dumb buf. I have not checked if it's wise to do all 3 or let the client deal with it. But it does mean we don't have to deal holding onto the device or the potential error of mapping on the wrong device.

Not sure what this used for other than creating/mapping the frame buffer.

(width, height) in pixels

Bits per pixel

Bytes per row

Access the buffer.

Access the Fb object associated with this.