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
QD3D11SwapChainTimestamps Struct Reference

#include <qrhid3d11_p.h>

+ Collaboration diagram for QD3D11SwapChainTimestamps:

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
 

Detailed Description

Definition at line 570 of file qrhid3d11_p.h.

Member Function Documentation

◆ destroy()

void QD3D11SwapChainTimestamps::destroy ( )

Definition at line 4841 of file qrhid3d11.cpp.

References active, disjointQuery, i, j, and TIMESTAMP_PAIRS.

Referenced by QD3D11SwapChain::destroy().

+ Here is the caller graph for this function:

◆ prepare()

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().

+ Here is the caller graph for this function:

◆ tryQueryTimestamps()

bool QD3D11SwapChainTimestamps::tryQueryTimestamps ( int idx,
ID3D11DeviceContext * context,
double * elapsedSec )

Definition at line 4859 of file qrhid3d11.cpp.

References active, context, disjointQuery, and ok.

Member Data Documentation

◆ active

bool QD3D11SwapChainTimestamps::active[TIMESTAMP_PAIRS] = {}

Definition at line 574 of file qrhid3d11_p.h.

Referenced by destroy(), and tryQueryTimestamps().

◆ disjointQuery

ID3D11Query* QD3D11SwapChainTimestamps::disjointQuery[TIMESTAMP_PAIRS] = {}

Definition at line 575 of file qrhid3d11_p.h.

Referenced by destroy(), prepare(), and tryQueryTimestamps().

◆ query

ID3D11Query* QD3D11SwapChainTimestamps::query[TIMESTAMP_PAIRS *2] = {}

Definition at line 576 of file qrhid3d11_p.h.

◆ TIMESTAMP_PAIRS

const int QD3D11SwapChainTimestamps::TIMESTAMP_PAIRS = 2
static

Definition at line 572 of file qrhid3d11_p.h.

Referenced by destroy(), QRhiD3D11::endFrame(), and prepare().


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