#include <Inventor/SbBasic.h>
#include <Inventor/helpers/SbGlContextHelper.h>
#include <Inventor/caches/SoBaseContextCache.h>
Go to the source code of this file.
Classes | |
struct | SoGLTexCacheEntry |
Stores info about a tex cache. More... | |
Functions | |
TContextedObject * | getCache (SoState *state, float quality) |
TContextedObject * | getCache (SoDeviceContext *ctx, float quality) |
void | setCache (int sharedGroup, TContextedObject *texObj, float quality, SoState *state=NULL) |
void | setCache (int sharedGroup, TContextedObject *texObj, float quality, SoState *state, TContextedObject *&oldTexObj) |
void | invalidateAll (SoState *state=NULL) const |
bool | invalidateContext (SoDeviceContextSharedGroup *ctx) |
Variables | |
SoContextedObjectCacheList | __pad0__ |
SoContextedObjectCacheList bool | sharable = true |
SoContextedObjectCacheList bool SbBool | useMutex = FALSE) |
SoGLTexCacheEntry * | m_cacheList |
int | m_numCaches |
SbThreadMutex * | m_mutex |
bool | m_sharable |
static int | s_debugFlag |
TContextedObject* getCache | ( | SoDeviceContext * | ctx, | |
float | quality | |||
) |
TContextedObject* getCache | ( | SoState * | state, | |
float | quality | |||
) |
void invalidateAll | ( | SoState * | state = NULL |
) | const |
bool invalidateContext | ( | SoDeviceContextSharedGroup * | ctx | ) |
void setCache | ( | int | sharedGroup, | |
TContextedObject * | texObj, | |||
float | quality, | |||
SoState * | state, | |||
TContextedObject *& | oldTexObj | |||
) |
void setCache | ( | int | sharedGroup, | |
TContextedObject * | texObj, | |||
float | quality, | |||
SoState * | state = NULL | |||
) |
SoContextedObjectCacheList __pad0__ |
int m_numCaches |
bool m_sharable |
True if the object can be shared between context.
int s_debugFlag [static] |
SoContextedObjectCacheList bool sharable = true |