Files
designcraft/crates/render/src
dotCooCoo b018151978 Images: count the cached levels of an image in view once when warming
When an image in view lacked a level for one of its drawings, warm left
it to decode and counted its decode estimate, but also kept its cached
levels in the bytes of other images, so a decode that fit could be left
to the render. The levels the estimate covers (the levels drawn for a
full decode, the levels from the one read from the blocks to the one
drawn for a reduced JPEG) now count only with the image; other cached
levels stay with the other images. A JPEG without a reduced estimate
(CMYK) is counted at its full decode, and so are its levels. The
estimates are worked out only for the images that still need decoding,
after the check that two or more do.

The one-at-a-time test checks the peak against the two values the
thread timing allows: one large reservation, or one large and the small
image's.
2026-11-14 13:59:30 +00:00
..
…
…
…
…