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 <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 4841 of file qrhid3d11.cpp.
References active, disjointQuery, i, j, and TIMESTAMP_PAIRS.
Referenced by QD3D11SwapChain::destroy().
bool QD3D11SwapChainTimestamps::prepare | ( | QRhiD3D11 * | rhiD | ) |
Definition at line 4809 of file qrhid3d11.cpp.
References disjointQuery, i, j, qPrintable, qWarning, and TIMESTAMP_PAIRS.
Referenced by QD3D11SwapChain::createOrResize().
bool QD3D11SwapChainTimestamps::tryQueryTimestamps | ( | int | idx, |
ID3D11DeviceContext * | context, | ||
double * | elapsedSec ) |
Definition at line 4859 of file qrhid3d11.cpp.
References active, context, disjointQuery, and ok.
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.
Referenced by destroy(), prepare(), and tryQueryTimestamps().
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().