Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | bool qsg_material_failure = false; | - |
8 | bool qsg_test_and_clear_material_failure() | - |
9 | { | - |
10 | bool fail = qsg_material_failure; | - |
11 | qsg_material_failure = false; | - |
12 | returnexecuted 116002 times by 70 tests: return fail; 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
- ...
fail;executed 116002 times by 70 tests: return fail; 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
- ...
| 116002 |
13 | } | - |
14 | | - |
15 | void qsg_set_material_failure() | - |
16 | { | - |
17 | qsg_material_failure = true; | - |
18 | } never executed: end of block | 0 |
19 | | - |
20 | | - |
21 | const char *QSGMaterialShaderPrivate::loadShaderSource(QOpenGLShader::ShaderType type) const | - |
22 | { | - |
23 | const QStringList files = m_sourceFiles[type]; | - |
24 | QSGShaderSourceBuilder builder; | - |
25 | for (const QString &file : files) | - |
26 | builder.appendSourceFile(file);executed 8754 times by 70 tests: builder.appendSourceFile(file); 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
- ...
| 8754 |
27 | m_sources[type] = builder.source(); | - |
28 | returnexecuted 8754 times by 70 tests: return m_sources[type].constData(); 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_sources[type].constData();executed 8754 times by 70 tests: return m_sources[type].constData(); 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
- ...
| 8754 |
29 | } | - |
30 | | - |
31 | | - |
32 | | - |
33 | static const bool qsg_leak_check = !qEnvironmentVariableIsEmpty("QML_LEAK_CHECK"); | - |
34 | QSGMaterialShader::QSGMaterialShader() | - |
35 | : d_ptr(new QSGMaterialShaderPrivate) | - |
36 | { | - |
37 | }executed 4482 times by 70 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_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 4482 |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | QSGMaterialShader::QSGMaterialShader(QSGMaterialShaderPrivate &dd) | - |
43 | : d_ptr(&dd) | - |
44 | { | - |
45 | }executed 22 times by 2 tests: end of block Executed by:- tst_drawingmodes
- tst_scenegraph
| 22 |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | QSGMaterialShader::~QSGMaterialShader() | - |
51 | { | - |
52 | } | - |
53 | const char *QSGMaterialShader::vertexShader() const | - |
54 | { | - |
55 | const QSGMaterialShaderPrivate * const d = d_func(); | - |
56 | returnexecuted 4377 times by 70 tests: return d->loadShaderSource(QOpenGLShader::Vertex); 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
- ...
d->loadShaderSource(QOpenGLShader::Vertex);executed 4377 times by 70 tests: return d->loadShaderSource(QOpenGLShader::Vertex); 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
- ...
| 4377 |
57 | } | - |
58 | const char *QSGMaterialShader::fragmentShader() const | - |
59 | { | - |
60 | const QSGMaterialShaderPrivate * const d = d_func(); | - |
61 | returnexecuted 4377 times by 70 tests: return d->loadShaderSource(QOpenGLShader::Fragment); 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
- ...
d->loadShaderSource(QOpenGLShader::Fragment);executed 4377 times by 70 tests: return d->loadShaderSource(QOpenGLShader::Fragment); 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
- ...
| 4377 |
62 | } | - |
63 | void QSGMaterialShader::activate() | - |
64 | { | - |
65 | } | - |
66 | void QSGMaterialShader::deactivate() | - |
67 | { | - |
68 | } | - |
69 | void QSGMaterialShader::updateState(const RenderState & , QSGMaterial * , QSGMaterial * ) | - |
70 | { | - |
71 | } | - |
72 | void QSGMaterialShader::setShaderSourceFile(QOpenGLShader::ShaderType type, const QString &sourceFile) | - |
73 | { | - |
74 | QSGMaterialShaderPrivate * const d = d_func(); | - |
75 | d->m_sourceFiles[type] = (QStringList() << sourceFile); | - |
76 | }executed 11868 times by 70 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_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 11868 |
77 | void QSGMaterialShader::setShaderSourceFiles(QOpenGLShader::ShaderType type, const QStringList &sourceFiles) | - |
78 | { | - |
79 | QSGMaterialShaderPrivate * const d = d_func(); | - |
80 | d->m_sourceFiles[type] = sourceFiles; | - |
81 | } never executed: end of block | 0 |
82 | void QSGMaterialShader::compile() | - |
83 | { | - |
84 | ((!m_program.isLinked()) ? static_cast<void>(0) : qt_assert_x("QSGSMaterialShader::compile()", "Compile called multiple times!", __FILE__, 365)); | - |
85 | | - |
86 | program()->addCacheableShaderFromSourceCode(QOpenGLShader::Vertex, vertexShader()); | - |
87 | program()->addCacheableShaderFromSourceCode(QOpenGLShader::Fragment, fragmentShader()); | - |
88 | | - |
89 | char const *const *attr = attributeNames(); | - |
90 | | - |
91 | int maxVertexAttribs = 0; | - |
92 | QOpenGLFunctions *funcs = QOpenGLContext::currentContext()->functions(); | - |
93 | funcs->glGetIntegerv(0x8869, &maxVertexAttribs); | - |
94 | for (int i = 0; attr[i]TRUE | evaluated 404 times by 29 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
| FALSE | evaluated 135 times by 29 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
|
; ++i) { | 135-404 |
95 | if (i >= maxVertexAttribsTRUE | never evaluated | FALSE | evaluated 404 times by 29 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
|
) { | 0-404 |
96 | QMessageLogger(__FILE__, 377, __PRETTY_FUNCTION__).fatal("List of attribute names is either too long or not null-terminated.\n" | - |
97 | "Maximum number of attributes on this hardware is %i.\n" | - |
98 | "Vertex shader:\n%s\n" | - |
99 | "Fragment shader:\n%s\n", | - |
100 | maxVertexAttribs, vertexShader(), fragmentShader()); | - |
101 | } never executed: end of block | 0 |
102 | if (*TRUE | evaluated 404 times by 29 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
| FALSE | never evaluated |
attr[i]TRUE | evaluated 404 times by 29 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
| FALSE | never evaluated |
) | 0-404 |
103 | program()->bindAttributeLocation(attr[i], i);executed 404 times by 29 tests: program()->bindAttributeLocation(attr[i], i); Executed by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
| 404 |
104 | }executed 404 times by 29 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
| 404 |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | if (!program()->link()TRUE | never evaluated | FALSE | evaluated 135 times by 29 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
|
) { | 0-135 |
113 | QMessageLogger(__FILE__, 394, __PRETTY_FUNCTION__).warning("QSGMaterialShader: Shader compilation failed:"); | - |
114 | QMessageLogger(__FILE__, 395, __PRETTY_FUNCTION__).warning() << program()->log(); | - |
115 | } never executed: end of block | 0 |
116 | }executed 135 times by 29 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- ...
| 135 |
117 | float QSGMaterialShader::RenderState::opacity() const | - |
118 | { | - |
119 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 469)); | - |
120 | returnexecuted 59094 times by 67 tests: return static_cast<const QSGRenderer *>(m_data)->currentOpacity(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickimageparticle
- ...
static_cast<const QSGRenderer *>(m_data)->currentOpacity();executed 59094 times by 67 tests: return static_cast<const QSGRenderer *>(m_data)->currentOpacity(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickimageparticle
- ...
| 59094 |
121 | } | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | float QSGMaterialShader::RenderState::determinant() const | - |
128 | { | - |
129 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 479)); | - |
130 | returnexecuted 34190 times by 24 tests: return static_cast<const QSGRenderer *>(m_data)->determinant(); 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
static_cast<const QSGRenderer *>(m_data)->determinant();executed 34190 times by 24 tests: return static_cast<const QSGRenderer *>(m_data)->determinant(); 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
| 34190 |
131 | } | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | QMatrix4x4 QSGMaterialShader::RenderState::combinedMatrix() const | - |
138 | { | - |
139 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 489)); | - |
140 | returnexecuted 150174 times by 70 tests: return static_cast<const QSGRenderer *>(m_data)->currentCombinedMatrix(); 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
- ...
static_cast<const QSGRenderer *>(m_data)->currentCombinedMatrix();executed 150174 times by 70 tests: return static_cast<const QSGRenderer *>(m_data)->currentCombinedMatrix(); 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
- ...
| 150174 |
141 | } | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | float QSGMaterialShader::RenderState::devicePixelRatio() const | - |
147 | { | - |
148 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 498)); | - |
149 | returnexecuted 34190 times by 24 tests: return static_cast<const QSGRenderer *>(m_data)->devicePixelRatio(); 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
static_cast<const QSGRenderer *>(m_data)->devicePixelRatio();executed 34190 times by 24 tests: return static_cast<const QSGRenderer *>(m_data)->devicePixelRatio(); 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
| 34190 |
150 | } | - |
151 | QMatrix4x4 QSGMaterialShader::RenderState::modelViewMatrix() const | - |
152 | { | - |
153 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 524)); | - |
154 | return never executed: return static_cast<const QSGRenderer *>(m_data)->currentModelViewMatrix(); static_cast<const QSGRenderer *>(m_data)->currentModelViewMatrix();never executed: return static_cast<const QSGRenderer *>(m_data)->currentModelViewMatrix(); | 0 |
155 | } | - |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | QMatrix4x4 QSGMaterialShader::RenderState::projectionMatrix() const | - |
162 | { | - |
163 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 534)); | - |
164 | return never executed: return static_cast<const QSGRenderer *>(m_data)->currentProjectionMatrix(); static_cast<const QSGRenderer *>(m_data)->currentProjectionMatrix();never executed: return static_cast<const QSGRenderer *>(m_data)->currentProjectionMatrix(); | 0 |
165 | } | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | QRect QSGMaterialShader::RenderState::viewportRect() const | - |
174 | { | - |
175 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 546)); | - |
176 | returnexecuted 35688 times by 26 tests: return static_cast<const QSGRenderer *>(m_data)->viewportRect(); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- ...
static_cast<const QSGRenderer *>(m_data)->viewportRect();executed 35688 times by 26 tests: return static_cast<const QSGRenderer *>(m_data)->viewportRect(); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- ...
| 35688 |
177 | } | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
183 | | - |
184 | | - |
185 | QRect QSGMaterialShader::RenderState::deviceRect() const | - |
186 | { | - |
187 | ((m_data) ? static_cast<void>(0) : qt_assert("m_data", __FILE__, 558)); | - |
188 | return never executed: return static_cast<const QSGRenderer *>(m_data)->deviceRect(); static_cast<const QSGRenderer *>(m_data)->deviceRect();never executed: return static_cast<const QSGRenderer *>(m_data)->deviceRect(); | 0 |
189 | } | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | QOpenGLContext *QSGMaterialShader::RenderState::context() const | - |
198 | { | - |
199 | | - |
200 | auto openGLRenderContext = static_cast<const QSGDefaultRenderContext *>(static_cast<const QSGRenderer *>(m_data)->context()); | - |
201 | if (openGLRenderContext != nullptrTRUE | evaluated 84778 times by 33 testsEvaluated by:- tst_examples
- tst_flickableinterop
- 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
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| FALSE | never evaluated |
) | 0-84778 |
202 | returnexecuted 84778 times by 33 tests: return openGLRenderContext->openglContext(); Executed by:- tst_examples
- tst_flickableinterop
- 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
- tst_qquickpositioners
- tst_qquickrepeater
- ...
openGLRenderContext->openglContext();executed 84778 times by 33 tests: return openGLRenderContext->openglContext(); Executed by:- tst_examples
- tst_flickableinterop
- 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
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 84778 |
203 | else | - |
204 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
205 | } | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | static int qt_material_count = 0; | - |
211 | | - |
212 | static void qt_print_material_count() | - |
213 | { | - |
214 | QMessageLogger(__FILE__, 585, __PRETTY_FUNCTION__).debug("Number of leaked materials: %i", qt_material_count); | - |
215 | qt_material_count = -1; | - |
216 | } never executed: end of block | 0 |
217 | QSGMaterial::QSGMaterial() | - |
218 | : m_flags(nullptr) | - |
219 | { | - |
220 | (void)m_reserved;; | - |
221 | | - |
222 | if (qsg_leak_checkTRUE | never evaluated | FALSE | evaluated 610546 times by 72 testsEvaluated 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
- ...
|
) { | 0-610546 |
223 | ++qt_material_count; | - |
224 | static bool atexit_registered = false; | - |
225 | if (!atexit_registeredTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
226 | atexit(qt_print_material_count); | - |
227 | atexit_registered = true; | - |
228 | } never executed: end of block | 0 |
229 | } never executed: end of block | 0 |
230 | | - |
231 | }executed 610546 times by 72 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
- ...
| 610546 |
232 | | - |
233 | | - |
234 | | - |
235 | | - |
236 | | - |
237 | | - |
238 | QSGMaterial::~QSGMaterial() | - |
239 | { | - |
240 | | - |
241 | if (qsg_leak_checkTRUE | never evaluated | FALSE | evaluated 610546 times by 72 testsEvaluated 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
- ...
|
) { | 0-610546 |
242 | --qt_material_count; | - |
243 | if (qt_material_count < 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
244 | QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__).debug("Material destroyed after qt_print_material_count() was called."); never executed: QMessageLogger(__FILE__, 670, __PRETTY_FUNCTION__).debug("Material destroyed after qt_print_material_count() was called."); | 0 |
245 | } never executed: end of block | 0 |
246 | | - |
247 | }executed 610546 times by 72 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
- ...
| 610546 |
248 | void QSGMaterial::setFlag(Flags flags, bool on) | - |
249 | { | - |
250 | if (onTRUE | evaluated 487220 times by 70 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_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 269307 times by 69 testsEvaluated 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
) | 269307-487220 |
251 | m_flags |= flags;executed 487220 times by 70 tests: m_flags |= flags; 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
- ...
| 487220 |
252 | else | - |
253 | m_flags &= ~flags;executed 269307 times by 69 tests: m_flags &= ~flags; 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_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 269307 |
254 | } | - |
255 | int QSGMaterial::compare(const QSGMaterial *other) const | - |
256 | { | - |
257 | ((other && type() == other->type()) ? static_cast<void>(0) : qt_assert("other && type() == other->type()", __FILE__, 736)); | - |
258 | returnexecuted 2025 times by 5 tests: return qint64(this) - qint64(other); Executed by:- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquicklineextruder
- tst_qquickrectangleextruder
- tst_qquicktrailemitter
qint64(this) - qint64(other);executed 2025 times by 5 tests: return qint64(this) - qint64(other); Executed by:- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquicklineextruder
- tst_qquickrectangleextruder
- tst_qquicktrailemitter
| 2025 |
259 | } | - |
260 | | - |
| | |