TexturePoolRelease
function · gx · primitive
- Address
0x448670· 435 bytes, up to0x448822- Signature
void __fastcall (void *arg1)- Meaning
- Returns a device texture to its size-class pool, or destroys it when its size does not qualify
- Confidence
- verified, proof one
- Finding
- gx/texturesize#pool-lists
Finding: Pool lists in gx: texture sizes and formats
A request that takes the pool reads list log2(width / 32) * 5 + log2(height / 32) of the 25 at 0xb05bec, 12 bytes each with the first free texture's link at +4. It reuses the first free texture whose flags agree in the low three bits (the filter mode) and whose format equals format: the data format, the owner, the callback and the flags are set on it, it moves to the busy list and is returned; with no match a new texture is made. 0x448670 returns a texture to its class when the sizes qualify, stamped with the time (0x42c010), else destroys it. 0x448ec0 destroys pooled textures idle more than 30000 ms.
The derivation is in the doc.
Callers 2
- CTexture::~CTexture gx
- 0x599720 gx
Callees 9
- OsGetAsyncTimeMs core
- 0x44be30 gx
- 0x44c490 gx
- 0x44c4c0 gx
- CGxTexFlags::CGxTexFlags gx
- GxTexSetCallback gx
- GxTexDestroy gx
- GxTexGetDesc gx
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.