Index projected node paint overflow for conservative viewport retention
This commit is contained in:
@@ -309,3 +309,15 @@ The application uses it for CanvasView sessions. Pointerup reads its final event
|
||||
and commits through the engine synchronously; persistence and Root notifications
|
||||
are not frame-throttled. This does not implement paint extent indexing or selective
|
||||
per-element drawing: dirty keys currently schedule a view notification.
|
||||
|
||||
Node paint overflow:
|
||||
|
||||
`createPaintIndex` owns a rebuildable view-space grid of rectangles, with bounded
|
||||
cell expansion and oversized fallbacks. `projectedPaintOverflow` asks node geometry
|
||||
for the `paint` role separately from logical/hit geometry, transforms its bounds
|
||||
into scene space, and reports failed handlers conservatively. CanvasView queries
|
||||
the overflow index against the live viewport; visible overflow or unknown bounds
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user