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>.
|
#include <qrhigles2_p.h>
Public Member Functions | |
void | prepare (QRhiGles2 *rhiD) |
void | destroy (QRhiGles2 *rhiD) |
bool | tryQueryTimestamps (int pairIndex, QRhiGles2 *rhiD, double *elapsedSec) |
Public Attributes | |
bool | active [TIMESTAMP_PAIRS] = {} |
GLuint | query [TIMESTAMP_PAIRS *2] = {} |
Static Public Attributes | |
static const int | TIMESTAMP_PAIRS = 2 |
Definition at line 720 of file qrhigles2_p.h.
Definition at line 6660 of file qrhigles2.cpp.
References active, and TIMESTAMP_PAIRS.
Definition at line 6654 of file qrhigles2.cpp.
References TIMESTAMP_PAIRS.
Referenced by QGles2SwapChain::createOrResize().
bool QGles2SwapChainTimestamps::tryQueryTimestamps | ( | int | pairIndex, |
QRhiGles2 * | rhiD, | ||
double * | elapsedSec ) |
Definition at line 6667 of file qrhigles2.cpp.
References active, GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE, and GLuint.
bool QGles2SwapChainTimestamps::active[TIMESTAMP_PAIRS] = {} |
Definition at line 724 of file qrhigles2_p.h.
Referenced by destroy(), and tryQueryTimestamps().
GLuint QGles2SwapChainTimestamps::query[TIMESTAMP_PAIRS *2] = {} |
Definition at line 725 of file qrhigles2_p.h.
|
static |
Definition at line 722 of file qrhigles2_p.h.
Referenced by destroy(), QRhiGles2::endFrame(), and prepare().