openpencil/crates/op-host-native
Kayshen-X e839c40770 perf(canvas): patch scene fill/stroke in place on colour-picker drag
A colour-picker drag rewrites doc fill on every mouse-move, so the scene
build cache (which compares the doc) rebuilt the whole layout — taffy + a
full SceneNode reshape — per drag frame, even though a solid colour change
touches no layout. Mirror the node-drag fast path: patch the anchor's
resolved scene fill / stroke via LayoutScene::set_node_fill /
set_node_stroke_color and invalidate the cache, skipping mark_dirty so the
patch survives the frame. Variable-mode, instance redirects, gradient-stop /
effect targets, and brand-new strokes fall back to the full rebuild.

Bumps vendor/jian to a86832d (the scene-patch methods). Native only; the
web host's live-sync push gate needs the same wiring once its spine settles.
2026-06-20 00:44:06 +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 refactor(rust): rename native + desktop hosts to op-host-* crates 2026-05-16 23:49:58 +08:00
src perf(canvas): patch scene fill/stroke in place on colour-picker drag 2026-06-20 00:44:06 +08:00
tests refactor(host): gate op-host-native GL stack behind opt-in gl-host feature 2026-06-19 17:47:34 +08:00
Cargo.toml refactor(host): rename op-web-daemon crate to op-host-services 2026-06-19 22:35:22 +08:00