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
QSGNodeUpdater Class Reference

#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< qrealm_opacity_stack
const QSGClipNodem_current_clip
int m_force_update

Detailed Description

Definition at line 31 of file qsgnodeupdater_p.h.

Constructor & Destructor Documentation

◆ QSGNodeUpdater()

QT_BEGIN_NAMESPACE QSGNodeUpdater::QSGNodeUpdater ( )

Definition at line 12 of file qsgnodeupdater.cpp.

◆ ~QSGNodeUpdater()

QSGNodeUpdater::~QSGNodeUpdater ( )
virtual

Definition at line 21 of file qsgnodeupdater.cpp.

Member Function Documentation

◆ enterClipNode()

void QSGNodeUpdater::enterClipNode ( QSGClipNode * c)
protected

Definition at line 94 of file qsgnodeupdater.cpp.

◆ enterGeometryNode()

void QSGNodeUpdater::enterGeometryNode ( QSGGeometryNode * g)
protected

Definition at line 116 of file qsgnodeupdater.cpp.

◆ enterOpacityNode()

void QSGNodeUpdater::enterOpacityNode ( QSGOpacityNode * o)
protected

Definition at line 157 of file qsgnodeupdater.cpp.

◆ enterRenderNode()

void QSGNodeUpdater::enterRenderNode ( QSGRenderNode * r)
protected

Definition at line 136 of file qsgnodeupdater.cpp.

◆ enterTransformNode()

void QSGNodeUpdater::enterTransformNode ( QSGTransformNode * t)
protectedvirtual

Definition at line 58 of file qsgnodeupdater.cpp.

◆ isNodeBlocked()

bool QSGNodeUpdater::isNodeBlocked ( QSGNode * node,
QSGNode * root ) const
virtual

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.

◆ leaveClipNode()

void QSGNodeUpdater::leaveClipNode ( QSGClipNode * c)
protected

Definition at line 106 of file qsgnodeupdater.cpp.

◆ leaveGeometryNode()

void QSGNodeUpdater::leaveGeometryNode ( QSGGeometryNode * g)
protected

Definition at line 127 of file qsgnodeupdater.cpp.

◆ leaveOpacityNode()

void QSGNodeUpdater::leaveOpacityNode ( QSGOpacityNode * o)
protected

Definition at line 168 of file qsgnodeupdater.cpp.

◆ leaveRenderNode()

void QSGNodeUpdater::leaveRenderNode ( QSGRenderNode * r)
protected

Definition at line 148 of file qsgnodeupdater.cpp.

◆ leaveTransformNode()

void QSGNodeUpdater::leaveTransformNode ( QSGTransformNode * t)
protectedvirtual

Definition at line 81 of file qsgnodeupdater.cpp.

◆ updateStates()

void QSGNodeUpdater::updateStates ( QSGNode * n)
virtual

Reimplemented in QSGBatchRenderer::Updater.

Definition at line 25 of file qsgnodeupdater.cpp.

◆ visitChildren()

void QSGNodeUpdater::visitChildren ( QSGNode * n)
protected

Definition at line 179 of file qsgnodeupdater.cpp.

◆ visitNode()

void QSGNodeUpdater::visitNode ( QSGNode * n)
protected

Definition at line 185 of file qsgnodeupdater.cpp.

Member Data Documentation

◆ m_combined_matrix_stack

QDataBuffer<const QMatrix4x4 *> QSGNodeUpdater::m_combined_matrix_stack
protected

Definition at line 56 of file qsgnodeupdater_p.h.

◆ m_current_clip

const QSGClipNode* QSGNodeUpdater::m_current_clip
protected

Definition at line 58 of file qsgnodeupdater_p.h.

◆ m_force_update

int QSGNodeUpdater::m_force_update
protected

Definition at line 60 of file qsgnodeupdater_p.h.

◆ m_opacity_stack

QDataBuffer<qreal> QSGNodeUpdater::m_opacity_stack
protected

Definition at line 57 of file qsgnodeupdater_p.h.


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