Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | static const bool qsg_sanity_check = qEnvironmentVariableIntValue("QSG_SANITY_CHECK"); | - |
9 | | - |
10 | | - |
11 | static QElapsedTimer frameTimer; | - |
12 | static qint64 preprocessTime; | - |
13 | static qint64 updatePassTime; | - |
14 | | - |
15 | int qt_sg_envInt(const char *name, int defaultValue) | - |
16 | { | - |
17 | if (__builtin_expect(!!(!qEnvironmentVariableIsSet(name)), true)TRUE | evaluated 16675 times by 76 testsEvaluated 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
- ...
| FALSE | never evaluated |
) | 0-16675 |
18 | returnexecuted 16675 times by 76 tests: return defaultValue; 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
- ...
defaultValue;executed 16675 times by 76 tests: return defaultValue; 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
- ...
| 16675 |
19 | bool ok = false; | - |
20 | int value = qgetenv(name).toInt(&ok); | - |
21 | return never executed: return ok ? value : defaultValue; ok ? value : defaultValue;never executed: return ok ? value : defaultValue; | 0 |
22 | } | - |
23 | | - |
24 | void QSGBindable::clear(QSGAbstractRenderer::ClearMode mode) const | - |
25 | { | - |
26 | | - |
27 | uint bits = 0; | - |
28 | if (mode & QSGAbstractRenderer::ClearColorBufferTRUE | evaluated 50684 times by 75 testsEvaluated 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
- ...
| FALSE | never evaluated |
) bits |= executed 50684 times by 75 tests: bits |= 0x00004000 ; 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
- ...
| 0-50684 |
29 | 0x00004000executed 50684 times by 75 tests: bits |= 0x00004000 ; 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
- ...
| 50684 |
30 | ;executed 50684 times by 75 tests: bits |= 0x00004000 ; 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
- ...
| 50684 |
31 | if (mode & QSGAbstractRenderer::ClearDepthBufferTRUE | evaluated 50684 times by 75 testsEvaluated 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
- ...
| FALSE | never evaluated |
) bits |= executed 50684 times by 75 tests: bits |= 0x00000100 ; 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
- ...
| 0-50684 |
32 | 0x00000100executed 50684 times by 75 tests: bits |= 0x00000100 ; 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
- ...
| 50684 |
33 | ;executed 50684 times by 75 tests: bits |= 0x00000100 ; 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
- ...
| 50684 |
34 | if (mode & QSGAbstractRenderer::ClearStencilBufferTRUE | evaluated 50599 times by 75 testsEvaluated 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
- ...
| FALSE | evaluated 85 times by 5 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
|
) bits |= executed 50599 times by 75 tests: bits |= 0x00000400 ; 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
- ...
| 85-50599 |
35 | 0x00000400executed 50599 times by 75 tests: bits |= 0x00000400 ; 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
- ...
| 50599 |
36 | ;executed 50599 times by 75 tests: bits |= 0x00000400 ; 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
- ...
| 50599 |
37 | QOpenGLContext::currentContext()->functions()->glClear(bits); | - |
38 | | - |
39 | | - |
40 | | - |
41 | }executed 50684 times by 75 tests: end of block 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
- ...
| 50684 |
42 | | - |
43 | | - |
44 | void QSGBindable::reactivate() const | - |
45 | { | - |
46 | | - |
47 | QOpenGLContext::currentContext()->functions()->glColorMask( | - |
48 | 1 | - |
49 | , | - |
50 | 1 | - |
51 | , | - |
52 | 1 | - |
53 | , | - |
54 | 1 | - |
55 | ); | - |
56 | | - |
57 | }executed 86 times by 1 test: end of block | 86 |
58 | | - |
59 | QSGBindableFboId::QSGBindableFboId(uint id) | - |
60 | : m_id(id) | - |
61 | { | - |
62 | }executed 336 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 336 |
63 | | - |
64 | | - |
65 | void QSGBindableFboId::bind() const | - |
66 | { | - |
67 | QOpenGLContext::currentContext()->functions()->glBindFramebuffer(0x8D40, m_id); | - |
68 | }executed 336 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 336 |
69 | QSGRenderer::QSGRenderer(QSGRenderContext *context) | - |
70 | : m_current_opacity(1) | - |
71 | , m_current_determinant(1) | - |
72 | , m_device_pixel_ratio(1) | - |
73 | , m_context(context) | - |
74 | , m_node_updater(nullptr) | - |
75 | , m_bindable(nullptr) | - |
76 | , m_changed_emitted(false) | - |
77 | , m_is_rendering(false) | - |
78 | , m_is_preprocessing(false) | - |
79 | { | - |
80 | }executed 3591 times by 77 tests: end of block 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
- ...
| 3591 |
81 | | - |
82 | | - |
83 | QSGRenderer::~QSGRenderer() | - |
84 | { | - |
85 | setRootNode(nullptr); | - |
86 | delete m_node_updater; | - |
87 | }executed 3591 times by 77 tests: end of block 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
- ...
| 3591 |
88 | QSGNodeUpdater *QSGRenderer::nodeUpdater() const | - |
89 | { | - |
90 | if (!m_node_updaterTRUE | evaluated 8 times by 1 test | FALSE | evaluated 1059079 times by 77 testsEvaluated 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
- ...
|
) | 8-1059079 |
91 | const_cast<executed 8 times by 1 test: const_cast<QSGRenderer *>(this)->m_node_updater = new QSGNodeUpdater(); QSGRenderer *>(this)->m_node_updater = new QSGNodeUpdater();executed 8 times by 1 test: const_cast<QSGRenderer *>(this)->m_node_updater = new QSGNodeUpdater(); | 8 |
92 | returnexecuted 1059087 times by 77 tests: return m_node_updater; 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_node_updater;executed 1059087 times by 77 tests: return m_node_updater; 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
- ...
| 1059087 |
93 | } | - |
94 | void QSGRenderer::setNodeUpdater(QSGNodeUpdater *updater) | - |
95 | { | - |
96 | if (m_node_updaterTRUE | never evaluated | FALSE | evaluated 3583 times by 76 testsEvaluated 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
- ...
|
) | 0-3583 |
97 | delete m_node_updater; never executed: delete m_node_updater; | 0 |
98 | m_node_updater = updater; | - |
99 | }executed 3583 times by 76 tests: end of block 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
- ...
| 3583 |
100 | | - |
101 | bool QSGRenderer::isMirrored() const | - |
102 | { | - |
103 | QMatrix4x4 matrix = projectionMatrix(); | - |
104 | | - |
105 | returnexecuted 62 times by 1 test: return matrix(0, 0) * matrix(1, 1) - matrix(0, 1) * matrix(1, 0) > 0; matrix(0, 0) * matrix(1, 1) - matrix(0, 1) * matrix(1, 0) > 0;executed 62 times by 1 test: return matrix(0, 0) * matrix(1, 1) - matrix(0, 1) * matrix(1, 0) > 0; | 62 |
106 | } | - |
107 | | - |
108 | void QSGRenderer::renderScene(uint fboId) | - |
109 | { | - |
110 | | - |
111 | if (fboIdTRUE | evaluated 336 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 50269 times by 75 testsEvaluated 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
- ...
|
) { | 336-50269 |
112 | QSGBindableFboId bindable(fboId); | - |
113 | renderScene(bindable); | - |
114 | }executed 336 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
else { | 336 |
115 | class B : public QSGBindable | - |
116 | { | - |
117 | public: | - |
118 | void bind() const override { QOpenGLFramebufferObject::bindDefault(); }executed 50269 times by 75 tests: end of block 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
- ...
| 50269 |
119 | } bindable; | - |
120 | renderScene(bindable); | - |
121 | }executed 50269 times by 75 tests: end of block 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
- ...
| 50269 |
122 | | - |
123 | | - |
124 | | - |
125 | } | - |
126 | | - |
127 | void QSGRenderer::renderScene(const QSGBindable &bindable) | - |
128 | { | - |
129 | if (!rootNode()TRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) | 0-50714 |
130 | return; never executed: return; | 0 |
131 | | - |
132 | m_is_rendering = true; | - |
133 | | - |
134 | | - |
135 | bool profileFrames = QSG_LOG_TIME_RENDERER().isDebugEnabled(); | - |
136 | if (profileFramesTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) | 0-50714 |
137 | frameTimer.start(); never executed: frameTimer.start(); | 0 |
138 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)TRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) { (QQuickProfiler::startSceneGraphFrame<QQuickProfiler::SceneGraphRendererFrame>()); }never executed: end of block else (executed 50714 times by 77 tests: (void)0; 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
- ...
void)0;executed 50714 times by 77 tests: (void)0; 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
- ...
| 0-50714 |
139 | | - |
140 | qint64 bindTime = 0; | - |
141 | qint64 renderTime = 0; | - |
142 | | - |
143 | m_bindable = &bindable; | - |
144 | preprocess(); | - |
145 | | - |
146 | bindable.bind(); | - |
147 | if (profileFramesTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) | 0-50714 |
148 | bindTime = frameTimer.nsecsElapsed(); never executed: bindTime = frameTimer.nsecsElapsed(); | 0 |
149 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)TRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphRendererFrame>(QQuickProfiler::SceneGraphRendererBinding)); }never executed: end of block else (executed 50714 times by 77 tests: (void)0 ; 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
- ...
void)0executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 0-50714 |
150 | ;executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 50714 |
151 | | - |
152 | | - |
153 | | - |
154 | if (qsg_sanity_checkTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) { | 0-50714 |
155 | GLint count = 0; | - |
156 | QOpenGLContext::currentContext()->functions()->glGetIntegerv(0x8869, &count); | - |
157 | GLint enabled; | - |
158 | for (int i=0; i<countTRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
159 | QOpenGLContext::currentContext()->functions()->glGetVertexAttribiv(i, 0x8622, &enabled); | - |
160 | if (enabledTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
161 | QMessageLogger(__FILE__, 238, __PRETTY_FUNCTION__).warning("QSGRenderer: attribute %d is enabled, this can lead to memory corruption and crashes.", i); | - |
162 | } never executed: end of block | 0 |
163 | } never executed: end of block | 0 |
164 | } never executed: end of block | 0 |
165 | | - |
166 | | - |
167 | render(); | - |
168 | if (profileFramesTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) | 0-50714 |
169 | renderTime = frameTimer.nsecsElapsed(); never executed: renderTime = frameTimer.nsecsElapsed(); | 0 |
170 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)TRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) { (QQuickProfiler::reportSceneGraphFrame<QQuickProfiler::SceneGraphRendererFrame, true>(QQuickProfiler::SceneGraphRendererRender)); }never executed: end of block else (executed 50714 times by 77 tests: (void)0 ; 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
- ...
void)0executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 0-50714 |
171 | ;executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 50714 |
172 | | - |
173 | m_is_rendering = false; | - |
174 | m_changed_emitted = false; | - |
175 | m_bindable = nullptr; | - |
176 | | - |
177 | for (bool qt_category_enabled = QSG_LOG_TIME_RENDERER().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 260 , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) ; | 0-50714 |
178 | | 0 |
179 | | 0 |
180 | | 0 |
181 | | 0 |
182 | | 0 |
183 | __FILE__ never executed: QMessageLogger( __FILE__ , 260 , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) ; | 0 |
184 | , never executed: QMessageLogger( __FILE__ , 260 , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) ; | 0 |
185 | | 0 |
186 | | 0 |
187 | | 0 |
188 | | 0 |
189 | | 0 |
190 | 260 never executed: QMessageLogger( __FILE__ , 260 , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) ; | 0 |
191 | , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) never executed: QMessageLogger( __FILE__ , 260 , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) ; | 0 |
192 | | 0 |
193 | | 0 |
194 | | 0 |
195 | | 0 |
196 | | 0 |
197 | ; never executed: QMessageLogger( __FILE__ , 260 , __PRETTY_FUNCTION__, QSG_LOG_TIME_RENDERER().categoryName()).debug("time in renderer: total=%dms, preprocess=%d, updates=%d, binding=%d, rendering=%d", int(renderTime / 1000000), int(preprocessTime / 1000000), int((updatePassTime - preprocessTime) / 1000000), int((bindTime - updatePassTime) / 1000000), int((renderTime - bindTime) / 1000000)) ; | 0 |
198 | }executed 50714 times by 77 tests: end of block 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
- ...
| 50714 |
199 | void QSGRenderer::nodeChanged(QSGNode *node, QSGNode::DirtyState state) | - |
200 | { | - |
201 | if (state & QSGNode::DirtyNodeAddedTRUE | evaluated 192079 times by 77 testsEvaluated 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
- ...
| FALSE | evaluated 625439 times by 77 testsEvaluated 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
- ...
|
) | 192079-625439 |
202 | addNodesToPreprocess(node);executed 192079 times by 77 tests: addNodesToPreprocess(node); 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
- ...
| 192079 |
203 | if (state & QSGNode::DirtyNodeRemovedTRUE | evaluated 119408 times by 77 testsEvaluated 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
- ...
| FALSE | evaluated 698110 times by 77 testsEvaluated 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
- ...
|
) | 119408-698110 |
204 | removeNodesToPreprocess(node);executed 119408 times by 77 tests: removeNodesToPreprocess(node); 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
- ...
| 119408 |
205 | if (state & QSGNode::DirtyUsePreprocessTRUE | never evaluated | FALSE | evaluated 817518 times by 77 testsEvaluated 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
- ...
|
) { | 0-817518 |
206 | if (node->flags() & QSGNode::UsePreprocessTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
207 | m_nodes_to_preprocess.insert(node); never executed: m_nodes_to_preprocess.insert(node); | 0 |
208 | else | - |
209 | m_nodes_to_preprocess.remove(node); never executed: m_nodes_to_preprocess.remove(node); | 0 |
210 | } | - |
211 | | - |
212 | if (!m_changed_emittedTRUE | evaluated 45788 times by 77 testsEvaluated 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
- ...
| FALSE | evaluated 771730 times by 77 testsEvaluated 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_is_renderingTRUE | evaluated 45788 times by 77 testsEvaluated 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
- ...
| FALSE | never evaluated |
) { | 0-771730 |
213 | | - |
214 | m_changed_emitted = true; | - |
215 | sceneGraphChanged(); | - |
216 | }executed 45788 times by 77 tests: end of block 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
- ...
| 45788 |
217 | }executed 817518 times by 77 tests: end of block 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
- ...
| 817518 |
218 | | - |
219 | void QSGRenderer::preprocess() | - |
220 | { | - |
221 | m_is_preprocessing = true; | - |
222 | | - |
223 | QSGRootNode *root = rootNode(); | - |
224 | ((root) ? static_cast<void>(0) : qt_assert("root", __FILE__, 296)); | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | QSet<QSGNode *> items = m_nodes_to_preprocess; | - |
230 | | - |
231 | for (QSet<QSGNode *>::const_iterator it = items.constBegin(); | - |
232 | it != items.constEnd()TRUE | evaluated 816014 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
; ++it) { | 50714-816014 |
233 | QSGNode *n = *it; | - |
234 | | - |
235 | | - |
236 | | - |
237 | if (m_nodes_dont_preprocess.contains(n)TRUE | never evaluated | FALSE | evaluated 816014 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
|
) | 0-816014 |
238 | continue; never executed: continue; | 0 |
239 | if (!nodeUpdater()->isNodeBlocked(n, root)TRUE | evaluated 730522 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | evaluated 85492 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) { | 85492-730522 |
240 | n->preprocess(); | - |
241 | }executed 730522 times by 28 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 730522 |
242 | }executed 816014 times by 28 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 816014 |
243 | | - |
244 | bool profileFrames = QSG_LOG_TIME_RENDERER().isDebugEnabled(); | - |
245 | if (profileFramesTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) | 0-50714 |
246 | preprocessTime = frameTimer.nsecsElapsed(); never executed: preprocessTime = frameTimer.nsecsElapsed(); | 0 |
247 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)TRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphRendererFrame>(QQuickProfiler::SceneGraphRendererPreprocess)); }never executed: end of block else (executed 50714 times by 77 tests: (void)0 ; 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
- ...
void)0executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 0-50714 |
248 | ;executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 50714 |
249 | | - |
250 | nodeUpdater()->updateStates(root); | - |
251 | | - |
252 | if (profileFramesTRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) | 0-50714 |
253 | updatePassTime = frameTimer.nsecsElapsed(); never executed: updatePassTime = frameTimer.nsecsElapsed(); | 0 |
254 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)TRUE | never evaluated | FALSE | evaluated 50714 times by 77 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphRendererFrame>(QQuickProfiler::SceneGraphRendererUpdate)); }never executed: end of block else (executed 50714 times by 77 tests: (void)0 ; 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
- ...
void)0executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 0-50714 |
255 | ;executed 50714 times by 77 tests: (void)0 ; 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
- ...
| 50714 |
256 | | - |
257 | m_is_preprocessing = false; | - |
258 | m_nodes_dont_preprocess.clear(); | - |
259 | }executed 50714 times by 77 tests: end of block 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
- ...
| 50714 |
260 | | - |
261 | | - |
262 | | - |
263 | void QSGRenderer::addNodesToPreprocess(QSGNode *node) | - |
264 | { | - |
265 | for (QSGNode *c = node->firstChild(); cTRUE | evaluated 927037 times by 77 testsEvaluated 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
- ...
| FALSE | evaluated 1119116 times by 77 testsEvaluated 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
- ...
|
; c = c->nextSibling()) | 927037-1119116 |
266 | addNodesToPreprocess(c);executed 927037 times by 77 tests: addNodesToPreprocess(c); 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
- ...
| 927037 |
267 | if (node->flags() & QSGNode::UsePreprocessTRUE | evaluated 265447 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | evaluated 853669 times by 77 testsEvaluated 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
- ...
|
) | 265447-853669 |
268 | m_nodes_to_preprocess.insert(node);executed 265447 times by 28 tests: m_nodes_to_preprocess.insert(node); Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 265447 |
269 | }executed 1119116 times by 77 tests: end of block 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
- ...
| 1119116 |
270 | | - |
271 | void QSGRenderer::removeNodesToPreprocess(QSGNode *node) | - |
272 | { | - |
273 | for (QSGNode *c = node->firstChild(); cTRUE | evaluated 1004464 times by 75 testsEvaluated 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
- ...
| FALSE | evaluated 1123872 times by 77 testsEvaluated 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
- ...
|
; c = c->nextSibling()) | 1004464-1123872 |
274 | removeNodesToPreprocess(c);executed 1004464 times by 75 tests: removeNodesToPreprocess(c); 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
- ...
| 1004464 |
275 | if (node->flags() & QSGNode::UsePreprocessTRUE | evaluated 265983 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | evaluated 857889 times by 77 testsEvaluated 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
- ...
|
) { | 265983-857889 |
276 | m_nodes_to_preprocess.remove(node); | - |
277 | | - |
278 | | - |
279 | if (m_is_preprocessingTRUE | never evaluated | FALSE | evaluated 265983 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
|
) | 0-265983 |
280 | m_nodes_dont_preprocess.insert(node); never executed: m_nodes_dont_preprocess.insert(node); | 0 |
281 | }executed 265983 times by 28 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| 265983 |
282 | }executed 1123872 times by 77 tests: end of block 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
- ...
| 1123872 |
283 | void QSGNodeDumper::dump(QSGNode *n) | - |
284 | { | - |
285 | QSGNodeDumper dump; | - |
286 | dump.visitNode(n); | - |
287 | } never executed: end of block | 0 |
288 | | - |
289 | void QSGNodeDumper::visitNode(QSGNode *n) | - |
290 | { | - |
291 | QMessageLogger(__FILE__, 374, __PRETTY_FUNCTION__).debug() << QByteArray(m_indent * 2, ' ').constData() << n; | - |
292 | QSGNodeVisitor::visitNode(n); | - |
293 | } never executed: end of block | 0 |
294 | | - |
295 | void QSGNodeDumper::visitChildren(QSGNode *n) | - |
296 | { | - |
297 | ++m_indent; | - |
298 | QSGNodeVisitor::visitChildren(n); | - |
299 | --m_indent; | - |
300 | } never executed: end of block | 0 |
301 | | - |
302 | | - |
303 | | - |
| | |