idBlockAlloc< vertCache_t, 1024 > headerAllocator
static idCVar r_showVertexCache
struct vertCache_s * next
vertCache_t freeDynamicHeaders
struct vertCache_s * prev
int dynamicCountThisFrame
void InitMemoryBlocks(int size)
GLsizei GLsizei GLenum GLenum const GLvoid * data
void Touch(vertCache_t *buffer)
vertCache_t dynamicHeaders
static idCVar r_vertexBufferMegs
vertCache_t * AllocFrameTemp(void *data, int bytes)
idVertexCache vertexCache
void ActuallyFree(vertCache_t *block)
struct vertCache_s ** user
vertCache_t * tempBuffers[NUM_VERTEX_FRAMES]
vertCache_t freeStaticHeaders
void Alloc(void *data, int bytes, vertCache_t **buffer, bool indexBuffer=false)
void * Position(vertCache_t *buffer)
const int NUM_VERTEX_FRAMES
int dynamicAllocThisFrame
void Free(vertCache_t *buffer)
vertCache_t staticHeaders
typedef GLuint(APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC)(GLsizei range)
struct vertCache_s vertCache_t
bool allocatingTempBuffer
vertCache_t deferredFreeList