repacks property
How many times the atlas layout has been repacked.
Set from GlassProxyPipeline.repacks for the same reason snapshots is:
the counter exists inside the pipeline and reached no report, so the one
thing a retained layout is for was unobservable from outside. D41
measured repacking every frame as the dominant cost of the whole route,
and the ratio to generation is the reading — 1.0 means nothing is
retained.
It has a question waiting for it: on Adreno the route's UI-thread cost grows with the divisor (1005 µs at 1 against 1665 at 8, where the GPU's goes the other way, D156), and a layout that churns at small slot sizes would explain it. Nothing here claims that — the counter is what makes the claim checkable.
Implementation
int repacks = 0;