Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGles2SwapChainTimestamps Struct Reference

#include <qrhigles2_p.h>

Collaboration diagram for QGles2SwapChainTimestamps:

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

Detailed Description

Definition at line 726 of file qrhigles2_p.h.

Member Function Documentation

◆ destroy()

void QGles2SwapChainTimestamps::destroy ( QRhiGles2 * rhiD)

Definition at line 6917 of file qrhigles2.cpp.

◆ prepare()

void QGles2SwapChainTimestamps::prepare ( QRhiGles2 * rhiD)

Definition at line 6911 of file qrhigles2.cpp.

◆ tryQueryTimestamps()

bool QGles2SwapChainTimestamps::tryQueryTimestamps ( int pairIndex,
QRhiGles2 * rhiD,
double * elapsedSec )

Definition at line 6924 of file qrhigles2.cpp.

Member Data Documentation

◆ active

bool QGles2SwapChainTimestamps::active[TIMESTAMP_PAIRS] = {}

Definition at line 730 of file qrhigles2_p.h.

◆ query

GLuint QGles2SwapChainTimestamps::query[TIMESTAMP_PAIRS *2] = {}

Definition at line 731 of file qrhigles2_p.h.

◆ TIMESTAMP_PAIRS

const int QGles2SwapChainTimestamps::TIMESTAMP_PAIRS = 2
static

Definition at line 728 of file qrhigles2_p.h.

Referenced by QRhiGles2::endFrame().


The documentation for this struct was generated from the following files: