Skip to main content

bootstrap_zero_copy_pool

Function bootstrap_zero_copy_pool 

Source
pub(crate) fn bootstrap_zero_copy_pool(
    cap: &mut WlCapture,
    ring: Vec<(BufferObject<()>, Dmabuf)>,
    display_id: u32,
    encoder: FrameEncoder,
    egl_display: *const c_void,
    host: bool,
)
Expand description

Start a zero-copy capture’s encode thread on encoder, a session the calloop opened on the renderer’s EGL display, on ring’s render targets.