![]() |
Qt 6.x
The Qt SDK
|
#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 void | updateStates (QSGNode *n) |
| 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< qreal > | m_opacity_stack |
| const QSGClipNode * | m_current_clip |
| int | m_force_update |
Definition at line 563 of file qsgbatchrenderer_p.h.
| QSGBatchRenderer::Updater::Updater | ( | Renderer * | r | ) |
Definition at line 341 of file qsgbatchrenderer.cpp.
References QDataBuffer< Type >::add(), and QSGNodeUpdater::m_combined_matrix_stack.
Here is the call graph for this function:Referenced by updateRootTransforms(), and visitTransformNode().
Here is the caller graph for this function:| void QSGBatchRenderer::Updater::updateRootTransforms | ( | Node * | n, |
| Node * | root, | ||
| const QMatrix4x4 & | combined | ||
| ) |
Definition at line 577 of file qsgbatchrenderer.cpp.
References QSGNode::ClipNodeType, info, it, Q_ASSERT, QSGBatchRenderer::Node::sgNode, QSGNode::TransformNodeType, QSGBatchRenderer::Node::type(), and updateRootTransforms().
Here is the call graph for this function:Reimplemented from QSGNodeUpdater.
Definition at line 351 of file qsgbatchrenderer.cpp.
References QSGNode::DirtyForceUpdate, QSGNode::DirtyMatrix, QSGNode::DirtyNodeAdded, QSGNode::DirtyOpacity, QSGBatchRenderer::Node::dirtyState, QSGNodeUpdater::m_current_clip, QSGBatchRenderer::Visualizer::mode(), Q_ASSERT, Q_UNLIKELY, qDebug, QSGBatchRenderer::qsg_dumpShadowRoots(), visitNode(), QSGBatchRenderer::Visualizer::VisualizeChanges, and QSGBatchRenderer::Visualizer::visualizeChangesPrepare().
Here is the call graph for this function:Definition at line 423 of file qsgbatchrenderer.cpp.
References QDataBuffer< Type >::add(), child, QSGBasicGeometryNode::clipList(), QDataBuffer< Type >::last(), QSGNodeUpdater::m_combined_matrix_stack, QSGNodeUpdater::m_current_clip, QSGBatchRenderer::ClipBatchRootInfo::matrix, QDataBuffer< Type >::pop_back(), QSGBasicGeometryNode::setRendererClipList(), QSGBasicGeometryNode::setRendererMatrix(), SHADOWNODE_TRAVERSE, and visitNode().
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 531 of file qsgbatchrenderer.cpp.
References child, e, info, QSGBatchRenderer::isTranslate(), QDataBuffer< Type >::last(), QSGNodeUpdater::m_combined_matrix_stack, QSGNodeUpdater::m_current_clip, QSGNodeUpdater::m_opacity_stack, QSGBasicGeometryNode::matrix(), QSGGeometryNode::setInheritedOpacity(), QSGBasicGeometryNode::setRendererClipList(), QSGBasicGeometryNode::setRendererMatrix(), SHADOWNODE_TRAVERSE, and visitNode().
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 383 of file qsgbatchrenderer.cpp.
References child, QSGNode::ClipNodeType, QSGNode::DirtyForceUpdate, QSGNode::DirtyNodeAdded, QSGNode::GeometryNodeType, QSGNodeUpdater::m_force_update, QSGNode::OpacityNodeType, Q_FALLTHROUGH, QSGNode::RenderNodeType, SHADOWNODE_TRAVERSE, QSGNode::TransformNodeType, 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:Definition at line 448 of file qsgbatchrenderer.cpp.
References QDataBuffer< Type >::add(), child, QSGNode::DirtyOpacity, QDataBuffer< Type >::last(), QSGNodeUpdater::m_opacity_stack, QSGOpacityNode::opacity(), QSGBatchRenderer::OPAQUE_LIMIT, QDataBuffer< Type >::pop_back(), QSGOpacityNode::setCombinedOpacity(), SHADOWNODE_TRAVERSE, and visitNode().
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 475 of file qsgbatchrenderer.cpp.
References QDataBuffer< Type >::add(), child, QSGTransformNode::combinedMatrix(), QSGNode::DirtyMatrix, info, QMatrix4x4::isIdentity(), it, QDataBuffer< Type >::last(), QSGNodeUpdater::m_combined_matrix_stack, QSGNodeUpdater::m_force_update, QSGTransformNode::matrix(), QDataBuffer< Type >::pop_back(), QSGTransformNode::setCombinedMatrix(), SHADOWNODE_TRAVERSE, updateRootTransforms(), and visitNode().
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function: