Files
vectorcraft/crates/render
dotCooCoo 77a8a01375 Effects: a raster effect that looks across the whole object keeps its raster across pans
An effect that reads anywhere in its object (Torn Edges, Cutout, Radial Blur,
SVG filters) is filtered over the whole object at a lower resolution once the
object passes the pixel budget. That raster was stored cropped to the view, so
every pan missed it and filtered the object again: about one second a frame at
6400% in a 1280 x 800 view.

- The raster of the whole object is kept and drawn again after pans by whole
  device pixels, while its origin, scale and size match what a fresh render
  makes and the output grid also moves by whole pixels.
- Each frame draws it through a copy resampled to the view's pixels, kept for
  frames through the same view.
- When the effect cache is over budget, whole rasters give way to their view
  copies before any entry is evicted, and a copy that alone exceeds the budget
  is not made.
- The objects a render hides are part of a cached raster's inputs, so hiding a
  member of an object with a cached effect filters it again.
2026-12-04 14:15:31 -08:00
..