18 #include <boost/unordered_map.hpp>
20 #include <osg/GraphicsContext>
74 virtual GLuint getOrCreateVao(osg::State* state,
bool& created)
const;
79 virtual void clearVao(osg::GraphicsContext* graphicsContext)
const;
85 virtual void deleteQueuedVaos(osg::GraphicsContext* graphicsContext)
const;
94 virtual void deleteQueuedVaosInAllGc(osg::GraphicsContext* graphicsContext)
const;
97 virtual void slot_windowToBeDestroyed(
DtWindow* window);
142 static const std::string& theClassName();
Abstract Base class.
Definition: DtWindow.h:25
Virtual base class.
Definition: DtVirtualBaseClass.h:22
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::vector< GLuint > VaoArray
Definition: DtGlVaoManager.h:109
unsigned int GLuint
Definition: DtGlTextureBufferObject.h:17
Contains makVrv::DtDe class.
MapContextsToVaoArray myMutableGraphicsContextToVaoArrayToDelete
Keep track of what vertex array objects (VAOs) we have seen per context so that we can delete the Vao...
Definition: DtGlVaoManager.h:113
DtSignalConnectionManager myConnections
Definition: DtGlVaoManager.h:102
std::map< osg::observer_ptr< const osg::GraphicsContext >, VaoArray > MapContextsToVaoArray
Definition: DtGlVaoManager.h:110
DtDe & myDe
Definition: DtGlVaoManager.h:101
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
creator for DtGlVaoManager
Definition: DtGlVaoManager.h:118
Base class to provide boost signal/slot management.
This class is used to manage an opengl vertex array object (VAO) dealing with multiple opengl context...
Definition: DtGlVaoManager.h:49
std::map< osg::observer_ptr< const osg::GraphicsContext >, GLuint > MapContextToVao
Mutables below.
Definition: DtGlVaoManager.h:106
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtGlVaoManager.h:145
MapContextToVao myMutableGraphicsContextToVao
Definition: DtGlVaoManager.h:107