19 #include <osg/GraphicsContext>
90 virtual DtGlVaoAndContext getOrCreateVao(
const osg::GraphicsContext* graphicsContext,
bool& created)
const;
95 virtual void clearVao(
const osg::GraphicsContext* graphicsContext)
const;
101 virtual void deleteQueuedVaos(
const osg::GraphicsContext* graphicsContext)
const;
111 virtual void deleteQueuedVaosInAllGc(osg::GraphicsContext* graphicsContext)
const;
114 virtual void slot_windowToBeDestroyed(
DtWindow* window);
117 virtual void attemptToDeleteVao(
const void* glContext,
DtGlVaoAndContext& fbo)
const;
Abstract Base class.
Definition: DtWindow.h:25
std::vector< DtGlVaoAndContext > VaoArray
Definition: DtGlVaoManager.h:129
const char * creatorTypeName< DtGlVaoManager >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtGlVaoManager.h:40
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
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:133
DtSignalConnectionManager myConnections
Definition: DtGlVaoManager.h:122
std::map< osg::observer_ptr< const osg::GraphicsContext >, DtGlVaoAndContext > MapContextToVao
Mutables below. These are mutable due to the fact that osg has drawImplementation as const These muta...
Definition: DtGlVaoManager.h:126
std::tuple< unsigned int, void * > DtGlVaoAndContext
Definition: DtGlDeleteObjectManager.h:37
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
std::map< osg::observer_ptr< const osg::GraphicsContext >, VaoArray > MapContextsToVaoArray
Definition: DtGlVaoManager.h:130
DtDe & myDe
Definition: DtGlVaoManager.h:121
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
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:65
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtVirtualBaseClassCreator< DtGlVaoManager > DtGlVaoManagerCreator
creator
Definition: DtGlVaoManager.h:33
MapContextToVao myMutableGraphicsContextToVao
Definition: DtGlVaoManager.h:127