Skip to main content

release_scanout_inflight

Function release_scanout_inflight 

Source
pub(crate) fn release_scanout_inflight(cap: &mut WlCapture, all: bool)
Expand description

Let go of the client buffers encoded as they stood that no frame in flight reads anymore (WlCapture::scanout_inflight), or all of them (all) where the capture or its zero-copy session is going away: the last hold on one releases it to its client.