Retain projected paint geometry and grid across view updates
This commit is contained in:
@@ -321,3 +321,10 @@ suspend native culling so extended paint is retained. This currently disables
|
||||
culling for the view rather than selectively retaining one node. Geometry
|
||||
extensions must declare their paint extent; undeclared DOM overflow cannot be
|
||||
inferred. Edge/overlay paint indexing and region-based drawing remain separate work.
|
||||
|
||||
`createProjectedPaintIndex` retains the grid per engine/view and caches each node's
|
||||
paint result by projected node identity, immutable record identity and canvas
|
||||
transform. Unchanged nodes reuse their geometry result; removed nodes release
|
||||
cache entries. Viewport queries reuse the grid. `clear()` discards it. The cache
|
||||
still scans projected nodes and synchronizes rectangle membership; it is not a
|
||||
claim of constant-time full-frame updates or complete region-based drawing.
|
||||
|
||||
Reference in New Issue
Block a user