mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
Add a pre-computed `has_empty_effective_clip` flag on AccumulatedVisualContext that propagates from parent to child. When a clip rect or clip path has zero area, all descendant commands are skipped at display list recording time in `DisplayList::append()`, so they are never stored or executed. This allows skipping ~10% of display list commands in the Discord app.