openpencil/crates/op-host-native
Kayshen-X 76b408ca98 perf(editor): skip the layout-scene rebuild when its inputs are unchanged
editor_state_to_layout_scene is a pure function of the document, the
authored-geometry latch, the active page index, and the resolved variable table
(active theme + ref caches) — it drops selection / hover / chat / viewport. But
the hosts mark the scene dirty on nearly every interaction, and the worst case —
streamed chat / codegen deltas — re-ran a full taffy solve + whole-tree
SceneNode re-allocation once per animation frame for content that never touches
the canvas. New op-pen-loader SceneBuildCache content-compares those inputs and
skips the rebuild when they match (no hand-maintained revision counter, so no
mutation can leave a stale scene). Wired into both hosts' refresh_layout_scene.
2026-06-19 16:35:16 +08:00
..
assets fix(web): use browser fonts in canvaskit shell 2026-06-19 02:39:34 +08:00
examples feat(desktop): adopt the casement winit fork 2026-05-18 21:45:09 +08:00
notes
src perf(editor): skip the layout-scene rebuild when its inputs are unchanged 2026-06-19 16:35:16 +08:00
tests feat(ai): polish rust design agent workflow 2026-06-15 21:19:18 +08:00
Cargo.toml feat(editor): a11y + single-instance + layer-panel Rust↔TS parity 2026-06-18 22:18:07 +08:00