CSimpleTop::CompactStrata
function · ui · primitive
- Address
0x764eb0· 350 bytes, up to0x76500d- Meaning
- Closes runs of empty levels in a stratum by lowering higher frames and trims the in-use count
- Confidence
- verified, proof two
- Finding
- ui/strata#raising-a-frame
- Test
ui::level_compact,ui::level_compact_ignores_visibility,ui::level_compact_leaves_interior_gaps
Finding: Raising a frame in ui: strata, levels and the per-frame passes
Raising a frame acts on it or its nearest ancestor with the toplevel flag (bit 1 of +0xb4);
without one nothing happens. With the overlap check, the frame is first laid out if needed and
bit 0x10 is set when any frame at the same or a higher level of its stratum, other than itself and
its descendants, has a rectangle that intersects its own with positive area. When bit 0x10 is
set, the stratum's levels are compacted and the frame moves to the level just above the highest
in use, its children following. Lower does nothing.
The derivation is in the doc.
Callers 1
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.