![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrhi_p.h>
Classes | |
| struct | BufferOp |
| struct | TextureOp |
Public Member Functions | |
| void | free () |
| void | merge (QRhiResourceUpdateBatchPrivate *other) |
| bool | hasOptimalCapacity () const |
| void | trimOpLists () |
Static Public Member Functions | |
| static QRhiResourceUpdateBatchPrivate * | get (QRhiResourceUpdateBatch *b) |
Public Attributes | |
| int | activeBufferOpCount = 0 |
| QVarLengthArray< BufferOp, BUFFER_OPS_STATIC_ALLOC > | bufferOps |
| int | activeTextureOpCount = 0 |
| QVarLengthArray< TextureOp, TEXTURE_OPS_STATIC_ALLOC > | textureOps |
| QRhiResourceUpdateBatch * | q = nullptr |
| QRhiImplementation * | rhi = nullptr |
| int | poolIndex = -1 |
Static Public Attributes | |
| static const int | BUFFER_OPS_STATIC_ALLOC = 64 |
| static const int | TEXTURE_OPS_STATIC_ALLOC = 32 |
| void QRhiResourceUpdateBatchPrivate::free | ( | ) |
Definition at line 9957 of file qrhi.cpp.
References activeBufferOpCount, activeTextureOpCount, poolIndex, q, and rhi.
Referenced by QRhiD3D11::enqueueResourceUpdates(), QRhiGles2::enqueueResourceUpdates(), QRhiMetal::enqueueResourceUpdates(), QRhiVulkan::enqueueResourceUpdates(), and QRhiNull::resourceUpdate().
|
inlinestatic |
Definition at line 590 of file qrhi_p.h.
Referenced by QRhiD3D11::enqueueResourceUpdates(), QRhiGles2::enqueueResourceUpdates(), QRhiMetal::enqueueResourceUpdates(), QRhiVulkan::enqueueResourceUpdates(), and QRhiNull::resourceUpdate().
| bool QRhiResourceUpdateBatchPrivate::hasOptimalCapacity | ( | ) | const |
Definition at line 10022 of file qrhi.cpp.
References activeBufferOpCount, activeTextureOpCount, BUFFER_OPS_STATIC_ALLOC, and TEXTURE_OPS_STATIC_ALLOC.
| void QRhiResourceUpdateBatchPrivate::merge | ( | QRhiResourceUpdateBatchPrivate * | other | ) |
Definition at line 10005 of file qrhi.cpp.
References activeBufferOpCount, and activeTextureOpCount.
| void QRhiResourceUpdateBatchPrivate::trimOpLists | ( | ) |
Definition at line 10028 of file qrhi.cpp.
References activeBufferOpCount, and activeTextureOpCount.
| int QRhiResourceUpdateBatchPrivate::activeBufferOpCount = 0 |
Definition at line 573 of file qrhi_p.h.
Referenced by QRhiD3D11::enqueueResourceUpdates(), QRhiGles2::enqueueResourceUpdates(), QRhiMetal::enqueueResourceUpdates(), QRhiVulkan::enqueueResourceUpdates(), free(), hasOptimalCapacity(), merge(), QRhiNull::resourceUpdate(), and trimOpLists().
| int QRhiResourceUpdateBatchPrivate::activeTextureOpCount = 0 |
Definition at line 577 of file qrhi_p.h.
Referenced by QRhiD3D11::enqueueResourceUpdates(), QRhiGles2::enqueueResourceUpdates(), QRhiMetal::enqueueResourceUpdates(), QRhiVulkan::enqueueResourceUpdates(), free(), hasOptimalCapacity(), merge(), QRhiNull::resourceUpdate(), and trimOpLists().
|
static |
Definition at line 574 of file qrhi_p.h.
Referenced by hasOptimalCapacity().
| QVarLengthArray<BufferOp, BUFFER_OPS_STATIC_ALLOC> QRhiResourceUpdateBatchPrivate::bufferOps |
| int QRhiResourceUpdateBatchPrivate::poolIndex = -1 |
| QRhiResourceUpdateBatch* QRhiResourceUpdateBatchPrivate::q = nullptr |
| QRhiImplementation* QRhiResourceUpdateBatchPrivate::rhi = nullptr |
|
static |
Definition at line 578 of file qrhi_p.h.
Referenced by hasOptimalCapacity().
| QVarLengthArray<TextureOp, TEXTURE_OPS_STATIC_ALLOC> QRhiResourceUpdateBatchPrivate::textureOps |