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 *r)
 
void visitOpacityNode (Node *n)
 
void visitTransformNode (Node *n)
 
void visitGeometryNode (Node *n)
 
void visitClipNode (Node *n)
 
void updateRootTransforms (Node *n)
 
void updateRootTransforms (Node *n, Node *root, const QMatrix4x4 &combined)
 
void updateStates (QSGNode *n) override
 
void visitNode (Node *n)
 
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 *c)
 
void leaveClipNode (QSGClipNode *c)
 
void enterOpacityNode (QSGOpacityNode *o)
 
void leaveOpacityNode (QSGOpacityNode *o)
 
void enterGeometryNode (QSGGeometryNode *)
 
void leaveGeometryNode (QSGGeometryNode *)
 
void enterRenderNode (QSGRenderNode *)
 
void leaveRenderNode (QSGRenderNode *)
 
void visitNode (QSGNode *n)
 
void visitChildren (QSGNode *n)
 
- Protected Attributes inherited from QSGNodeUpdater
QDataBuffer< const QMatrix4x4 * > m_combined_matrix_stack
 
QDataBuffer< qrealm_opacity_stack
 
const QSGClipNodem_current_clip
 
int m_force_update
 

Detailed Description

Definition at line 563 of file qsgbatchrenderer_p.h.

Constructor & Destructor Documentation

◆ Updater()

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

Definition at line 355 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 591 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 365 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 437 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 545 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 397 of file qsgbatchrenderer.cpp.

References 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 462 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 489 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: