Docs: the 3D-bounds map's sweeps and bound, and the change in the parity doc's revision history

This commit is contained in:
Drew Dibble
2026-11-09 09:54:50 -07:00
parent bd779077e5
commit baa5bab2ea
2 changed files with 5 additions and 3 deletions
+4 -3
View File
@@ -176,9 +176,10 @@ pub struct Renderer {
pub(crate) pass_bounds: PtrMap<usize, (Arc<Node>, Option<Rect>)>,
/// The 3D effects' art among the art `fx_art` made, by its address, with the art (weakly: what
/// keeps the art is `fx_arts` and `measured`) and its bounds once measured. An entry is added
/// for every 3D art made, measured or not, and entries whose art is gone are swept when the map
/// reaches twice the size it kept at the last sweep (at least 1024), so it holds at most about
/// twice the live 3D art plus 1024 entries. Until swept, an entry's weak pointer keeps the art's
/// for every 3D art made, measured or not. Entries whose art is gone are swept when a frame
/// ends (`let_go_of_measured`) and, for a renderer that only measures, when the map reaches
/// twice the size it kept at the last sweep (at least 1024): it holds at most max(twice the
/// entries kept at the last sweep, 1024). Until swept, an entry's weak pointer keeps the art's
/// allocation (not its contents) alive.
three_d_bounds: PtrMap<usize, ThreeDArt>,
/// How many entries `three_d_bounds` kept when it last let go of the art no longer held: it