Companion
Process-wide GPU/native bookkeeping shared by every TileCache instance: the shared textureUnits pool, bind-slot recycling, and the global per-frame GPU bind budget. Kept here rather than per-instance because texture units are a single scarce GPU resource shared across all layers/sources, and must survive across MapView instances in the same process.
Properties
Total number of GPU texture-unit slots handed out via takeBindSlot since the last oneTimeCacheSetup reset; also the next slot index to allocate once freeBindSlots is empty.
Count of exceptions caught while binding textures in bindTextures (e.g. concurrent-modification races), used for diagnostic logging.
True once oneTimeCacheSetup has generated textureUnits at least once for the current EGL context; a repeat call is a no-op unless the context has since changed.
Snapshot of bindCount from the previous memoryLog call, used to only log memory usage when a new bind has actually occurred.
Number of tile×time entries currently resident in nativeCache across all TileCache instances; used only for diagnostic logging (see memoryLog).