Files
AFFiNE/packages
DarkSky 657a2b0b03 perf(ui): skip paint operations on the rounded clip root scene
The rounded clip compiler replays the frame into a scratch root scene.
It then replaces the operation stream of that scene with the original
stream. Before this change, the root scene recorded each operation
again, and the compiler discarded that copy without a read.

Add a private flag on `Scene` that stops the recording, and set it only
on the scratch root scene. Child clip scenes keep their streams, because
the empty-group check reads them. The compiler clears the flag before it
returns the scene.
2026-12-04 08:16:47 +09:00
..