Skip to main content

assign_streams

Function assign_streams 

Source
fn assign_streams(
    streams: &[PortalStream],
    geoms: &[OutputGeom],
) -> Vec<Option<usize>>
Expand description

Which portal stream backs each output rank: the stream announcing the output’s position, else the one announcing its logical size when that is unambiguous, else the stream at the same index (a backend that sends no geometry lists monitors in its output order).