Skip to main content

reconcile_host_layouts

Function reconcile_host_layouts 

Source
pub(crate) fn reconcile_host_layouts(state: &mut AppState)
Expand description

Settle the host layout requests answered since the last tick, against the mode each host announced. A host already running the requested size needs nothing: the capture was configured for it and its frames flow. A host running anything else — a request it refused, acknowledged without applying, or never answered by the deadline, and a host with no layout management at all — has the capture re-sized to that mode through the same in-place reconfigure a resize takes, so it never gates on a size the host will not produce, and the mismatch becomes the capture’s caveat. Geometry readers parked behind a request answer once it is settled, with the size actually captured.