15 #include <tbb/concurrent_unordered_map.h>
16 #include <tbb/concurrent_unordered_set.h>
17 #include <tbb/atomic.h>
51 virtual bool applyState(
int stateId);
54 virtual void restoreAllModes(osg::State &state);
58 virtual void setStateCaching(
bool val);
62 virtual bool stateCaching(
void)
const;
65 virtual GLenum primitiveType(
int stateId)
const;
68 virtual void setReverseZEnabled(
bool val);
71 virtual bool reverseZEnabled(
void)
const;
74 typedef tbb::concurrent_unordered_map<DtIndirectOpenGLState, int, DtIndirectOpenGLStateHasher>
MapStateToId;
77 typedef tbb::concurrent_unordered_map<int, DtIndirectOpenGLState>
MapIdToState;
ConcurrentSetInts myUniqueAttributes
Definition: DtIndirectGeometryStateManager.h:83
DtDe & myDe
Definition: DtIndirectGeometryStateManager.h:89
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
non virtual Container class for holding on to the different states that are found for indirect geomet...
Definition: DtIndirectOpenGLState.h:25
MapStateToId myMapStateToId
Definition: DtIndirectGeometryStateManager.h:75
bool myStateCaching
Definition: DtIndirectGeometryStateManager.h:91
MapIdToState myMapIdToState
Definition: DtIndirectGeometryStateManager.h:78
tbb::concurrent_unordered_set< int > ConcurrentSetInts
Definition: DtIndirectGeometryStateManager.h:80
tbb::concurrent_unordered_map< DtIndirectOpenGLState, int, DtIndirectOpenGLStateHasher > MapStateToId
Definition: DtIndirectGeometryStateManager.h:74
Simple state/glmodes class for handling setting up modes It can now handle generic state modes and at...
Definition: DtIndirectGeometryStateManager.h:31
ConcurrentSetInts myUniqueModes
Definition: DtIndirectGeometryStateManager.h:82
tbb::concurrent_unordered_map< int, DtIndirectOpenGLState > MapIdToState
Definition: DtIndirectGeometryStateManager.h:77
unsigned int GLenum
Definition: DtGlTextureBufferObject.h:18
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtIndirectOpenGLState myLastAppliedState
Definition: DtIndirectGeometryStateManager.h:87
Contains the DtIndirectOpenGLState class declaration.
bool myReverseZEnabled
Definition: DtIndirectGeometryStateManager.h:93
tbb::atomic< int > myNextStateId
Definition: DtIndirectGeometryStateManager.h:85