![]() |
Qt 6.x
The Qt SDK
|
#include <qsgnodeupdater_p.h>
Inheritance diagram for QSGNodeUpdater:
Collaboration diagram for QSGNodeUpdater:Public Member Functions | |
| 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. | |
Protected Member Functions | |
| 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 | |
| QDataBuffer< const QMatrix4x4 * > | m_combined_matrix_stack |
| QDataBuffer< qreal > | m_opacity_stack |
| const QSGClipNode * | m_current_clip |
| int | m_force_update |
Definition at line 31 of file qsgnodeupdater_p.h.
| QT_BEGIN_NAMESPACE QSGNodeUpdater::QSGNodeUpdater | ( | ) |
Definition at line 12 of file qsgnodeupdater.cpp.
References QDataBuffer< Type >::add(), and m_opacity_stack.
Here is the call graph for this function:
|
virtual |
Definition at line 21 of file qsgnodeupdater.cpp.
|
protected |
Definition at line 94 of file qsgnodeupdater.cpp.
References QDataBuffer< Type >::isEmpty(), QDataBuffer< Type >::last(), m_combined_matrix_stack, m_current_clip, and qDebug.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 116 of file qsgnodeupdater.cpp.
References QDataBuffer< Type >::isEmpty(), QDataBuffer< Type >::last(), m_combined_matrix_stack, m_current_clip, m_opacity_stack, and qDebug.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 157 of file qsgnodeupdater.cpp.
References QDataBuffer< Type >::add(), QDataBuffer< Type >::last(), m_opacity_stack, o, and qDebug.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 136 of file qsgnodeupdater.cpp.
References QSGRenderNodePrivate::get(), QDataBuffer< Type >::isEmpty(), QDataBuffer< Type >::last(), m_combined_matrix_stack, m_current_clip, m_opacity_stack, qDebug, and rd.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Definition at line 58 of file qsgnodeupdater.cpp.
References QDataBuffer< Type >::add(), QDataBuffer< Type >::isEmpty(), QDataBuffer< Type >::last(), m_combined_matrix_stack, m_force_update, and qDebug.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:Returns true if node is has something that blocks it in the chain from node to root doing a full state update pass.
This function does not process dirty states, simply does a simple traversion up to the top.
The function assumes that root exists in the parent chain of node.
Definition at line 47 of file qsgnodeupdater.cpp.
References QSGNode::isSubtreeBlocked(), and QSGNode::parent().
Referenced by QSGRenderer::preprocess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 106 of file qsgnodeupdater.cpp.
References m_current_clip, and qDebug.
Referenced by visitNode().
Here is the caller graph for this function:
|
protected |
Definition at line 127 of file qsgnodeupdater.cpp.
References Q_UNUSED, and qDebug.
Referenced by visitNode().
Here is the caller graph for this function:
|
protected |
Definition at line 168 of file qsgnodeupdater.cpp.
References QSGNode::DirtyOpacity, m_force_update, m_opacity_stack, o, QDataBuffer< Type >::pop_back(), and qDebug.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 148 of file qsgnodeupdater.cpp.
References Q_UNUSED, and qDebug.
Referenced by visitNode().
Here is the caller graph for this function:
|
protectedvirtual |
Definition at line 81 of file qsgnodeupdater.cpp.
References m_combined_matrix_stack, QDataBuffer< Type >::pop_back(), and qDebug.
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in QSGBatchRenderer::Updater.
Definition at line 25 of file qsgnodeupdater.cpp.
References QDataBuffer< Type >::isEmpty(), m_combined_matrix_stack, m_current_clip, m_force_update, m_opacity_stack, Q_ASSERT, QDataBuffer< Type >::size(), and visitNode().
Referenced by QSGRenderer::preprocess().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 179 of file qsgnodeupdater.cpp.
References QSGNode::firstChild(), and visitNode().
Referenced by visitNode().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 185 of file qsgnodeupdater.cpp.
References QSGNode::ClipNodeType, enterClipNode(), enterGeometryNode(), enterOpacityNode(), enterRenderNode(), enterTransformNode(), QSGNode::GeometryNodeType, leaveClipNode(), leaveGeometryNode(), leaveOpacityNode(), leaveRenderNode(), leaveTransformNode(), m_force_update, o, QSGNode::OpacityNodeType, qDebug, QSGNode::RenderNodeType, QSGNode::TransformNodeType, and visitChildren().
Referenced by updateStates(), and visitChildren().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 56 of file qsgnodeupdater_p.h.
Referenced by QSGBatchRenderer::Updater::Updater(), enterClipNode(), enterGeometryNode(), enterRenderNode(), enterTransformNode(), leaveTransformNode(), updateStates(), QSGBatchRenderer::Updater::visitClipNode(), QSGBatchRenderer::Updater::visitGeometryNode(), and QSGBatchRenderer::Updater::visitTransformNode().
|
protected |
Definition at line 58 of file qsgnodeupdater_p.h.
Referenced by enterClipNode(), enterGeometryNode(), enterRenderNode(), leaveClipNode(), updateStates(), QSGBatchRenderer::Updater::updateStates(), QSGBatchRenderer::Updater::visitClipNode(), and QSGBatchRenderer::Updater::visitGeometryNode().
|
protected |
Definition at line 60 of file qsgnodeupdater_p.h.
Referenced by enterTransformNode(), leaveOpacityNode(), updateStates(), QSGBatchRenderer::Updater::visitNode(), visitNode(), and QSGBatchRenderer::Updater::visitTransformNode().
|
protected |
Definition at line 57 of file qsgnodeupdater_p.h.
Referenced by QSGNodeUpdater(), enterGeometryNode(), enterOpacityNode(), enterRenderNode(), leaveOpacityNode(), updateStates(), QSGBatchRenderer::Updater::visitGeometryNode(), and QSGBatchRenderer::Updater::visitOpacityNode().