Skip to main content

decode_gles_cursor

Function decode_gles_cursor 

Source
fn decode_gles_cursor(
    width: i32,
    height: i32,
    raw_bytes: &[u8],
) -> Option<RgbaImage>
Expand description

Read a dmabuf sprite’s RGBA readback (stride recovered from the mapping length) into a premultiplied RGBA image.