Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenGLQueryHelper Class Reference

#include <qopenglqueryhelper_p.h>

+ Collaboration diagram for QOpenGLQueryHelper:

Public Member Functions

 QOpenGLQueryHelper (QOpenGLContext *context)
 
void glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params)
 
void glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params)
 
void glGetQueryiv (GLenum target, GLenum pname, GLint *params)
 
void glEndQuery (GLenum target)
 
void glBeginQuery (GLenum target, GLuint id)
 
GLboolean glIsQuery (GLuint id)
 
void glDeleteQueries (GLsizei n, const GLuint *ids)
 
void glGenQueries (GLsizei n, GLuint *ids)
 
void glGetInteger64v (GLenum pname, GLint64 *params)
 
void glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params)
 
void glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params)
 
void glQueryCounter (GLuint id, GLenum target)
 

Detailed Description

Definition at line 28 of file qopenglqueryhelper_p.h.

Constructor & Destructor Documentation

◆ QOpenGLQueryHelper()

QOpenGLQueryHelper::QOpenGLQueryHelper ( QOpenGLContext * context)
inline

Definition at line 31 of file qopenglqueryhelper_p.h.

References context, GLenum(), GLint(), GLsizei(), GLuint, Q_ASSERT, and QOPENGLF_APIENTRYP.

+ Here is the call graph for this function:

Member Function Documentation

◆ glBeginQuery()

void QOpenGLQueryHelper::glBeginQuery ( GLenum target,
GLuint id )
inline

Definition at line 86 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::begin(), and QOpenGLTimeMonitorPrivate::recordSample().

+ Here is the caller graph for this function:

◆ glDeleteQueries()

void QOpenGLQueryHelper::glDeleteQueries ( GLsizei n,
const GLuint * ids )
inline

Definition at line 96 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::destroy(), and QOpenGLTimeMonitorPrivate::destroy().

+ Here is the caller graph for this function:

◆ glEndQuery()

void QOpenGLQueryHelper::glEndQuery ( GLenum target)
inline

Definition at line 81 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::end(), QOpenGLTimeMonitorPrivate::intervals(), and QOpenGLTimeMonitorPrivate::recordSample().

+ Here is the caller graph for this function:

◆ glGenQueries()

void QOpenGLQueryHelper::glGenQueries ( GLsizei n,
GLuint * ids )
inline

Definition at line 101 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::create(), and QOpenGLTimeMonitorPrivate::create().

+ Here is the caller graph for this function:

◆ glGetInteger64v()

void QOpenGLQueryHelper::glGetInteger64v ( GLenum pname,
GLint64 * params )
inline

Definition at line 106 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::waitForTimeStamp().

+ Here is the caller graph for this function:

◆ glGetQueryiv()

void QOpenGLQueryHelper::glGetQueryiv ( GLenum target,
GLenum pname,
GLint * params )
inline

Definition at line 76 of file qopenglqueryhelper_p.h.

◆ glGetQueryObjecti64v()

void QOpenGLQueryHelper::glGetQueryObjecti64v ( GLuint id,
GLenum pname,
GLint64 * params )
inline

Definition at line 116 of file qopenglqueryhelper_p.h.

◆ glGetQueryObjectiv()

void QOpenGLQueryHelper::glGetQueryObjectiv ( GLuint id,
GLenum pname,
GLint * params )
inline

Definition at line 71 of file qopenglqueryhelper_p.h.

◆ glGetQueryObjectui64v()

void QOpenGLQueryHelper::glGetQueryObjectui64v ( GLuint id,
GLenum pname,
GLuint64 * params )
inline

Definition at line 111 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::result(), and QOpenGLTimeMonitorPrivate::samples().

+ Here is the caller graph for this function:

◆ glGetQueryObjectuiv()

void QOpenGLQueryHelper::glGetQueryObjectuiv ( GLuint id,
GLenum pname,
GLuint * params )
inline

Definition at line 66 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimerQueryPrivate::isResultAvailable(), and QOpenGLTimeMonitorPrivate::isResultAvailable().

+ Here is the caller graph for this function:

◆ glIsQuery()

GLboolean QOpenGLQueryHelper::glIsQuery ( GLuint id)
inline

Definition at line 91 of file qopenglqueryhelper_p.h.

◆ glQueryCounter()

void QOpenGLQueryHelper::glQueryCounter ( GLuint id,
GLenum target )
inline

Definition at line 121 of file qopenglqueryhelper_p.h.

Referenced by QOpenGLTimeMonitorPrivate::recordSample(), and QOpenGLTimerQueryPrivate::recordTimestamp().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: