14 #ifndef OSGVIEWER_RENDERER
15 #define OSGVIEWER_RENDERER 1
17 #include <OpenThreads/Condition>
19 #include <osgDB/DatabasePager>
20 #include <osgUtil/SceneView>
21 #include <osgViewer/Export>
33 virtual void beginQuery(
unsigned int frameNumber,
osg::State* state) = 0;
53 void setGraphicsThreadDoesCull(
bool flag);
59 virtual void cull_draw();
61 virtual void compile();
70 virtual void release();
75 void setCameraRequiresSetUp(
bool flag);
76 bool getCameraRequiresSetUp()
const;
This class provides an object-oriented thread mutex interface.
bool _graphicsThreadDoesCull
This class provides an object-oriented thread condition interface.
OpenThreads::Condition _cond
osgUtil::SceneView * getSceneView(unsigned int i)
bool getGraphicsThreadDoesCull() const
ThreadSafeQueue _availableQueue
unsigned long long Timer_t
osg::ref_ptr< OpenGLQuerySupport > _querySupport
void setCompileOnNextDraw(bool flag)
std::list< osgUtil::SceneView * > SceneViewList
bool getCompileOnNextDraw() const
osg::observer_ptr< osg::Camera > _camera
const osg::GLExtensions * _extensions
ThreadSafeQueue _drawQueue
OpenThreads::Mutex _mutex
const osgUtil::SceneView * getSceneView(unsigned int i) const