Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qsgnode.cpp File Reference
#include "qsgnode.h"
#include "qsgnode_p.h"
#include "qsgrenderer_p.h"
#include "qsgnodeupdater_p.h"
#include "qsgmaterial.h"
#include "limits.h"
+ Include dependency graph for qsgnode.cpp:

Go to the source code of this file.

Functions

static void qt_print_node_count ()
 
void qsgnode_set_description (QSGNode *node, const QString &description)
 
QDebug operator<< (QDebug d, const QSGGeometryNode *n)
 
QDebug operator<< (QDebug d, const QSGClipNode *n)
 
QDebug operator<< (QDebug d, const QSGTransformNode *n)
 
QDebug operator<< (QDebug d, const QSGOpacityNode *n)
 
QDebug operator<< (QDebug d, const QSGRootNode *n)
 
QDebug operator<< (QDebug d, const QSGNode *n)
 

Variables

static QT_BEGIN_NAMESPACE int qt_node_count = 0
 
const qreal OPACITY_THRESHOLD = 0.001
 

Function Documentation

◆ operator<<() [1/6]

QDebug operator<< ( QDebug  d,
const QSGClipNode n 
)

Definition at line 1474 of file qsgnode.cpp.

References d, Qt::dec(), QSGNodePrivate::description(), and Qt::hex().

+ Here is the call graph for this function:

◆ operator<<() [2/6]

QDebug operator<< ( QDebug  d,
const QSGGeometryNode n 
)

Definition at line 1423 of file qsgnode.cpp.

References d, Qt::dec(), QSGNodePrivate::description(), QSGGeometry::DrawTriangleFan, QSGGeometry::DrawTriangles, QSGGeometry::DrawTriangleStrip, QSGGeometry::FloatType, Qt::hex(), i, qMax(), and qMin().

+ Here is the call graph for this function:

◆ operator<<() [3/6]

QDebug operator<< ( QDebug  d,
const QSGNode n 
)

Definition at line 1554 of file qsgnode.cpp.

References QSGNode::ClipNodeType, d, Qt::dec(), QSGNodePrivate::description(), QSGNode::GeometryNodeType, Qt::hex(), QSGNode::OpacityNodeType, QSGNode::RenderNodeType, QSGNode::RootNodeType, and QSGNode::TransformNodeType.

+ Here is the call graph for this function:

◆ operator<<() [4/6]

QDebug operator<< ( QDebug  d,
const QSGOpacityNode n 
)

Definition at line 1518 of file qsgnode.cpp.

References d, Qt::dec(), QSGNodePrivate::description(), and Qt::hex().

+ Here is the call graph for this function:

◆ operator<<() [5/6]

QDebug operator<< ( QDebug  d,
const QSGRootNode n 
)

Definition at line 1537 of file qsgnode.cpp.

References d, QSGNodePrivate::description(), and Qt::hex().

+ Here is the call graph for this function:

◆ operator<<() [6/6]

QDebug operator<< ( QDebug  d,
const QSGTransformNode n 
)

Definition at line 1495 of file qsgnode.cpp.

References d, Qt::dec(), QSGNodePrivate::description(), and Qt::hex().

+ Here is the call graph for this function:

◆ qsgnode_set_description()

◆ qt_print_node_count()

static void qt_print_node_count ( )
static

Definition at line 17 of file qsgnode.cpp.

References qDebug, and qt_node_count.

Variable Documentation

◆ OPACITY_THRESHOLD

const qreal OPACITY_THRESHOLD = 0.001

Definition at line 1299 of file qsgnode.cpp.

Referenced by QSGOpacityNode::isSubtreeBlocked(), and QSGOpacityNode::setOpacity().

◆ qt_node_count

QT_BEGIN_NAMESPACE int qt_node_count = 0
static

Definition at line 15 of file qsgnode.cpp.

Referenced by QSGNode::~QSGNode(), and qt_print_node_count().