Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qsgnodeupdater_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QSGNODEUPDATER_P_H
6
#
define
QSGNODEUPDATER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
private
/
qtquickglobal_p
.
h
>
20
#
include
<
QtGui
/
private
/
qdatabuffer_p
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QSGNode;
25
class
QSGTransformNode;
26
class
QSGClipNode;
27
class
QSGOpacityNode;
28
class
QSGGeometryNode;
29
class
QMatrix4x4;
30
class
QSGRenderNode;
31
32
class
Q_QUICK_EXPORT
QSGNodeUpdater
33
{
34
public
:
35
QSGNodeUpdater();
36
virtual
~QSGNodeUpdater();
37
38
virtual
void
updateStates(QSGNode *n);
39
virtual
bool
isNodeBlocked(QSGNode *n, QSGNode *root)
const
;
40
41
protected
:
42
virtual
void
enterTransformNode(QSGTransformNode *);
43
virtual
void
leaveTransformNode(QSGTransformNode *);
44
void
enterClipNode(QSGClipNode *c);
45
void
leaveClipNode(QSGClipNode *c);
46
void
enterOpacityNode(QSGOpacityNode *o);
47
void
leaveOpacityNode(QSGOpacityNode *o);
48
void
enterGeometryNode(QSGGeometryNode *);
49
void
leaveGeometryNode(QSGGeometryNode *);
50
void
enterRenderNode(QSGRenderNode *);
51
void
leaveRenderNode(QSGRenderNode *);
52
53
void
visitNode(QSGNode *n);
54
void
visitChildren(QSGNode *n);
55
56
57
QDataBuffer<
const
QMatrix4x4 *> m_combined_matrix_stack;
58
QDataBuffer<qreal> m_opacity_stack;
59
const
QSGClipNode *m_current_clip;
60
61
int
m_force_update;
62
};
63
64
QT_END_NAMESPACE
65
66
#
endif
QSGBasicGeometryNodePrivate
Definition
qsgnode_p.h:50
QSGBasicGeometryNodePrivate::QSGBasicGeometryNodePrivate
QSGBasicGeometryNodePrivate()
Definition
qsgnode_p.h:52
QSGGeometryNodePrivate
Definition
qsgnode_p.h:57
QSGGeometryNodePrivate::QSGGeometryNodePrivate
QSGGeometryNodePrivate()
Definition
qsgnode_p.h:59
QSGNodeUpdater
\inmodule QtQuick
Definition
qsgnodeupdater_p.h:33
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
operator<<
QDebug operator<<(QDebug d, const QSGRootNode *n)
Definition
qsgnode.cpp:1570
operator<<
QDebug operator<<(QDebug d, const QSGClipNode *n)
Definition
qsgnode.cpp:1507
operator<<
QDebug operator<<(QDebug d, const QSGNode *n)
Definition
qsgnode.cpp:1587
operator<<
QDebug operator<<(QDebug d, const QSGTransformNode *n)
Definition
qsgnode.cpp:1528
qsgnode_set_description
void qsgnode_set_description(QSGNode *node, const QString &description)
Definition
qsgnode.cpp:670
operator<<
QDebug operator<<(QDebug d, const QSGOpacityNode *n)
Definition
qsgnode.cpp:1551
qt_print_node_count
static void qt_print_node_count()
Definition
qsgnode.cpp:20
qt_node_count
static QT_BEGIN_NAMESPACE int qt_node_count
Definition
qsgnode.cpp:18
operator<<
QDebug operator<<(QDebug d, const QSGGeometryNode *n)
Definition
qsgnode.cpp:1456
OPACITY_THRESHOLD
const qreal OPACITY_THRESHOLD
Definition
qsgnode.cpp:1330
QSG_RUNTIME_DESCRIPTION
#define QSG_RUNTIME_DESCRIPTION
Definition
qsgnode.h:17
qtdeclarative
src
quick
scenegraph
coreapi
qsgnodeupdater_p.h
Generated on
for Qt by
1.18.0