doom3-gpl
Doom 3 GPL source release
|
#include <VertexCache.h>
Public Member Functions | |
void | Init () |
void | Shutdown () |
bool | IsFast () |
void | PurgeAll () |
void | Alloc (void *data, int bytes, vertCache_t **buffer, bool indexBuffer=false) |
void * | Position (vertCache_t *buffer) |
void | UnbindIndex () |
vertCache_t * | AllocFrameTemp (void *data, int bytes) |
void | Touch (vertCache_t *buffer) |
void | Free (vertCache_t *buffer) |
void | EndFrame () |
void | List () |
Private Member Functions | |
void | InitMemoryBlocks (int size) |
void | ActuallyFree (vertCache_t *block) |
Static Private Attributes | |
static idCVar | r_showVertexCache |
static idCVar | r_vertexBufferMegs |
Definition at line 55 of file VertexCache.h.
|
private |
Definition at line 57 of file VertexCache.cpp.
void idVertexCache::Alloc | ( | void * | data, |
int | bytes, | ||
vertCache_t ** | buffer, | ||
bool | indexBuffer = false |
||
) |
Definition at line 227 of file VertexCache.cpp.
vertCache_t * idVertexCache::AllocFrameTemp | ( | void * | data, |
int | bytes | ||
) |
Definition at line 370 of file VertexCache.cpp.
void idVertexCache::EndFrame | ( | ) |
Definition at line 437 of file VertexCache.cpp.
void idVertexCache::Free | ( | vertCache_t * | buffer | ) |
Definition at line 336 of file VertexCache.cpp.
Definition at line 153 of file VertexCache.cpp.
bool idVertexCache::IsFast | ( | ) |
Definition at line 558 of file VertexCache.cpp.
Definition at line 505 of file VertexCache.cpp.
void * idVertexCache::Position | ( | vertCache_t * | buffer | ) |
Definition at line 115 of file VertexCache.cpp.
void idVertexCache::PurgeAll | ( | ) |
Definition at line 205 of file VertexCache.cpp.
Definition at line 216 of file VertexCache.cpp.
void idVertexCache::Touch | ( | vertCache_t * | buffer | ) |
Definition at line 307 of file VertexCache.cpp.
void idVertexCache::UnbindIndex | ( | ) |
Definition at line 141 of file VertexCache.cpp.
|
private |
Definition at line 126 of file VertexCache.h.
|
private |
Definition at line 121 of file VertexCache.h.
|
private |
Definition at line 136 of file VertexCache.h.
|
private |
Definition at line 118 of file VertexCache.h.
|
private |
Definition at line 119 of file VertexCache.h.
|
private |
Definition at line 135 of file VertexCache.h.
|
private |
Definition at line 140 of file VertexCache.h.
|
private |
Definition at line 134 of file VertexCache.h.
|
private |
Definition at line 133 of file VertexCache.h.
|
private |
Definition at line 131 of file VertexCache.h.
|
private |
Definition at line 122 of file VertexCache.h.
|
staticprivate |
Definition at line 110 of file VertexCache.h.
|
staticprivate |
Definition at line 111 of file VertexCache.h.
|
private |
Definition at line 116 of file VertexCache.h.
|
private |
Definition at line 114 of file VertexCache.h.
|
private |
Definition at line 117 of file VertexCache.h.
|
private |
Definition at line 113 of file VertexCache.h.
|
private |
Definition at line 137 of file VertexCache.h.
|
private |
Definition at line 128 of file VertexCache.h.
|
private |
Definition at line 129 of file VertexCache.h.
|
private |
Definition at line 124 of file VertexCache.h.