mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-14 14:22:39 +00:00
The canvas renders with RenderOptions::defer_images and keeps the image generation each texture was rendered at. Finished background decodes are taken up at most every 250 ms and not while a render is in flight, so a page of photos decoding one after another re-renders a few times instead of once per photo, and a newer request doesn't drop the render in flight before it is shown. The eyedropper still decodes the image it samples. Based on #2051 by texjer.