Files
effectcraft/crates/keyframe
Dylan M. Taylor 8d46e1df7f Gradients: bound the stops sampled per pixel (#2950)
* Gradients: bound the stops sampled per pixel

Gradient sampling scans the stops linearly and shape painting samples once
per pixel, so a gradient with a huge stop list multiplied every frame's
work. Sampling now looks at the first 256 colour and opacity stops, and the
plain JSON form (coerce_json) refuses gradients with more than 256.

* address review: bound tagged gradients to the stop limit
2026-11-10 17:59:59 -05:00
..