Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsgnode.cpp File Reference

(0ba9ff8b0552fe0928770b5b4cd5f43d3aa3445c)

#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 1476 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 1425 of file qsgnode.cpp.

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

+ Here is the call graph for this function:

◆ operator<<() [3/6]

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

Definition at line 1556 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 1520 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 1539 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 1497 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 19 of file qsgnode.cpp.

References qCDebug, and qt_node_count.

Variable Documentation

◆ OPACITY_THRESHOLD

const qreal OPACITY_THRESHOLD = 0.001

Definition at line 1301 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 17 of file qsgnode.cpp.

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