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
QSGBatchRenderer::Updater Class Reference

#include <qsgbatchrenderer_p.h>

Inheritance diagram for QSGBatchRenderer::Updater:
Collaboration diagram for QSGBatchRenderer::Updater:

Public Member Functions

 Updater (Renderer *rr)
void visitOpacityNode (Node *nn)
void visitTransformNode (Node *nn)
void visitGeometryNode (Node *nn)
void visitClipNode (Node *nn)
void updateRootTransforms (Node *nn)
void updateRootTransforms (Node *nn, Node *root, const QMatrix4x4 &combined)
void updateStates (QSGNode *nn) override
void visitNode (Node *nn)
void registerWithParentRoot (QSGNode *subRoot, QSGNode *parentRoot)
Public Member Functions inherited from QSGNodeUpdater
 QSGNodeUpdater ()
virtual ~QSGNodeUpdater ()
virtual bool isNodeBlocked (QSGNode *n, QSGNode *root) const
 Returns true if node is has something that blocks it in the chain from node to root doing a full state update pass.

Additional Inherited Members

Protected Member Functions inherited from QSGNodeUpdater
virtual void enterTransformNode (QSGTransformNode *)
virtual void leaveTransformNode (QSGTransformNode *)
void enterClipNode (QSGClipNode *cc)
void leaveClipNode (QSGClipNode *cc)
void enterOpacityNode (QSGOpacityNode *o)
void leaveOpacityNode (QSGOpacityNode *o)
void enterGeometryNode (QSGGeometryNode *)
void leaveGeometryNode (QSGGeometryNode *)
void enterRenderNode (QSGRenderNode *)
void leaveRenderNode (QSGRenderNode *)
void visitNode (QSGNode *nn)
void visitChildren (QSGNode *nn)
Protected Attributes inherited from QSGNodeUpdater
QDataBuffer< const QMatrix4x4 * > m_combined_matrix_stack
QDataBuffer< qreal > m_opacity_stack
const QSGClipNode * m_current_clip
int m_force_update

Detailed Description

Definition at line 567 of file qsgbatchrenderer_p.h.

Constructor & Destructor Documentation

◆ Updater()

QSGBatchRenderer::Updater::Updater ( Renderer * r)

Definition at line 370 of file qsgbatchrenderer.cpp.

References Updater().

Referenced by Updater().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ registerWithParentRoot()

void QSGBatchRenderer::Updater::registerWithParentRoot ( QSGNode * subRoot,
QSGNode * parentRoot )

◆ updateRootTransforms() [1/2]

void QSGBatchRenderer::Updater::updateRootTransforms ( Node * n)

Referenced by updateRootTransforms(), and visitTransformNode().

Here is the caller graph for this function:

◆ updateRootTransforms() [2/2]

void QSGBatchRenderer::Updater::updateRootTransforms ( Node * n,
Node * root,
const QMatrix4x4 & combined )

Definition at line 606 of file qsgbatchrenderer.cpp.

References QSGBatchRenderer::Node::parent(), and updateRootTransforms().

Here is the call graph for this function:

◆ updateStates()

void QSGBatchRenderer::Updater::updateStates ( QSGNode * n)
overridevirtual

Reimplemented from QSGNodeUpdater.

Definition at line 380 of file qsgbatchrenderer.cpp.

References QSGBatchRenderer::qsg_dumpShadowRoots(), visitNode(), and QSGBatchRenderer::Visualizer::VisualizeChanges.

Here is the call graph for this function:

◆ visitClipNode()

void QSGBatchRenderer::Updater::visitClipNode ( Node * n)

Definition at line 452 of file qsgbatchrenderer.cpp.

References QSGBatchRenderer::Node::clipInfo(), and visitNode().

Referenced by visitNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ visitGeometryNode()

void QSGBatchRenderer::Updater::visitGeometryNode ( Node * n)

Definition at line 560 of file qsgbatchrenderer.cpp.

References QSGBatchRenderer::BatchRootInfo::availableOrders, QSGBatchRenderer::Element::batch, QSGBatchRenderer::Node::element(), QSGBatchRenderer::BatchRootInfo::parentRoot, QSGBatchRenderer::Element::root, and visitNode().

Referenced by visitNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ visitNode()

void QSGBatchRenderer::Updater::visitNode ( Node * n)

Definition at line 412 of file qsgbatchrenderer.cpp.

References QSGBatchRenderer::Node::renderNodeElement(), visitClipNode(), visitGeometryNode(), visitNode(), visitOpacityNode(), and visitTransformNode().

Referenced by updateStates(), visitClipNode(), visitGeometryNode(), visitNode(), visitOpacityNode(), and visitTransformNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ visitOpacityNode()

void QSGBatchRenderer::Updater::visitOpacityNode ( Node * n)

Definition at line 477 of file qsgbatchrenderer.cpp.

References QSGBatchRenderer::OPAQUE_LIMIT, and visitNode().

Referenced by visitNode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ visitTransformNode()

void QSGBatchRenderer::Updater::visitTransformNode ( Node * n)

Definition at line 504 of file qsgbatchrenderer.cpp.

References updateRootTransforms(), and visitNode().

Referenced by visitNode().

Here is the call graph for this function:
Here is the caller graph for this function:

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