mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Clip restoration works with a single draw call: - When clip paths are added, they increase the stencil height only if the stencil matches the current depth. So higher depths are always a subset of lower depths. - When popping the canvas stack, an entity is appended to run a draw call which max bounds the stencil to the previous depth. Fixes flutter/flutter#98631.