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
qrhi_p.h File Reference

(0e51db1eb51d15463b70e35fcdda772594e63aac)

#include <rhi/qrhi.h>
#include <QBitArray>
#include <QAtomicInt>
#include <QElapsedTimer>
#include <QLoggingCategory>
#include <QtCore/qset.h>
#include <QtCore/qvarlengtharray.h>
#include <QtCore/private/qflatmap_p.h>
Include dependency graph for qrhi_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QRhiImplementation
struct  QRhiBufferDataPrivate
class  QRhiBufferData
class  QRhiResourceUpdateBatchPrivate
struct  QRhiResourceUpdateBatchPrivate::BufferOp
struct  QRhiResourceUpdateBatchPrivate::TextureOp
struct  QRhiBatchedBindings< T >
struct  QRhiBatchedBindings< T >::Batch
class  QRhiGlobalObjectIdGenerator
class  QRhiPassResourceTracker
struct  QRhiPassResourceTracker::UsageState
struct  QRhiPassResourceTracker::Buffer
struct  QRhiPassResourceTracker::Texture
class  QRhiBackendCommandList< T, GROW >
struct  QRhiRenderTargetAttachmentTracker
struct  QRhiRenderTargetAttachmentTracker::ResId

Macros

#define QRHI_RES(t, x)
#define QRHI_RES_RHI(t)

Enumerations

enum  QRhiTargetRectBoundMode { UnBounded , Bounded }

Functions

template<QRhiTargetRectBoundMode boundingMode, typename T, size_t N>
bool qrhi_toTopLeftRenderTargetRect (const QSize &outputSize, const std::array< T, N > &r, T *x, T *y, T *w, T *h)
 Q_DECLARE_TYPEINFO (QRhiBufferData, Q_RELOCATABLE_TYPE)
 Q_DECLARE_TYPEINFO (QRhiPassResourceTracker::Buffer, Q_RELOCATABLE_TYPE)
 Q_DECLARE_TYPEINFO (QRhiPassResourceTracker::Texture, Q_RELOCATABLE_TYPE)
bool operator== (const QRhiRenderTargetAttachmentTracker::ResId &a, const QRhiRenderTargetAttachmentTracker::ResId &b)
bool operator!= (const QRhiRenderTargetAttachmentTracker::ResId &a, const QRhiRenderTargetAttachmentTracker::ResId &b)
template<typename T>
T * qrhi_objectFromProxyData (QRhiSwapChainProxyData *pd, QWindow *window, QRhi::Implementation impl, uint objectIndex)

Macro Definition Documentation

◆ QRHI_RES

#define QRHI_RES ( t,
x )
Value:
static_cast<t *>(x)
GLint GLint GLint GLint GLint x
GLdouble GLdouble t
Definition qopenglext.h:243

Definition at line 29 of file qrhi_p.h.

◆ QRHI_RES_RHI

#define QRHI_RES_RHI ( t)
Value:
t *rhiD = static_cast<t *>(m_rhi)

Definition at line 30 of file qrhi_p.h.

Enumeration Type Documentation

◆ QRhiTargetRectBoundMode

Enumerator
UnBounded 
Bounded 

Definition at line 276 of file qrhi_p.h.

Function Documentation

◆ operator!=()

Definition at line 799 of file qrhi_p.h.

References operator==().

Here is the call graph for this function:

◆ operator==()

Definition at line 794 of file qrhi_p.h.

Referenced by operator!=().

Here is the caller graph for this function:

◆ Q_DECLARE_TYPEINFO() [1/3]

Q_DECLARE_TYPEINFO ( QRhiBufferData ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/3]

◆ Q_DECLARE_TYPEINFO() [3/3]

◆ qrhi_objectFromProxyData()

template<typename T>
T * qrhi_objectFromProxyData ( QRhiSwapChainProxyData * pd,
QWindow * window,
QRhi::Implementation impl,
uint objectIndex )
inline

Definition at line 859 of file qrhi_p.h.

References QRhiSwapChainProxyData::reserved.

◆ qrhi_toTopLeftRenderTargetRect()

template<QRhiTargetRectBoundMode boundingMode, typename T, size_t N>
bool qrhi_toTopLeftRenderTargetRect ( const QSize & outputSize,
const std::array< T, N > & r,
T * x,
T * y,
T * w,
T * h )

Definition at line 283 of file qrhi_p.h.

References Bounded.