Public Types | |
typedef std::pair < GLuint, int > | QueryFrameNumberPair |
typedef std::list < QueryFrameNumberPair > | QueryFrameNumberList |
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 |
typedef std::pair<GLuint, int> osgViewer::OpenGLQuerySupport::QueryFrameNumberPair |
typedef std::list<QueryFrameNumberPair> osgViewer::OpenGLQuerySupport::QueryFrameNumberList |
typedef std::vector<GLuint> osgViewer::OpenGLQuerySupport::QueryList |
osgViewer::OpenGLQuerySupport::OpenGLQuerySupport | ( | ) |
void osgViewer::OpenGLQuerySupport::setStartTick | ( | osg::Timer_t | startTick | ) | [inline] |
osg::Timer_t osgViewer::OpenGLQuerySupport::getStartTick | ( | ) | const [inline] |
void osgViewer::OpenGLQuerySupport::checkQuery | ( | osg::Stats * | stats | ) |
GLuint osgViewer::OpenGLQuerySupport::createQueryObject | ( | ) |
void osgViewer::OpenGLQuerySupport::beginQuery | ( | int | frameNumber | ) |
void osgViewer::OpenGLQuerySupport::endQuery | ( | ) |
void osgViewer::OpenGLQuerySupport::initialize | ( | osg::State * | state | ) |
bool osgViewer::OpenGLQuerySupport::_initialized [protected] |
bool osgViewer::OpenGLQuerySupport::_timerQuerySupported [protected] |
const osg::Drawable::Extensions* osgViewer::OpenGLQuerySupport::_extensions [protected] |
double osgViewer::OpenGLQuerySupport::_previousQueryTime [protected] |