CGxDeviceOpenGl::CreatePoolAPI
function · gx · primitive
- Address
0x58e7e0· 287 bytes, up to0x58e8fe- Signature
void __thiscall (CGxDeviceOpenGl *this, void *pool)- Meaning
- Backs a pool with a VBO broker, one buffer object or system memory, by its kind and usage
- Confidence
- verified, proof one
- Finding
- gx/opengl#pool-buffers-and-the-broker
Finding: Pool buffers and the broker in gx: the OpenGL context and extensions
CGxDeviceOpenGl::CreatePoolAPI(pool) backs a pool with system memory of its size when buffer
objects are off. Otherwise, by the pool's kind (0 vertex, 1 index) and usage, a device table
chooses a broker, one buffer object of the pool's size, or system memory. A broker holds, for each
power-of-two size 2^k from 2^12 bytes to 2^20 (vertex) or 2^17 (index), 1200 >> (k − 10) buffers
above 2^12, 1200 at 2^12 and 32 at 2^18, each given its size with no data and GL_STREAM_DRAW_ARB.
The derivation is in the doc.
Callers 3
Callees 4
Calls and jumps by a bare address, from tables/calls.tsv.