CGxDeviceOpenGl::PoolSizeSet
function · gx · host
- Address
0x58ea30· 203 bytes, up to0x58eafa- Signature
void __thiscall (CGxDeviceOpenGl *this, CGxPool *pool, uint32_t size)- Meaning
- Gives a pool storage of a new size: its buffer object's data, or new system memory
- Confidence
- verified, proof one
- Finding
- gx/slots#buffer-and-texture-slots
Finding: Buffer and texture slots in gx: the device's virtual slots
A pool (CGxPool) is a block of vertex or index memory and a buffer (CGxBuf) a range of
one; device.md has the two stream pools. Textures are CGxTexture records (textures.md).
| slot | name | base | OpenGl | Direct3D | does |
|---|---|---|---|---|---|
+0xa0 | PoolSizeSet | pure | 0x58ea30 | 0x59a480 | gives a pool storage of a new size |
+0xa4 | DestroyPool | 0x594840 | 0x58eb00 | 0x59a4b0 | frees a pool's storage, its buffers and the pool |
+0xa8 | LockBuffer | 0x594690 | 0x58eb20 | 0x59a690 | returns writable memory for a buffer and marks it locked |
+0xac | UnlockBuffer | 0x5946c0 | 0x58ed10 | 0x59a720 | ends the write and adds its bytes to +0xa8 |
+0xb0 | WriteBuffer | 0x594660 | 0x58ee10 | 0x59a750 | copies data into a buffer at an offset |
+0xb4 | CreateTexture | 0x594a80 | base | 0x5a0810 | makes a texture record (textures.md) |
+0xb8 | CreateTexture2D | 0x594980 | 0x59f140 | 0x5a07e0 | makes a two-dimensional texture record from seven arguments |
+0xbc | DestroyTexture | 0x594e60 | 0x59f810 | 0x5a0850 | frees the API texture, unlinks and frees the record |
+0xc0 | CopyToTexture | pure | 0x59fb80 | 0x5a0de0 | copies a rectangle of the render target into a texture level |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- GxDebugOutputStub gx
- 0x594440 gx
- CGxDeviceOpenGl::SetCachedState gx
- SMemAlloc storm
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.