pub fn add_fb(
fd: BorrowedFd<'_>,
width: u32,
height: u32,
pitch: u32,
bpp: u32,
depth: u32,
handle: u32,
) -> Result<drm_mode_fb_cmd>
Expand description
Add a new framebuffer.
pub fn add_fb(
fd: BorrowedFd<'_>,
width: u32,
height: u32,
pitch: u32,
bpp: u32,
depth: u32,
handle: u32,
) -> Result<drm_mode_fb_cmd>
Add a new framebuffer.