Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | namespace QSGMultisampleAntialiasing { | - |
11 | class ImageNode : public QSGDefaultInternalImageNode { | - |
12 | public: | - |
13 | void setAntialiasing(bool) override { } | - |
14 | }; | - |
15 | | - |
16 | | - |
17 | class RectangleNode : public QSGDefaultInternalRectangleNode { | - |
18 | public: | - |
19 | void setAntialiasing(bool) override { } | - |
20 | }; | - |
21 | } | - |
22 | | - |
23 | static bool qmlDisableDistanceField() { static enum { Yes, No, Unknown } status = Unknown; if (status == UnknownTRUE | evaluated 194 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickfontloader_static
- tst_qquickshortcut
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_DISABLE_DISTANCEFIELD")), false)TRUE | never evaluated | FALSE | evaluated 194 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
|
) { const QByteArray v = qgetenv("QML_DISABLE_DISTANCEFIELD"); if (v != "0"TRUE | never evaluated | FALSE | never evaluated |
&& v != "false"TRUE | never evaluated | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 194 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
returnexecuted 200 times by 90 tests: return status == Yes; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
status == Yes;executed 200 times by 90 tests: return status == Yes; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
} | 0-200 |
24 | | - |
25 | QSGDefaultContext::QSGDefaultContext(QObject *parent) | - |
26 | : QSGContext (parent) | - |
27 | , m_antialiasingMethod(QSGContext::UndecidedAntialiasing) | - |
28 | , m_distanceFieldDisabled(qmlDisableDistanceField()) | - |
29 | , m_distanceFieldAntialiasing(QSGGlyphNode::HighQualitySubPixelAntialiasing) | - |
30 | , m_distanceFieldAntialiasingDecided(false) | - |
31 | { | - |
32 | if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QSG_DISTANCEFIELD_ANTIALIASING")), false)TRUE | never evaluated | FALSE | evaluated 200 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
|
) { | 0-200 |
33 | const QByteArray mode = qgetenv("QSG_DISTANCEFIELD_ANTIALIASING"); | - |
34 | m_distanceFieldAntialiasingDecided = true; | - |
35 | if (mode == "subpixel"TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
36 | m_distanceFieldAntialiasing = QSGGlyphNode::HighQualitySubPixelAntialiasing; never executed: m_distanceFieldAntialiasing = QSGGlyphNode::HighQualitySubPixelAntialiasing; | 0 |
37 | else if (mode == "subpixel-lowq"TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
38 | m_distanceFieldAntialiasing = QSGGlyphNode::LowQualitySubPixelAntialiasing; never executed: m_distanceFieldAntialiasing = QSGGlyphNode::LowQualitySubPixelAntialiasing; | 0 |
39 | else if (mode == "gray"TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
40 | m_distanceFieldAntialiasing = QSGGlyphNode::GrayAntialiasing; never executed: m_distanceFieldAntialiasing = QSGGlyphNode::GrayAntialiasing; | 0 |
41 | } never executed: end of block | 0 |
42 | | - |
43 | | - |
44 | if (qEnvironmentVariableIsSet("QSG_RENDER_TIMING")TRUE | never evaluated | FALSE | evaluated 200 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
|
) { | 0-200 |
45 | const_cast<QLoggingCategory &>(QSG_LOG_TIME_GLYPH()).setEnabled(QtDebugMsg, true); | - |
46 | const_cast<QLoggingCategory &>(QSG_LOG_TIME_TEXTURE()).setEnabled(QtDebugMsg, true); | - |
47 | const_cast<QLoggingCategory &>(QSG_LOG_TIME_RENDERER()).setEnabled(QtDebugMsg, true); | - |
48 | const_cast<QLoggingCategory &>(QSG_LOG_TIME_RENDERLOOP()).setEnabled(QtDebugMsg, true); | - |
49 | const_cast<QLoggingCategory &>(QSG_LOG_TIME_COMPILATION()).setEnabled(QtDebugMsg, true); | - |
50 | } never executed: end of block | 0 |
51 | }executed 200 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 200 |
52 | | - |
53 | QSGDefaultContext::~QSGDefaultContext() | - |
54 | { | - |
55 | | - |
56 | } | - |
57 | | - |
58 | void QSGDefaultContext::renderContextInitialized(QSGRenderContext *renderContext) | - |
59 | { | - |
60 | m_mutex.lock(); | - |
61 | | - |
62 | auto openglRenderContext = static_cast<const QSGDefaultRenderContext *>(renderContext); | - |
63 | if (m_antialiasingMethod == UndecidedAntialiasingTRUE | evaluated 158 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 | evaluated 2966 times by 45 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
) { | 158-2966 |
64 | if (__builtin_expect(!!(qEnvironmentVariableIsSet("QSG_ANTIALIASING_METHOD")), false)TRUE | never evaluated | FALSE | evaluated 158 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-158 |
65 | const QByteArray aaType = qgetenv("QSG_ANTIALIASING_METHOD"); | - |
66 | if (aaType == "msaa"TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
67 | m_antialiasingMethod = MsaaAntialiasing; never executed: m_antialiasingMethod = MsaaAntialiasing; | 0 |
68 | else if (aaType == "vertex"TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
69 | m_antialiasingMethod = VertexAntialiasing; never executed: m_antialiasingMethod = VertexAntialiasing; | 0 |
70 | } never executed: end of block | 0 |
71 | if (m_antialiasingMethod == UndecidedAntialiasingTRUE | evaluated 158 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-158 |
72 | if (openglRenderContext->openglContext()->format().samples() > 0TRUE | never evaluated | FALSE | evaluated 158 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-158 |
73 | m_antialiasingMethod = MsaaAntialiasing; never executed: m_antialiasingMethod = MsaaAntialiasing; | 0 |
74 | else | - |
75 | m_antialiasingMethod = VertexAntialiasing;executed 158 times by 76 tests: m_antialiasingMethod = VertexAntialiasing; 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
- ...
| 158 |
76 | } | - |
77 | }executed 158 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
- ...
| 158 |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | if (!m_distanceFieldAntialiasingDecidedTRUE | evaluated 158 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 | evaluated 2966 times by 45 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
) { | 158-2966 |
83 | m_distanceFieldAntialiasingDecided = true; | - |
84 | | - |
85 | if (openglRenderContext->openglContext()->isOpenGLES()TRUE | never evaluated | FALSE | evaluated 158 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-158 |
86 | m_distanceFieldAntialiasing = QSGGlyphNode::GrayAntialiasing; never executed: m_distanceFieldAntialiasing = QSGGlyphNode::GrayAntialiasing; | 0 |
87 | | - |
88 | }executed 158 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
- ...
| 158 |
89 | | - |
90 | static bool dumped = false; | - |
91 | if (!dumpedTRUE | evaluated 3124 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 |
&& QSG_LOG_INFO().isDebugEnabled()TRUE | never evaluated | FALSE | evaluated 3124 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-3124 |
92 | dumped = true; | - |
93 | QSurfaceFormat format = openglRenderContext->openglContext()->format(); | - |
94 | QOpenGLFunctions *funcs = QOpenGLContext::currentContext()->functions(); | - |
95 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 153 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) ; | 0 |
96 | __FILE__ never executed: QMessageLogger( __FILE__ , 153 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) ; | 0 |
97 | , never executed: QMessageLogger( __FILE__ , 153 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) ; | 0 |
98 | 153 never executed: QMessageLogger( __FILE__ , 153 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) ; | 0 |
99 | , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) never executed: QMessageLogger( __FILE__ , 153 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) ; | 0 |
100 | ; never executed: QMessageLogger( __FILE__ , 153 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("R/G/B/A Buffers: %d %d %d %d", format.redBufferSize(), format.greenBufferSize(), format.blueBufferSize(), format.alphaBufferSize()) ; | 0 |
101 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 154, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Depth Buffer: %d", format.depthBufferSize());never executed: QMessageLogger(__FILE__, 154, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Depth Buffer: %d", format.depthBufferSize()); | 0 |
102 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 155, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Stencil Buffer: %d", format.stencilBufferSize());never executed: QMessageLogger(__FILE__, 155, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Stencil Buffer: %d", format.stencilBufferSize()); | 0 |
103 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 156, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Samples: %d", format.samples());never executed: QMessageLogger(__FILE__, 156, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Samples: %d", format.samples()); | 0 |
104 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 157, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VENDOR: %s", (const char*)funcs->glGetString(never executed: QMessageLogger(__FILE__, 157, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VENDOR: %s", (const char*)funcs->glGetString( 0x1F00 )); | 0 |
105 | 0x1F00 never executed: QMessageLogger(__FILE__, 157, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VENDOR: %s", (const char*)funcs->glGetString( 0x1F00 )); | 0 |
106 | )); never executed: QMessageLogger(__FILE__, 157, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VENDOR: %s", (const char*)funcs->glGetString( 0x1F00 )); | 0 |
107 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
108 | __FILE__ never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
109 | , never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
110 | 159 never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
111 | , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
112 | 0x1F01 never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
113 | )) never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
114 | ; never executed: QMessageLogger( __FILE__ , 159 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_RENDERER: %s", (const char*)funcs->glGetString( 0x1F01 )) ; | 0 |
115 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 160, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VERSION: %s", (const char*)funcs->glGetString(never executed: QMessageLogger(__FILE__, 160, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VERSION: %s", (const char*)funcs->glGetString( 0x1F02 )); | 0 |
116 | 0x1F02 never executed: QMessageLogger(__FILE__, 160, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VERSION: %s", (const char*)funcs->glGetString( 0x1F02 )); | 0 |
117 | )); never executed: QMessageLogger(__FILE__, 160, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_VERSION: %s", (const char*)funcs->glGetString( 0x1F02 )); | 0 |
118 | QSet<QByteArray> exts = openglRenderContext->openglContext()->extensions(); | - |
119 | QByteArray all; | - |
120 | for (const QByteArray &e : qAsConst(exts)) | - |
121 | all += ' ' + e; never executed: all += ' ' + e; | 0 |
122 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 165, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_EXTENSIONS: %s", all.constData());never executed: QMessageLogger(__FILE__, 165, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("GL_EXTENSIONS: %s", all.constData()); | 0 |
123 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 166, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Max Texture Size: %d", openglRenderContext->maxTextureSize());never executed: QMessageLogger(__FILE__, 166, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Max Texture Size: %d", openglRenderContext->maxTextureSize()); | 0 |
124 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 168 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") ; | 0 |
125 | __FILE__ never executed: QMessageLogger( __FILE__ , 168 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") ; | 0 |
126 | , never executed: QMessageLogger( __FILE__ , 168 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") ; | 0 |
127 | 168 never executed: QMessageLogger( __FILE__ , 168 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") ; | 0 |
128 | , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") never executed: QMessageLogger( __FILE__ , 168 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") ; | 0 |
129 | ; never executed: QMessageLogger( __FILE__ , 168 , __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Debug context: %s", format.testOption(QSurfaceFormat::DebugContext) ? "true" : "false") ; | 0 |
130 | } never executed: end of block | 0 |
131 | | - |
132 | m_mutex.unlock(); | - |
133 | }executed 3124 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
- ...
| 3124 |
134 | | - |
135 | void QSGDefaultContext::renderContextInvalidated(QSGRenderContext *) | - |
136 | { | - |
137 | } | - |
138 | | - |
139 | QSGRenderContext *QSGDefaultContext::createRenderContext() | - |
140 | { | - |
141 | returnexecuted 314 times by 90 tests: return new QSGDefaultRenderContext(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
new QSGDefaultRenderContext(this);executed 314 times by 90 tests: return new QSGDefaultRenderContext(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 314 |
142 | } | - |
143 | | - |
144 | QSGInternalRectangleNode *QSGDefaultContext::createInternalRectangleNode() | - |
145 | { | - |
146 | returnexecuted 72061 times by 66 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::RectangleNode : new QSGDefaultInternalRectangleNode; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
m_antialiasingMethod == MsaaAntialiasingexecuted 72061 times by 66 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::RectangleNode : new QSGDefaultInternalRectangleNode; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 72061 |
147 | ? new QSGMultisampleAntialiasing::RectangleNodeexecuted 72061 times by 66 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::RectangleNode : new QSGDefaultInternalRectangleNode; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 72061 |
148 | : new QSGDefaultInternalRectangleNode;executed 72061 times by 66 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::RectangleNode : new QSGDefaultInternalRectangleNode; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 72061 |
149 | } | - |
150 | | - |
151 | QSGInternalImageNode *QSGDefaultContext::createInternalImageNode() | - |
152 | { | - |
153 | returnexecuted 5189 times by 10 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::ImageNode : new QSGDefaultInternalImageNode; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
m_antialiasingMethod == MsaaAntialiasingexecuted 5189 times by 10 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::ImageNode : new QSGDefaultInternalImageNode; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 5189 |
154 | ? new QSGMultisampleAntialiasing::ImageNodeexecuted 5189 times by 10 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::ImageNode : new QSGDefaultInternalImageNode; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 5189 |
155 | : new QSGDefaultInternalImageNode;executed 5189 times by 10 tests: return m_antialiasingMethod == MsaaAntialiasing ? new QSGMultisampleAntialiasing::ImageNode : new QSGDefaultInternalImageNode; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 5189 |
156 | } | - |
157 | | - |
158 | QSGPainterNode *QSGDefaultContext::createPainterNode(QQuickPaintedItem *item) | - |
159 | { | - |
160 | returnexecuted 16 times by 1 test: return new QSGDefaultPainterNode(item); new QSGDefaultPainterNode(item);executed 16 times by 1 test: return new QSGDefaultPainterNode(item); | 16 |
161 | } | - |
162 | | - |
163 | QSGGlyphNode *QSGDefaultContext::createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode) | - |
164 | { | - |
165 | if (m_distanceFieldDisabledTRUE | never evaluated | FALSE | evaluated 249203 times by 24 testsEvaluated 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
|
|| preferNativeGlyphNodeTRUE | evaluated 72 times by 1 test | FALSE | evaluated 249131 times by 24 testsEvaluated 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
|
) { | 0-249203 |
166 | returnexecuted 72 times by 1 test: return new QSGDefaultGlyphNode; new QSGDefaultGlyphNode;executed 72 times by 1 test: return new QSGDefaultGlyphNode; | 72 |
167 | } else { | - |
168 | QSGDistanceFieldGlyphNode *node = new QSGDistanceFieldGlyphNode(rc); | - |
169 | node->setPreferredAntialiasingMode(m_distanceFieldAntialiasing); | - |
170 | returnexecuted 249131 times by 24 tests: return node; 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
node;executed 249131 times by 24 tests: return node; 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
| 249131 |
171 | } | - |
172 | } | - |
173 | | - |
174 | QSGLayer *QSGDefaultContext::createLayer(QSGRenderContext *renderContext) | - |
175 | { | - |
176 | returnexecuted 109 times by 6 tests: return new QSGDefaultLayer(renderContext); Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
new QSGDefaultLayer(renderContext);executed 109 times by 6 tests: return new QSGDefaultLayer(renderContext); Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| 109 |
177 | } | - |
178 | | - |
179 | QSurfaceFormat QSGDefaultContext::defaultSurfaceFormat() const | - |
180 | { | - |
181 | QSurfaceFormat format = QSurfaceFormat::defaultFormat(); | - |
182 | static bool useDepth = qEnvironmentVariableIsEmpty("QSG_NO_DEPTH_BUFFER"); | - |
183 | static bool useStencil = qEnvironmentVariableIsEmpty("QSG_NO_STENCIL_BUFFER"); | - |
184 | static bool enableDebug = qEnvironmentVariableIsSet("QSG_OPENGL_DEBUG"); | - |
185 | format.setDepthBufferSize(useDepth ? 24 : 0); | - |
186 | format.setStencilBufferSize(useStencil ? 8 : 0); | - |
187 | if (enableDebugTRUE | never evaluated | FALSE | evaluated 8480 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
|
) | 0-8480 |
188 | format.setOption(QSurfaceFormat::DebugContext); never executed: format.setOption(QSurfaceFormat::DebugContext); | 0 |
189 | if (QQuickWindow::hasDefaultAlphaBuffer()TRUE | never evaluated | FALSE | evaluated 8480 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
|
) | 0-8480 |
190 | format.setAlphaBufferSize(8); never executed: format.setAlphaBufferSize(8); | 0 |
191 | format.setSwapBehavior(QSurfaceFormat::DoubleBuffer); | - |
192 | returnexecuted 8480 times by 90 tests: return format; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
format;executed 8480 times by 90 tests: return format; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 8480 |
193 | } | - |
194 | | - |
195 | void QSGDefaultContext::setDistanceFieldEnabled(bool enabled) | - |
196 | { | - |
197 | m_distanceFieldDisabled = !enabled; | - |
198 | } never executed: end of block | 0 |
199 | | - |
200 | bool QSGDefaultContext::isDistanceFieldEnabled() const | - |
201 | { | - |
202 | return never executed: return !m_distanceFieldDisabled; !m_distanceFieldDisabled;never executed: return !m_distanceFieldDisabled; | 0 |
203 | } | - |
204 | | - |
205 | QSGRendererInterface *QSGDefaultContext::rendererInterface(QSGRenderContext *renderContext) | - |
206 | { | - |
207 | (void)renderContext;; | - |
208 | returnexecuted 4072 times by 31 tests: return this; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgraphicsinfo
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshortcut
- tst_qquickspritegoal
- ...
this;executed 4072 times by 31 tests: return this; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgraphicsinfo
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshortcut
- tst_qquickspritegoal
- ...
| 4072 |
209 | } | - |
210 | | - |
211 | QSGRectangleNode *QSGDefaultContext::createRectangleNode() | - |
212 | { | - |
213 | return never executed: return new QSGDefaultRectangleNode; new QSGDefaultRectangleNode;never executed: return new QSGDefaultRectangleNode; | 0 |
214 | } | - |
215 | | - |
216 | QSGImageNode *QSGDefaultContext::createImageNode() | - |
217 | { | - |
218 | return never executed: return new QSGDefaultImageNode; new QSGDefaultImageNode;never executed: return new QSGDefaultImageNode; | 0 |
219 | } | - |
220 | | - |
221 | QSGNinePatchNode *QSGDefaultContext::createNinePatchNode() | - |
222 | { | - |
223 | return never executed: return new QSGDefaultNinePatchNode; new QSGDefaultNinePatchNode;never executed: return new QSGDefaultNinePatchNode; | 0 |
224 | } | - |
225 | | - |
226 | | - |
227 | QSGSpriteNode *QSGDefaultContext::createSpriteNode() | - |
228 | { | - |
229 | returnexecuted 30 times by 2 tests: return new QSGDefaultSpriteNode; Executed by:- tst_qquickanimatedsprite
- tst_qquickspritesequence
new QSGDefaultSpriteNode;executed 30 times by 2 tests: return new QSGDefaultSpriteNode; Executed by:- tst_qquickanimatedsprite
- tst_qquickspritesequence
| 30 |
230 | } | - |
231 | | - |
232 | | - |
233 | QSGRendererInterface::GraphicsApi QSGDefaultContext::graphicsApi() const | - |
234 | { | - |
235 | returnexecuted 4072 times by 31 tests: return OpenGL; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgraphicsinfo
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshortcut
- tst_qquickspritegoal
- ...
OpenGL;executed 4072 times by 31 tests: return OpenGL; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgraphicsinfo
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshortcut
- tst_qquickspritegoal
- ...
| 4072 |
236 | } | - |
237 | | - |
238 | QSGRendererInterface::ShaderType QSGDefaultContext::shaderType() const | - |
239 | { | - |
240 | returnexecuted 2 times by 1 test: return GLSL; GLSL;executed 2 times by 1 test: return GLSL; | 2 |
241 | } | - |
242 | | - |
243 | QSGRendererInterface::ShaderCompilationTypes QSGDefaultContext::shaderCompilationType() const | - |
244 | { | - |
245 | returnexecuted 2 times by 1 test: return RuntimeCompilation; RuntimeCompilation;executed 2 times by 1 test: return RuntimeCompilation; | 2 |
246 | } | - |
247 | | - |
248 | QSGRendererInterface::ShaderSourceTypes QSGDefaultContext::shaderSourceType() const | - |
249 | { | - |
250 | returnexecuted 2 times by 1 test: return ShaderSourceString | ShaderSourceFile; ShaderSourceString | ShaderSourceFile;executed 2 times by 1 test: return ShaderSourceString | ShaderSourceFile; | 2 |
251 | } | - |
252 | | - |
253 | | - |
| | |