![]() |
Qt 6.x
The Qt SDK
|
#include <qsgbatchrenderer_p.h>
Public Member Functions | |
Allocator () | |
~Allocator () | |
Type * | allocate () |
void | releaseExplicit (uint pageIndex, uint index) |
void | release (Type *t) |
Public Attributes | |
QVector< AllocatorPage< Type, PageSize > * > | pages |
int | m_freePage = 0 |
Definition at line 88 of file qsgbatchrenderer_p.h.
|
inline |
Definition at line 91 of file qsgbatchrenderer_p.h.
References QSGBatchRenderer::Allocator< Type, PageSize >::pages.
|
inline |
Definition at line 96 of file qsgbatchrenderer_p.h.
References QSGBatchRenderer::Allocator< Type, PageSize >::pages, and qDeleteAll().
|
inline |
Definition at line 101 of file qsgbatchrenderer_p.h.
References i, QSGBatchRenderer::Allocator< Type, PageSize >::m_freePage, QSGBatchRenderer::Allocator< Type, PageSize >::pages, and pos.
|
inline |
Definition at line 156 of file qsgbatchrenderer_p.h.
References QByteArray::data(), i, page, QSGBatchRenderer::Allocator< Type, PageSize >::pages, Q_ASSERT, and QSGBatchRenderer::Allocator< Type, PageSize >::releaseExplicit().
|
inline |
Definition at line 129 of file qsgbatchrenderer_p.h.
References QByteArray::at(), QSGBatchRenderer::Allocator< Type, PageSize >::m_freePage, page, QSGBatchRenderer::Allocator< Type, PageSize >::pages, and qFatal.
Referenced by QSGBatchRenderer::Allocator< Type, PageSize >::release().
int QSGBatchRenderer::Allocator< Type, PageSize >::m_freePage = 0 |
Definition at line 175 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::Allocator< Type, PageSize >::allocate(), and QSGBatchRenderer::Allocator< Type, PageSize >::releaseExplicit().
QVector<AllocatorPage<Type, PageSize> *> QSGBatchRenderer::Allocator< Type, PageSize >::pages |
Definition at line 174 of file qsgbatchrenderer_p.h.
Referenced by QSGBatchRenderer::Allocator< Type, PageSize >::Allocator(), QSGBatchRenderer::Allocator< Type, PageSize >::~Allocator(), QSGBatchRenderer::Allocator< Type, PageSize >::allocate(), QSGBatchRenderer::Allocator< Type, PageSize >::release(), and QSGBatchRenderer::Allocator< Type, PageSize >::releaseExplicit().