crispyconv

Function create_gbm_dmabuf

Source
pub(crate) fn create_gbm_dmabuf(
    egl: &ContextRef,
    (width, height): (u32, u32),
    format: Format,
    setup: impl FnOnce(BufferObject<()>) -> Result<BufferObject<()>, Box<dyn Error>>,
) -> Result<OwnedDmabufImage, Box<dyn Error>>