![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrhid3d11_p.h>
Public Member Functions | |
bool | prepare (QRhiD3D11 *rhiD) |
void | destroy () |
bool | tryQueryTimestamps (int idx, ID3D11DeviceContext *context, double *elapsedSec) |
Public Attributes | |
bool | active [TIMESTAMP_PAIRS] = {} |
ID3D11Query * | disjointQuery [TIMESTAMP_PAIRS] = {} |
ID3D11Query * | query [TIMESTAMP_PAIRS *2] = {} |
Static Public Attributes | |
static const int | TIMESTAMP_PAIRS = 2 |
Definition at line 570 of file qrhid3d11_p.h.
void QD3D11SwapChainTimestamps::destroy | ( | ) |
Definition at line 4989 of file qrhid3d11.cpp.
References active, and TIMESTAMP_PAIRS.
bool QD3D11SwapChainTimestamps::prepare | ( | QRhiD3D11 * | rhiD | ) |
Definition at line 4957 of file qrhid3d11.cpp.
References TIMESTAMP_PAIRS.
bool QD3D11SwapChainTimestamps::tryQueryTimestamps | ( | int | idx, |
ID3D11DeviceContext * | context, | ||
double * | elapsedSec ) |
Definition at line 5007 of file qrhid3d11.cpp.
References active.
bool QD3D11SwapChainTimestamps::active[TIMESTAMP_PAIRS] = {} |
Definition at line 574 of file qrhid3d11_p.h.
Referenced by destroy(), and tryQueryTimestamps().
ID3D11Query* QD3D11SwapChainTimestamps::disjointQuery[TIMESTAMP_PAIRS] = {} |
Definition at line 575 of file qrhid3d11_p.h.
ID3D11Query* QD3D11SwapChainTimestamps::query[TIMESTAMP_PAIRS *2] = {} |
Definition at line 576 of file qrhid3d11_p.h.
|
static |
Definition at line 572 of file qrhid3d11_p.h.
Referenced by destroy(), QRhiD3D11::endFrame(), and prepare().