62 static void set(
SoState * state,
int context,
63 SbBool twopasstransparency,
64 SbBool remoterendering);
65 static int get(
SoState * state);
66 static int getExtID(
const char * str);
67 static void getOpenGLVersion(
SoState * state,
int & major,
int & minor);
68 static SbBool extSupported(
SoState * state,
int extid);
69 static SbBool areMipMapsFast(
SoState * state);
74 static void shouldAutoCache(
SoState * state,
int bits);
75 static void setAutoCacheBits(
SoState * state,
int bits);
76 static int resetAutoCacheBits(
SoState * state);
77 static SbBool getIsRemoteRendering(
SoState * state);
79 static uint32_t getUniqueCacheContext(
void);
81 static void scheduleDeleteCallback(
const uint32_t contextid,
82 SoScheduleDeleteCB * cb,
85 static void incNumShapes(
SoState * state);
86 static int getNumShapes(
SoState * state);
87 static void incNumSeparators(
SoState * state);
88 static int getNumSeparators(
SoState * state);
93 static void cleanupContext(uint32_t contextid,
void * closure);
102 enum { RENDERING_UNSET, RENDERING_SET_DIRECT, RENDERING_SET_INDIRECT };
104 SbBool isDirectRendering(
SoState * state)
const;
The SoGLCacheContextElement class handles the OpenGL cache for a context.
Definition SoGLCacheContextElement.h:47