mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-28 18:22:06 +01:00
- A layer about the canvas's size keeps its whole effect region even where it overhangs the edge, so the region keeps its size while the layer is dragged and the GPU moves its effect maps with it instead of rebuilding the shape, distance fields and every effect each frame. - Surface::translated moves a surface by copying encoded tile bytes tile to tile (no float round trip, no full-size intermediate; whole-tile moves share the tiles): 2.3x faster than to_interleaved + write_interleaved. Used by layer.translate, Move tool drags and algo::resample::translate_surface. - perf_scenarios: Move tool drag frame rows (styled layer, full-canvas layer with and without a drop shadow). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>