Cesium quads: the blob a quad draws is held by its material, not the quad, so a quad that moves to another source lets the old blob go once the old material is freed after the frame; a change to or from a blob-backed image takes a material of its own

This commit is contained in:
Sameh Khamis committed 2026-11-11 20:56:47 -08:00
1 parent 9549e561e5
commit d440f5bfaf
3 files changed
+78 -7

No files matched your search

+5 -3
View File
@@ -160,9 +160,11 @@ draws each.
The Cesium port takes every kind of `ImageRef` wherever an image is drawn
(icons on billboards and on the GPU, line patterns, shape fills, quads and
raster shells): a URL, SVG, a blob (by an object URL made once per blob,
revoked once the blob itself has been collected; a material or quad drawing
a blob holds it while it lives, since a material loads its image on its first
draw, even after the atlas slot it came from has a new one), a
revoked once the blob itself has been collected; a material drawing a blob,
a quad's among them, holds it while it lives, since a material loads its image
on its first draw, even after the atlas slot it came from has a new one; a
quad given another source lets the old blob go with its old material, once the
frame has drawn), a
keyed canvas, and an atlas slot as the image it holds (an icon waits for an
unregistered slot; anything else refuses it). The check `draw.icons.images`
draws each kind on still and receding icons.