pub fn add_fb2(
fd: BorrowedFd<'_>,
width: u32,
height: u32,
fmt: u32,
handles: &[u32; 4],
pitches: &[u32; 4],
offsets: &[u32; 4],
modifier: &[u64; 4],
flags: u32,
) -> Result<drm_mode_fb_cmd2>
Expand description
Add a new framebuffer (with modifiers)