Skip to main content

alloc_zero_copy_ring

Function alloc_zero_copy_ring 

Source
pub(crate) fn alloc_zero_copy_ring(
    gbm: &Device<File>,
    settings: &CaptureSettings,
    display_id: u32,
) -> Option<Vec<(BufferObject<()>, Dmabuf)>>
Expand description

WL_POOL_SURFACES zero-copy render targets the size of the capture, or None where the GPU refuses one.