#include <OpenGLCache.h>
Public Methods | |
OpenGLCache () | |
~OpenGLCache () | |
void | encache (unsigned long id, GLuint tag) |
void | markUnused () |
mark everything unused for new frame. More... | |
GLuint | markUsed (unsigned long id) |
mark given id used and return tag. More... | |
GLuint | deleteUnused () |
Delete first unused ID and return tag. More... |
Definition at line 32 of file OpenGLCache.h.
|
Definition at line 24 of file OpenGLCache.C. References NULL. |
|
Definition at line 28 of file OpenGLCache.C. |
|
Delete first unused ID and return tag.
Definition at line 56 of file OpenGLCache.C. References GLCACHE_FAIL, and NULL. Referenced by OpenGLRenderer::free_opengl_ctx, and OpenGLRenderer::render_done. |
|
Definition at line 36 of file OpenGLCache.C. Referenced by OpenGLRenderer::require_volume_texture. |
|
mark everything unused for new frame.
Definition at line 40 of file OpenGLCache.C. Referenced by OpenGLRenderer::free_opengl_ctx, and OpenGLRenderer::prepare3D. |
|
mark given id used and return tag.
Definition at line 46 of file OpenGLCache.C. References GLCACHE_FAIL. Referenced by OpenGLRenderer::require_volume_texture. |