mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-29 01:34:37 +01:00
Every finished render was converted to a texture image and uploaded whole: after an edit that redrew a part of the view, all of the view and its margin again, every frame of a drag. The retained renderer now says where a patched image differs from the one before (nothing after a full render or a pan, which moves every pixel), the browser's worker numbers its images and is told which one the canvas's texture holds, and a render that only patches that image hands over the patches, which go onto the texture in place. The image around the view and the desktop's render thread hand over whole images, as before.