Skip to main content

SurfaceFrameSink

Type Alias SurfaceFrameSink 

Source
pub type SurfaceFrameSink = Arc<Mutex<HashMap<SurfaceId, Vec<u8>>>>;
Expand description

The multi-surface analogue of FrameSink: each surface’s final frame keyed by its SurfaceId. Passed via HeadlessPlatform::capture_surfaces_into and read after MultiSurfacePlatform::run_surfaces returns.

Aliased Type§

pub struct SurfaceFrameSink { /* private fields */ }