Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | QSGGeometry::Attribute QSGGeometry::Attribute::create(int attributeIndex, int tupleSize, int primitiveType, bool isPrimitive) | - |
12 | { | - |
13 | Attribute a = { attributeIndex, tupleSize, primitiveType, isPrimitive, UnknownAttribute, 0 }; | - |
14 | returnexecuted 1994 times by 145 tests: return a; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_nokeywords
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlextensionplugin
- tst_qqmlimport
- tst_qqmlincubator
- ...
a;executed 1994 times by 145 tests: return a; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_nokeywords
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlextensionplugin
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 1994 |
15 | } | - |
16 | | - |
17 | QSGGeometry::Attribute QSGGeometry::Attribute::createWithAttributeType(int pos, int tupleSize, int primitiveType, AttributeType attributeType) | - |
18 | { | - |
19 | Attribute a; | - |
20 | a.position = pos; | - |
21 | a.tupleSize = tupleSize; | - |
22 | a.type = primitiveType; | - |
23 | a.isVertexCoordinate = attributeType == PositionAttribute; | - |
24 | a.attributeType = attributeType; | - |
25 | a.reserved = 0; | - |
26 | returnexecuted 502 times by 74 tests: return a; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
a;executed 502 times by 74 tests: return a; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
| 502 |
27 | } | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | const QSGGeometry::AttributeSet &QSGGeometry::defaultAttributes_Point2D() | - |
35 | { | - |
36 | static Attribute data[] = { | - |
37 | Attribute::createWithAttributeType(0, 2, FloatType, PositionAttribute) | - |
38 | }; | - |
39 | static AttributeSet attrs = { 1, sizeof(float) * 2, data }; | - |
40 | returnexecuted 200426 times by 13 tests: return attrs; Executed by:- tst_drawingmodes
- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickshape
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
attrs;executed 200426 times by 13 tests: return attrs; Executed by:- tst_drawingmodes
- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickshape
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
| 200426 |
41 | } | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | const QSGGeometry::AttributeSet &QSGGeometry::defaultAttributes_TexturedPoint2D() | - |
48 | { | - |
49 | static Attribute data[] = { | - |
50 | Attribute::createWithAttributeType(0, 2, FloatType, PositionAttribute), | - |
51 | Attribute::createWithAttributeType(1, 2, FloatType, TexCoordAttribute) | - |
52 | }; | - |
53 | static AttributeSet attrs = { 2, sizeof(float) * 4, data }; | - |
54 | returnexecuted 254492 times by 35 tests: return attrs; Executed by:- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_nodestest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickpincharea
- ...
attrs;executed 254492 times by 35 tests: return attrs; Executed by:- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_nodestest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickpincharea
- ...
| 254492 |
55 | } | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | const QSGGeometry::AttributeSet &QSGGeometry::defaultAttributes_ColoredPoint2D() | - |
62 | { | - |
63 | static Attribute data[] = { | - |
64 | Attribute::createWithAttributeType(0, 2, FloatType, PositionAttribute), | - |
65 | Attribute::createWithAttributeType(1, 4, UnsignedByteType, ColorAttribute) | - |
66 | }; | - |
67 | static AttributeSet attrs = { 2, 2 * sizeof(float) + 4 * sizeof(char), data }; | - |
68 | returnexecuted 73421 times by 66 tests: return attrs; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
attrs;executed 73421 times by 66 tests: return attrs; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 73421 |
69 | } | - |
70 | QSGGeometry::QSGGeometry(const QSGGeometry::AttributeSet &attributes, | - |
71 | int vertexCount, | - |
72 | int indexCount, | - |
73 | int indexType) | - |
74 | : m_drawing_mode(DrawTriangleStrip) | - |
75 | , m_vertex_count(0) | - |
76 | , m_index_count(0) | - |
77 | , m_index_type(indexType) | - |
78 | , m_attributes(attributes) | - |
79 | , m_data(nullptr) | - |
80 | , m_index_data_offset(-1) | - |
81 | , m_server_data(nullptr) | - |
82 | , m_owns_data(false) | - |
83 | , m_index_usage_pattern(AlwaysUploadPattern) | - |
84 | , m_vertex_usage_pattern(AlwaysUploadPattern) | - |
85 | , m_line_width(1.0) | - |
86 | { | - |
87 | (void)m_reserved_bits;; | - |
88 | ((m_attributes.count > 0) ? static_cast<void>(0) : qt_assert("m_attributes.count > 0", __FILE__, 442)); | - |
89 | ((m_attributes.stride > 0) ? static_cast<void>(0) : qt_assert("m_attributes.stride > 0", __FILE__, 443)); | - |
90 | | - |
91 | ((indexType != | - |
92 | 0x1405 | - |
93 | || static_cast<QOpenGLExtensions *>(QOpenGLContext::currentContext()->functions()) ->hasOpenGLExtension(QOpenGLExtensions::ElementIndexUint)) ? static_cast<void>(0) : qt_assert_x("QSGGeometry::QSGGeometry", "GL_UNSIGNED_INT is not supported, geometry will not render", | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | __FILE__ | - |
99 | , | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | 450 | - |
105 | )) | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | ; | - |
111 | | - |
112 | if (indexType != UnsignedByteTypeTRUE | evaluated 531813 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
| FALSE | never evaluated |
| 0-531813 |
113 | && indexType != UnsignedShortTypeTRUE | evaluated 33 times by 1 test | FALSE | evaluated 531780 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
|
| 33-531780 |
114 | && indexType != UnsignedIntTypeTRUE | never evaluated | FALSE | evaluated 33 times by 1 test |
) { | 0-33 |
115 | QMessageLogger(__FILE__, 455, __PRETTY_FUNCTION__).fatal("QSGGeometry: Unsupported index type, %x.\n", indexType); | - |
116 | } never executed: end of block | 0 |
117 | | - |
118 | | - |
119 | | - |
120 | allocate(vertexCount, indexCount); | - |
121 | }executed 531813 times by 74 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
| 531813 |
122 | QSGGeometry::~QSGGeometry() | - |
123 | { | - |
124 | if (m_owns_dataTRUE | evaluated 313422 times by 68 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| FALSE | evaluated 218391 times by 32 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickshape
- ...
|
) | 218391-313422 |
125 | free(m_data);executed 313422 times by 68 tests: free(m_data); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 313422 |
126 | | - |
127 | if (m_server_dataTRUE | never evaluated | FALSE | evaluated 531813 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
|
) | 0-531813 |
128 | delete m_server_data; never executed: delete m_server_data; | 0 |
129 | }executed 531813 times by 74 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
| 531813 |
130 | void *QSGGeometry::indexData() | - |
131 | { | - |
132 | returnexecuted 1106226 times by 68 tests: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
m_index_data_offset < 0executed 1106226 times by 68 tests: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 1106226 |
133 | ? nullptrexecuted 1106226 times by 68 tests: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 1106226 |
134 | : ((char *) m_data + m_index_data_offset);executed 1106226 times by 68 tests: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 1106226 |
135 | } | - |
136 | | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | const void *QSGGeometry::indexData() const | - |
143 | { | - |
144 | return never executed: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); m_index_data_offset < 0never executed: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); | 0 |
145 | ? nullptr never executed: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); | 0 |
146 | : ((char *) m_data + m_index_data_offset); never executed: return m_index_data_offset < 0 ? nullptr : ((char *) m_data + m_index_data_offset); | 0 |
147 | } | - |
148 | void QSGGeometry::setDrawingMode(unsigned int mode) | - |
149 | { | - |
150 | m_drawing_mode = mode; | - |
151 | }executed 331930 times by 68 tests: end of block 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 331930 |
152 | float QSGGeometry::lineWidth() const | - |
153 | { | - |
154 | returnexecuted 3939 times by 21 tests: return m_line_width; Executed by:- tst_drawingmodes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
m_line_width;executed 3939 times by 21 tests: return m_line_width; Executed by:- tst_drawingmodes
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 3939 |
155 | } | - |
156 | void QSGGeometry::setLineWidth(float width) | - |
157 | { | - |
158 | m_line_width = width; | - |
159 | } never executed: end of block | 0 |
160 | void QSGGeometry::allocate(int vertexCount, int indexCount) | - |
161 | { | - |
162 | if (vertexCount == m_vertex_countTRUE | evaluated 336765 times by 69 testsEvaluated 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| FALSE | evaluated 519134 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
|
&& indexCount == m_index_countTRUE | evaluated 336765 times by 69 testsEvaluated 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| FALSE | never evaluated |
) | 0-519134 |
163 | return;executed 336765 times by 69 tests: return; 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 336765 |
164 | | - |
165 | m_vertex_count = vertexCount; | - |
166 | m_index_count = indexCount; | - |
167 | | - |
168 | bool canUsePrealloc = m_index_count <= 0; | - |
169 | int vertexByteSize = m_attributes.stride * m_vertex_count; | - |
170 | | - |
171 | if (m_owns_dataTRUE | evaluated 127 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
| FALSE | evaluated 519007 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
|
) | 127-519007 |
172 | free(m_data);executed 127 times by 3 tests: free(m_data); Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
| 127 |
173 | | - |
174 | if (canUsePreallocTRUE | evaluated 205750 times by 43 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquicklistview
- tst_qquickmaskextruder
- tst_qquickpainteditem
- ...
| FALSE | evaluated 313384 times by 68 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
|
&& vertexByteSize <= (int) sizeof(m_prealloc)TRUE | evaluated 205585 times by 23 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickshape
- tst_qquicktableview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 165 times by 21 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
) { | 165-313384 |
175 | m_data = (void *) &m_prealloc[0]; | - |
176 | m_index_data_offset = -1; | - |
177 | m_owns_data = false; | - |
178 | }executed 205585 times by 23 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickshape
- tst_qquicktableview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
else { | 205585 |
179 | ((m_index_type == UnsignedIntType || m_index_type == UnsignedShortType) ? static_cast<void>(0) : qt_assert("m_index_type == UnsignedIntType || m_index_type == UnsignedShortType", __FILE__, 675)); | - |
180 | int indexByteSize = indexCount * (m_index_type == UnsignedShortType ? sizeof(quint16) : sizeof(quint32)); | - |
181 | m_data = (void *) malloc(vertexByteSize + indexByteSize); | - |
182 | do {if (!(m_data)TRUE | never evaluated | FALSE | evaluated 313549 times by 68 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
|
) qt_check_pointer(__FILE__,678);never executed: qt_check_pointer(__FILE__,678); } while (false); | 0-313549 |
183 | m_index_data_offset = vertexByteSize; | - |
184 | m_owns_data = true; | - |
185 | }executed 313549 times by 68 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 313549 |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | | - |
191 | if (m_server_dataTRUE | never evaluated | FALSE | evaluated 519134 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
|
) { | 0-519134 |
192 | markIndexDataDirty(); | - |
193 | markVertexDataDirty(); | - |
194 | } never executed: end of block | 0 |
195 | | - |
196 | }executed 519134 times by 74 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_geometry
- 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
- ...
| 519134 |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | void QSGGeometry::updateRectGeometry(QSGGeometry *g, const QRectF &rect) | - |
205 | { | - |
206 | Point2D *v = g->vertexDataAsPoint2D(); | - |
207 | v[0].x = rect.left(); | - |
208 | v[0].y = rect.top(); | - |
209 | | - |
210 | v[1].x = rect.left(); | - |
211 | v[1].y = rect.bottom(); | - |
212 | | - |
213 | v[2].x = rect.right(); | - |
214 | v[2].y = rect.top(); | - |
215 | | - |
216 | v[3].x = rect.right(); | - |
217 | v[3].y = rect.bottom(); | - |
218 | }executed 400614 times by 12 tests: end of block Executed by:- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickshape
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
| 400614 |
219 | void QSGGeometry::updateTexturedRectGeometry(QSGGeometry *g, const QRectF &rect, const QRectF &textureRect) | - |
220 | { | - |
221 | TexturedPoint2D *v = g->vertexDataAsTexturedPoint2D(); | - |
222 | v[0].x = rect.left(); | - |
223 | v[0].y = rect.top(); | - |
224 | v[0].tx = textureRect.left(); | - |
225 | v[0].ty = textureRect.top(); | - |
226 | | - |
227 | v[1].x = rect.left(); | - |
228 | v[1].y = rect.bottom(); | - |
229 | v[1].tx = textureRect.left(); | - |
230 | v[1].ty = textureRect.bottom(); | - |
231 | | - |
232 | v[2].x = rect.right(); | - |
233 | v[2].y = rect.top(); | - |
234 | v[2].tx = textureRect.right(); | - |
235 | v[2].ty = textureRect.top(); | - |
236 | | - |
237 | v[3].x = rect.right(); | - |
238 | v[3].y = rect.bottom(); | - |
239 | v[3].tx = textureRect.right(); | - |
240 | v[3].ty = textureRect.bottom(); | - |
241 | }executed 5290 times by 14 tests: end of block Executed by:- tst_examples
- tst_geometry
- tst_nodestest
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 5290 |
242 | | - |
243 | | - |
244 | | - |
245 | | - |
246 | | - |
247 | | - |
248 | | - |
249 | void QSGGeometry::updateColoredRectGeometry(QSGGeometry *g, const QRectF &rect) | - |
250 | { | - |
251 | ColoredPoint2D *v = g->vertexDataAsColoredPoint2D(); | - |
252 | v[0].x = rect.left(); | - |
253 | v[0].y = rect.top(); | - |
254 | | - |
255 | v[1].x = rect.left(); | - |
256 | v[1].y = rect.bottom(); | - |
257 | | - |
258 | v[2].x = rect.right(); | - |
259 | v[2].y = rect.top(); | - |
260 | | - |
261 | v[3].x = rect.right(); | - |
262 | v[3].y = rect.bottom(); | - |
263 | } never executed: end of block | 0 |
264 | void QSGGeometry::setIndexDataPattern(DataPattern p) | - |
265 | { | - |
266 | m_index_usage_pattern = p; | - |
267 | }executed 249203 times by 24 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249203 |
268 | void QSGGeometry::setVertexDataPattern(DataPattern p) | - |
269 | { | - |
270 | m_vertex_usage_pattern = p; | - |
271 | }executed 249203 times by 24 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249203 |
272 | void QSGGeometry::markIndexDataDirty() | - |
273 | { | - |
274 | m_dirty_index_data = true; | - |
275 | } never executed: end of block | 0 |
276 | void QSGGeometry::markVertexDataDirty() | - |
277 | { | - |
278 | m_dirty_vertex_data = true; | - |
279 | } never executed: end of block | 0 |
280 | | - |
281 | | - |
282 | | - |
| | |