osgViewer::OpenGLQuerySupport Class Reference

Inheritance diagram for osgViewer::OpenGLQuerySupport:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::pair< GLuint,
int > 
QueryFrameNumberPair
typedef std::list< QueryFrameNumberPairQueryFrameNumberList
typedef std::vector< GLuint > QueryList

Public Member Functions

 OpenGLQuerySupport ()
void setStartTick (osg::Timer_t startTick)
osg::Timer_t getStartTick () const
void checkQuery (osg::Stats *stats)
GLuint createQueryObject ()
void beginQuery (int frameNumber)
void endQuery ()
void initialize (osg::State *state)

Protected Attributes

osg::Timer_t _startTick
bool _initialized
bool _timerQuerySupported
const osg::Drawable::Extensions_extensions
QueryFrameNumberList _queryFrameNumberList
QueryList _availableQueryObjects
double _previousQueryTime

Member Typedef Documentation

typedef std::list<QueryFrameNumberPair> osgViewer::OpenGLQuerySupport::QueryFrameNumberList

typedef std::pair<GLuint, int> osgViewer::OpenGLQuerySupport::QueryFrameNumberPair

typedef std::vector<GLuint> osgViewer::OpenGLQuerySupport::QueryList


Constructor & Destructor Documentation

osgViewer::OpenGLQuerySupport::OpenGLQuerySupport (  ) 


Member Function Documentation

void osgViewer::OpenGLQuerySupport::beginQuery ( int  frameNumber  ) 

void osgViewer::OpenGLQuerySupport::checkQuery ( osg::Stats stats  ) 

GLuint osgViewer::OpenGLQuerySupport::createQueryObject (  ) 

void osgViewer::OpenGLQuerySupport::endQuery (  ) 

osg::Timer_t osgViewer::OpenGLQuerySupport::getStartTick (  )  const [inline]

void osgViewer::OpenGLQuerySupport::initialize ( osg::State state  ) 

void osgViewer::OpenGLQuerySupport::setStartTick ( osg::Timer_t  startTick  )  [inline]


Member Data Documentation

QueryList osgViewer::OpenGLQuerySupport::_availableQueryObjects [protected]

const osg::Drawable::Extensions* osgViewer::OpenGLQuerySupport::_extensions [protected]

bool osgViewer::OpenGLQuerySupport::_initialized [protected]

double osgViewer::OpenGLQuerySupport::_previousQueryTime [protected]

QueryFrameNumberList osgViewer::OpenGLQuerySupport::_queryFrameNumberList [protected]

osg::Timer_t osgViewer::OpenGLQuerySupport::_startTick [protected]

bool osgViewer::OpenGLQuerySupport::_timerQuerySupported [protected]


The documentation for this class was generated from the following file:
Generated at Tue Aug 5 20:31:59 2008 for the OpenSceneGraph by doxygen 1.4.7.