Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | class QSGAbstractRenderer; | - |
10 | class QSGRenderer; | - |
11 | | - |
12 | class QSGNode; | - |
13 | class QSGRootNode; | - |
14 | class QSGGeometryNode; | - |
15 | class QSGTransformNode; | - |
16 | class QSGClipNode; | - |
17 | class QSGNodePrivate; | - |
18 | class QSGBasicGeometryNodePrivate; | - |
19 | class QSGGeometryNodePrivate; | - |
20 | | - |
21 | namespace QSGBatchRenderer { | - |
22 | class Renderer; | - |
23 | class Updater; | - |
24 | } | - |
25 | | - |
26 | class __attribute__((visibility("default"))) QSGNode | - |
27 | { | - |
28 | public: | - |
29 | enum NodeType { | - |
30 | BasicNodeType, | - |
31 | GeometryNodeType, | - |
32 | TransformNodeType, | - |
33 | ClipNodeType, | - |
34 | OpacityNodeType, | - |
35 | RootNodeType, | - |
36 | RenderNodeType | - |
37 | }; | - |
38 | | - |
39 | enum Flag { | - |
40 | | - |
41 | OwnedByParent = 0x0001, | - |
42 | UsePreprocess = 0x0002, | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | OwnsGeometry = 0x00010000, | - |
48 | OwnsMaterial = 0x00020000, | - |
49 | OwnsOpaqueMaterial = 0x00040000, | - |
50 | | - |
51 | | - |
52 | IsVisitableNode = 0x01000000 | - |
53 | | - |
54 | | - |
55 | | - |
56 | }; | - |
57 | typedef QFlags<Flag> Flags; | - |
58 | | - |
59 | enum DirtyStateBit { | - |
60 | DirtySubtreeBlocked = 0x0080, | - |
61 | DirtyMatrix = 0x0100, | - |
62 | DirtyNodeAdded = 0x0400, | - |
63 | DirtyNodeRemoved = 0x0800, | - |
64 | DirtyGeometry = 0x1000, | - |
65 | DirtyMaterial = 0x2000, | - |
66 | DirtyOpacity = 0x4000, | - |
67 | | - |
68 | DirtyForceUpdate = 0x8000, | - |
69 | | - |
70 | DirtyUsePreprocess = UsePreprocess, | - |
71 | | - |
72 | DirtyPropagationMask = DirtyMatrix | - |
73 | | DirtyNodeAdded | - |
74 | | DirtyOpacity | - |
75 | | DirtyForceUpdate | - |
76 | | - |
77 | }; | - |
78 | typedef QFlags<DirtyStateBit> DirtyState; | - |
79 | | - |
80 | QSGNode(); | - |
81 | virtual ~QSGNode(); | - |
82 | | - |
83 | QSGNode *parent() const { returnexecuted 10368063 times by 78 tests: return m_parent; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_parent;executed 10368063 times by 78 tests: return m_parent; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 10368063 |
84 | | - |
85 | void removeChildNode(QSGNode *node); | - |
86 | void removeAllChildNodes(); | - |
87 | void prependChildNode(QSGNode *node); | - |
88 | void appendChildNode(QSGNode *node); | - |
89 | void insertChildNodeBefore(QSGNode *node, QSGNode *before); | - |
90 | void insertChildNodeAfter(QSGNode *node, QSGNode *after); | - |
91 | void reparentChildNodesTo(QSGNode *newParent); | - |
92 | | - |
93 | int childCount() const; | - |
94 | QSGNode *childAtIndex(int i) const; | - |
95 | QSGNode *firstChild() const { returnexecuted 7323620 times by 78 tests: return m_firstChild; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_firstChild;executed 7323620 times by 78 tests: return m_firstChild; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 7323620 |
96 | QSGNode *lastChild() const { return never executed: return m_lastChild; m_lastChild;never executed: return m_lastChild; } | 0 |
97 | QSGNode *nextSibling() const { returnexecuted 6012046 times by 78 tests: return m_nextSibling; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_nextSibling;executed 6012046 times by 78 tests: return m_nextSibling; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 6012046 |
98 | QSGNode* previousSibling() const { return never executed: return m_previousSibling; m_previousSibling;never executed: return m_previousSibling; } | 0 |
99 | | - |
100 | inline NodeType type() const { returnexecuted 30605450 times by 78 tests: return m_type; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_type;executed 30605450 times by 78 tests: return m_type; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 30605450 |
101 | | - |
102 | void clearDirty() { } | - |
103 | void markDirty(DirtyState bits); | - |
104 | DirtyState dirtyState() const { return never executed: return nullptr; nullptr;never executed: return nullptr; } | 0 |
105 | | - |
106 | virtual bool isSubtreeBlocked() const; | - |
107 | | - |
108 | Flags flags() const { returnexecuted 5836810 times by 78 tests: return m_nodeFlags; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_nodeFlags;executed 5836810 times by 78 tests: return m_nodeFlags; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 5836810 |
109 | void setFlag(Flag, bool = true); | - |
110 | void setFlags(Flags, bool = true); | - |
111 | | - |
112 | virtual void preprocess() { } | - |
113 | | - |
114 | protected: | - |
115 | QSGNode(NodeType type); | - |
116 | QSGNode(QSGNodePrivate &dd, NodeType type); | - |
117 | | - |
118 | private: | - |
119 | friend class QSGRootNode; | - |
120 | friend class QSGBatchRenderer::Renderer; | - |
121 | friend class QSGRenderer; | - |
122 | | - |
123 | void init(); | - |
124 | void destroy(); | - |
125 | | - |
126 | QSGNode *m_parent = nullptr; | - |
127 | NodeType m_type = BasicNodeType; | - |
128 | QSGNode *m_firstChild = nullptr; | - |
129 | QSGNode *m_lastChild = nullptr; | - |
130 | QSGNode *m_nextSibling = nullptr; | - |
131 | QSGNode *m_previousSibling = nullptr; | - |
132 | int m_subtreeRenderableCount = 0; | - |
133 | | - |
134 | Flags m_nodeFlags; | - |
135 | DirtyState m_dirtyState; | - |
136 | | - |
137 | protected: | - |
138 | friend class QSGNodePrivate; | - |
139 | | - |
140 | QScopedPointer<QSGNodePrivate> d_ptr; | - |
141 | }; | - |
142 | | - |
143 | void __attribute__((visibility("default"))) qsgnode_set_description(QSGNode *node, const QString &description); | - |
144 | | - |
145 | class __attribute__((visibility("default"))) QSGBasicGeometryNode : public QSGNode | - |
146 | { | - |
147 | public: | - |
148 | ~QSGBasicGeometryNode() override; | - |
149 | | - |
150 | void setGeometry(QSGGeometry *geometry); | - |
151 | const QSGGeometry *geometry() const { returnexecuted 16 times by 1 test: return m_geometry; m_geometry;executed 16 times by 1 test: return m_geometry; } | 16 |
152 | QSGGeometry *geometry() { returnexecuted 26160887 times by 73 tests: return m_geometry; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
m_geometry;executed 26160887 times by 73 tests: return m_geometry; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
} | 26160887 |
153 | | - |
154 | const QMatrix4x4 *matrix() const { returnexecuted 4396617 times by 72 tests: return m_matrix; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
m_matrix;executed 4396617 times by 72 tests: return m_matrix; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
} | 4396617 |
155 | const QSGClipNode *clipList() const { returnexecuted 6212378 times by 72 tests: return m_clip_list; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
m_clip_list;executed 6212378 times by 72 tests: return m_clip_list; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
} | 6212378 |
156 | | - |
157 | void setRendererMatrix(const QMatrix4x4 *m) { m_matrix = m; }executed 1099819 times by 73 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| 1099819 |
158 | void setRendererClipList(const QSGClipNode *c) { m_clip_list = c; }executed 1099819 times by 73 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| 1099819 |
159 | | - |
160 | protected: | - |
161 | QSGBasicGeometryNode(NodeType type); | - |
162 | QSGBasicGeometryNode(QSGBasicGeometryNodePrivate &dd, NodeType type); | - |
163 | | - |
164 | private: | - |
165 | friend class QSGNodeUpdater; | - |
166 | | - |
167 | QSGGeometry *m_geometry; | - |
168 | | - |
169 | int m_reserved_start_index; | - |
170 | int m_reserved_end_index; | - |
171 | | - |
172 | const QMatrix4x4 *m_matrix; | - |
173 | const QSGClipNode *m_clip_list; | - |
174 | }; | - |
175 | | - |
176 | class QSGMaterial; | - |
177 | | - |
178 | class __attribute__((visibility("default"))) QSGGeometryNode : public QSGBasicGeometryNode | - |
179 | { | - |
180 | public: | - |
181 | QSGGeometryNode(); | - |
182 | ~QSGGeometryNode() override; | - |
183 | | - |
184 | void setMaterial(QSGMaterial *material); | - |
185 | QSGMaterial *material() const { returnexecuted 1147754 times by 72 tests: return m_material; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
m_material;executed 1147754 times by 72 tests: return m_material; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
} | 1147754 |
186 | | - |
187 | void setOpaqueMaterial(QSGMaterial *material); | - |
188 | QSGMaterial *opaqueMaterial() const { returnexecuted 551567 times by 72 tests: return m_opaque_material; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
m_opaque_material;executed 551567 times by 72 tests: return m_opaque_material; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
} | 551567 |
189 | | - |
190 | QSGMaterial *activeMaterial() const; | - |
191 | | - |
192 | void setRenderOrder(int order); | - |
193 | int renderOrder() const { return never executed: return m_render_order; m_render_order;never executed: return m_render_order; } | 0 |
194 | | - |
195 | void setInheritedOpacity(qreal opacity); | - |
196 | qreal inheritedOpacity() const { returnexecuted 7509650 times by 72 tests: return m_opacity; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
m_opacity;executed 7509650 times by 72 tests: return m_opacity; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
} | 7509650 |
197 | | - |
198 | protected: | - |
199 | QSGGeometryNode(QSGGeometryNodePrivate &dd); | - |
200 | | - |
201 | private: | - |
202 | friend class QSGNodeUpdater; | - |
203 | | - |
204 | int m_render_order = 0; | - |
205 | QSGMaterial *m_material = nullptr; | - |
206 | QSGMaterial *m_opaque_material = nullptr; | - |
207 | | - |
208 | qreal m_opacity = 1; | - |
209 | }; | - |
210 | | - |
211 | class __attribute__((visibility("default"))) QSGClipNode : public QSGBasicGeometryNode | - |
212 | { | - |
213 | public: | - |
214 | QSGClipNode(); | - |
215 | ~QSGClipNode() override; | - |
216 | | - |
217 | void setIsRectangular(bool rectHint); | - |
218 | bool isRectangular() const { returnexecuted 948 times by 8 tests: return m_is_rectangular; Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
m_is_rectangular;executed 948 times by 8 tests: return m_is_rectangular; Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
} | 948 |
219 | | - |
220 | void setClipRect(const QRectF &); | - |
221 | QRectF clipRect() const { returnexecuted 932 times by 8 tests: return m_clip_rect; Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
m_clip_rect;executed 932 times by 8 tests: return m_clip_rect; Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
} | 932 |
222 | | - |
223 | private: | - |
224 | uint m_is_rectangular : 1; | - |
225 | uint m_reserved : 31; | - |
226 | | - |
227 | QRectF m_clip_rect; | - |
228 | }; | - |
229 | | - |
230 | | - |
231 | class __attribute__((visibility("default"))) QSGTransformNode : public QSGNode | - |
232 | { | - |
233 | public: | - |
234 | QSGTransformNode(); | - |
235 | ~QSGTransformNode() override; | - |
236 | | - |
237 | void setMatrix(const QMatrix4x4 &matrix); | - |
238 | const QMatrix4x4 &matrix() const { returnexecuted 2297285 times by 77 tests: return m_matrix; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
m_matrix;executed 2297285 times by 77 tests: return m_matrix; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
} | 2297285 |
239 | | - |
240 | void setCombinedMatrix(const QMatrix4x4 &matrix); | - |
241 | const QMatrix4x4 &combinedMatrix() const { returnexecuted 720536 times by 44 tests: return m_combined_matrix; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- ...
m_combined_matrix;executed 720536 times by 44 tests: return m_combined_matrix; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- ...
} | 720536 |
242 | | - |
243 | private: | - |
244 | QMatrix4x4 m_matrix; | - |
245 | QMatrix4x4 m_combined_matrix; | - |
246 | }; | - |
247 | | - |
248 | | - |
249 | class __attribute__((visibility("default"))) QSGRootNode : public QSGNode | - |
250 | { | - |
251 | public: | - |
252 | QSGRootNode(); | - |
253 | ~QSGRootNode() override; | - |
254 | | - |
255 | private: | - |
256 | void notifyNodeChange(QSGNode *node, DirtyState state); | - |
257 | | - |
258 | friend class QSGAbstractRenderer; | - |
259 | friend class QSGNode; | - |
260 | friend class QSGGeometryNode; | - |
261 | | - |
262 | QList<QSGAbstractRenderer *> m_renderers; | - |
263 | }; | - |
264 | | - |
265 | | - |
266 | class __attribute__((visibility("default"))) QSGOpacityNode : public QSGNode | - |
267 | { | - |
268 | public: | - |
269 | QSGOpacityNode(); | - |
270 | ~QSGOpacityNode() override; | - |
271 | | - |
272 | void setOpacity(qreal opacity); | - |
273 | qreal opacity() const { returnexecuted 83095 times by 19 tests: return m_opacity; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
m_opacity;executed 83095 times by 19 tests: return m_opacity; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
} | 83095 |
274 | | - |
275 | void setCombinedOpacity(qreal opacity); | - |
276 | qreal combinedOpacity() const { returnexecuted 14 times by 1 test: return m_combined_opacity; m_combined_opacity;executed 14 times by 1 test: return m_combined_opacity; } | 14 |
277 | | - |
278 | bool isSubtreeBlocked() const override; | - |
279 | | - |
280 | private: | - |
281 | qreal m_opacity = 1; | - |
282 | qreal m_combined_opacity = 1; | - |
283 | }; | - |
284 | | - |
285 | class __attribute__((visibility("default"))) QSGNodeVisitor { | - |
286 | public: | - |
287 | virtual ~QSGNodeVisitor(); | - |
288 | | - |
289 | protected: | - |
290 | virtual void enterTransformNode(QSGTransformNode *) {} | - |
291 | virtual void leaveTransformNode(QSGTransformNode *) {} | - |
292 | virtual void enterClipNode(QSGClipNode *) {} | - |
293 | virtual void leaveClipNode(QSGClipNode *) {} | - |
294 | virtual void enterGeometryNode(QSGGeometryNode *) {} | - |
295 | virtual void leaveGeometryNode(QSGGeometryNode *) {} | - |
296 | virtual void enterOpacityNode(QSGOpacityNode *) {} | - |
297 | virtual void leaveOpacityNode(QSGOpacityNode *) {} | - |
298 | virtual void visitNode(QSGNode *n); | - |
299 | virtual void visitChildren(QSGNode *n); | - |
300 | }; | - |
301 | | - |
302 | | - |
303 | __attribute__((visibility("default"))) QDebug operator<<(QDebug, const QSGNode *n); | - |
304 | __attribute__((visibility("default"))) QDebug operator<<(QDebug, const QSGGeometryNode *n); | - |
305 | __attribute__((visibility("default"))) QDebug operator<<(QDebug, const QSGTransformNode *n); | - |
306 | __attribute__((visibility("default"))) QDebug operator<<(QDebug, const QSGOpacityNode *n); | - |
307 | __attribute__((visibility("default"))) QDebug operator<<(QDebug, const QSGRootNode *n); | - |
308 | | - |
309 | | - |
310 | | - |
311 | constexpr inline QFlags<QSGNode::DirtyState::enum_type> operator|(QSGNode::DirtyState::enum_type f1, QSGNode::DirtyState::enum_type f2) noexcept { return QFlags<QSGNode::DirtyState::enum_type>(f1) | f2; } constexpr inline QFlags<QSGNode::DirtyState::enum_type> operator|(QSGNode::DirtyState::enum_type f1, QFlags<QSGNode::DirtyState::enum_type> f2) noexcept { return f2 | f1; } constexpr inline QIncompatibleFlag operator|(QSGNode::DirtyState::enum_type f1, int f2) noexcept { return QIncompatibleFlag(int(f1) | f2); } | - |
312 | constexpr inline QFlags<QSGNode::Flags::enum_type> operator|(QSGNode::Flags::enum_type f1, QSGNode::Flags::enum_type f2) noexcept { return QFlags<QSGNode::Flags::enum_type>(f1) | f2; } constexpr inline QFlags<QSGNode::Flags::enum_type> operator|(QSGNode::Flags::enum_type f1, QFlags<QSGNode::Flags::enum_type> f2) noexcept { return f2 | f1; } constexpr inline QIncompatibleFlag operator|(QSGNode::Flags::enum_type f1, int f2) noexcept { return QIncompatibleFlag(int(f1) | f2); } | - |
313 | | - |
314 | | - |
| | |