x11rb::protocol::dri3

Function pixmap_from_buffers

Source
pub fn pixmap_from_buffers<Conn>(
    conn: &Conn,
    pixmap: Pixmap,
    window: Window,
    width: u16,
    height: u16,
    stride0: u32,
    offset0: u32,
    stride1: u32,
    offset1: u32,
    stride2: u32,
    offset2: u32,
    stride3: u32,
    offset3: u32,
    depth: u8,
    bpp: u8,
    modifier: u64,
    buffers: Vec<RawFdContainer>,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,