Skip to main content

coalesce_regions

Function coalesce_regions 

pub fn coalesce_regions(regions: Vec<FineDamageRect>) -> Vec<FineDamageRect>
Expand description

Merge only overlap/touching damage whose bounding union costs no more pixels than the independent passes. The cap bounds the repeated-pair scan while preserving far-apart scrollbars and overlays.