![]() |
Qt 6.x
The Qt SDK
|
#include <qdatabuffer_p.h>
Public Member Functions | |
QDataBuffer (qsizetype res) | |
~QDataBuffer () | |
void | reset () |
bool | isEmpty () const |
qsizetype | size () const |
Type * | data () const |
Type & | at (qsizetype i) |
const Type & | at (qsizetype i) const |
Type & | last () |
const Type & | last () const |
Type & | first () |
const Type & | first () const |
void | add (const Type &t) |
void | pop_back () |
void | resize (qsizetype size) |
void | reserve (qsizetype size) |
void | shrink (qsizetype size) |
void | swap (QDataBuffer< Type > &other) |
QDataBuffer & | operator<< (const Type &t) |
Definition at line 25 of file qdatabuffer_p.h.
|
inlineexplicit |
Definition at line 29 of file qdatabuffer_p.h.
References Q_CHECK_PTR(), QT_WARNING_DISABLE_GCC, QT_WARNING_POP, and QT_WARNING_PUSH.
|
inline |
Definition at line 44 of file qdatabuffer_p.h.
|
inline |
Definition at line 64 of file qdatabuffer_p.h.
References QDataBuffer< Type >::reserve().
Referenced by QSGNodeUpdater::QSGNodeUpdater(), QSGBatchRenderer::Updater::Updater(), QOpenGL2PEXVertexArray::addPath(), QOpenGL2PEXVertexArray::addVertex(), QPolygonClipper< InType, OutType, CastType >::clipPolygon(), QTriangulator< T >::MonotoneToTriangles::decompose(), QSGNodeUpdater::enterOpacityNode(), QSGNodeUpdater::enterTransformNode(), QOutlineMapper::lineTo(), QOpenGL2PEXVertexArray::lineToArray(), QSGDistanceFieldGlyphCache::markGlyphsToRender(), QDataBuffer< Type >::operator<<(), QSGBatchRenderer::qsg_addBackOrphanedElements(), QSGBatchRenderer::qsg_addOrphanedElements(), QSGBatchRenderer::Updater::visitClipNode(), QSGBatchRenderer::Updater::visitOpacityNode(), and QSGBatchRenderer::Updater::visitTransformNode().
|
inline |
Definition at line 57 of file qdatabuffer_p.h.
Referenced by QPathSegments::addIntersection(), QPathSegments::addPath(), QPolygonClipper< InType, OutType, CastType >::clipPolygon(), QOutlineMapper::closeSubpath(), QTriangulator< T >::ComplexToSimple::decompose(), QTriangulator< T >::MonotoneToTriangles::decompose(), QWingedEdge::edge(), QWingedEdge::edge(), QPathSegments::intersectionAt(), QPathSegments::lineAt(), makeDistanceField(), QPathSegments::mergePoints(), QSubpathForwardIterator::next(), QSubpathBackwardIterator::next(), QSubpathFlatIterator::next(), QPathSegments::pointAt(), QSGBatchRenderer::qsg_addBackOrphanedElements(), QSGBatchRenderer::qsg_addOrphanedElements(), QSGBatchRenderer::qsg_countNodesInBatches(), QSGDistanceFieldGlyphCache::update(), QWingedEdge::vertex(), and QWingedEdge::vertex().
|
inline |
Definition at line 58 of file qdatabuffer_p.h.
|
inline |
Definition at line 55 of file qdatabuffer_p.h.
Referenced by QPathSegments::addIntersection(), QPolygonClipper< InType, OutType, CastType >::clipPolygon(), QOutlineMapper::convertElements(), QOutlineMapper::convertPath(), QOpenGL2PEXVertexArray::data(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QOutlineMapper::elementTypes(), QOutlineMapper::endOutline(), makeDistanceField(), QOpenGL2PEXVertexArray::stops(), and QOpenGL2PaintEngineExPrivate::transferMode().
|
inline |
Definition at line 61 of file qdatabuffer_p.h.
References QDataBuffer< Type >::isEmpty(), and Q_ASSERT.
Referenced by QTriangulator< T >::MonotoneToTriangles::decompose(), and QMaxHeap< T >::top().
|
inline |
Definition at line 62 of file qdatabuffer_p.h.
References QDataBuffer< Type >::isEmpty(), and Q_ASSERT.
|
inline |
Definition at line 52 of file qdatabuffer_p.h.
Referenced by QMaxHeap< T >::empty(), QOutlineMapper::endOutline(), QSGNodeUpdater::enterClipNode(), QSGNodeUpdater::enterGeometryNode(), QSGNodeUpdater::enterRenderNode(), QSGNodeUpdater::enterTransformNode(), QDataBuffer< Type >::first(), QDataBuffer< Type >::first(), QMaxHeap< T >::isEmpty(), QDataBuffer< Type >::last(), QDataBuffer< Type >::last(), QSGDistanceFieldGlyphCache::update(), and QSGNodeUpdater::updateStates().
|
inline |
Definition at line 59 of file qdatabuffer_p.h.
References QDataBuffer< Type >::isEmpty(), and Q_ASSERT.
Referenced by QOutlineMapper::curveTo(), QTriangulator< T >::MonotoneToTriangles::decompose(), QSGNodeUpdater::enterClipNode(), QSGNodeUpdater::enterGeometryNode(), QSGNodeUpdater::enterOpacityNode(), QSGNodeUpdater::enterRenderNode(), QSGNodeUpdater::enterTransformNode(), QSGBatchRenderer::Updater::visitClipNode(), QSGBatchRenderer::Updater::visitGeometryNode(), QSGBatchRenderer::Updater::visitOpacityNode(), and QSGBatchRenderer::Updater::visitTransformNode().
|
inline |
Definition at line 60 of file qdatabuffer_p.h.
References QDataBuffer< Type >::isEmpty(), and Q_ASSERT.
|
inline |
Definition at line 111 of file qdatabuffer_p.h.
References QDataBuffer< Type >::add().
|
inline |
Definition at line 70 of file qdatabuffer_p.h.
References Q_ASSERT.
Referenced by QTriangulator< T >::MonotoneToTriangles::decompose(), QSGNodeUpdater::leaveOpacityNode(), QSGNodeUpdater::leaveTransformNode(), QSGBatchRenderer::Updater::visitClipNode(), QSGBatchRenderer::Updater::visitOpacityNode(), and QSGBatchRenderer::Updater::visitTransformNode().
|
inline |
Definition at line 80 of file qdatabuffer_p.h.
References Q_CHECK_PTR().
Referenced by QDataBuffer< Type >::add(), QOutlineMapper::curveTo(), QDashedStrokeProcessor::process(), and QDataBuffer< Type >::resize().
|
inline |
Definition at line 50 of file qdatabuffer_p.h.
Referenced by QOutlineMapper::beginOutline(), QOpenGL2PEXVertexArray::clear(), QPolygonClipper< InType, OutType, CastType >::clipPolygon(), QTriangulator< T >::MonotoneToTriangles::decompose(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QSGBatchRenderer::Renderer::prepareRenderPass(), QTriangulatingStroker::process(), QDashedStrokeProcessor::process(), QSGBatchRenderer::qsg_addBackOrphanedElements(), QSGBatchRenderer::qsg_addOrphanedElements(), QSGBatchRenderer::Renderer::releaseCachedResources(), QPathSegments::setPath(), and QSGDistanceFieldGlyphCache::update().
|
inline |
Definition at line 75 of file qdatabuffer_p.h.
References QDataBuffer< Type >::reserve(), and QDataBuffer< Type >::size().
Referenced by QOutlineMapper::convertPath(), and QTriangulator< T >::MonotoneToTriangles::decompose().
|
inline |
Definition at line 91 of file qdatabuffer_p.h.
References Q_ASSERT, Q_CHECK_PTR(), and QDataBuffer< Type >::size().
Referenced by QSGBatchRenderer::Renderer::releaseCachedResources().
|
inline |
Definition at line 54 of file qdatabuffer_p.h.
Referenced by QWingedEdge::addEdge(), QPathSegments::addIntersection(), QPathSegments::addPath(), QOpenGL2PEXVertexArray::addPath(), QPathSegments::addPoint(), QWingedEdge::addVertex(), QPolygonClipper< InType, OutType, CastType >::clipPolygon(), QOutlineMapper::closeSubpath(), QOutlineMapper::convertElements(), QOutlineMapper::curveTo(), QTriangulator< T >::ComplexToSimple::decompose(), QTriangulator< T >::MonotoneToTriangles::decompose(), QOpenGL2PaintEngineExPrivate::drawPixmapFragments(), QWingedEdge::edgeCount(), QOutlineMapper::elementTypes(), QOutlineMapper::endOutline(), QSubpathForwardIterator::hasNext(), QSubpathFlatIterator::hasNext(), QPathSegments::intersections(), makeDistanceField(), QPathSegments::mergePoints(), QOutlineMapper::moveTo(), QSubpathBackwardIterator::next(), QPathSegments::points(), QSGBatchRenderer::qsg_addBackOrphanedElements(), QSGBatchRenderer::qsg_addOrphanedElements(), QSGBatchRenderer::qsg_countNodesInBatches(), QDataBuffer< Type >::resize(), QDataBuffer< Type >::shrink(), QMaxHeap< T >::size(), QOpenGL2PEXVertexArray::stopCount(), QOpenGL2PaintEngineExPrivate::transferMode(), QSGDistanceFieldGlyphCache::update(), QSGNodeUpdater::updateStates(), QWingedEdge::vertexCount(), and QOpenGL2PEXVertexArray::vertexCount().
|
inline |
Definition at line 105 of file qdatabuffer_p.h.
References other(), and qSwap().
Referenced by QPathSegments::mergePoints().