Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | extern const QLoggingCategory &QSG_LOG_INFO(); | - |
10 | | - |
11 | QSGContextPlugin::QSGContextPlugin(QObject *parent) | - |
12 | : QObject(parent) | - |
13 | { | - |
14 | }executed 202 times by 94 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
- ...
| 202 |
15 | | - |
16 | QSGContextPlugin::~QSGContextPlugin() | - |
17 | { | - |
18 | } | - |
19 | | - |
20 | | - |
21 | namespace { namespace Q_QGS_loader { typedef QFactoryLoader Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | never evaluated | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);never executed: guard.store(QtGlobalStatic::Destroyed); }never executed: end of block }; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ("org.qt-project.Qt.QSGContextFactoryInterface", QLatin1String("/scenegraph")))) : value ("org.qt-project.Qt.QSGContextFactoryInterface", QLatin1String("/scenegraph")) { guard.store(QtGlobalStatic::Initialized); } } holder; returnnever executed: return &holder.value; &holder.value;never executed: return &holder.value; } } } static QGlobalStatic<QFactoryLoader, Q_QGS_loader::innerFunction, Q_QGS_loader::guard> loader; | 0 |
22 | | - |
23 | | - |
24 | | - |
25 | struct QSGAdaptationBackendData | - |
26 | { | - |
27 | QSGAdaptationBackendData(); | - |
28 | | - |
29 | bool tried = false; | - |
30 | QSGContextFactoryInterface *factory = nullptr; | - |
31 | QString name; | - |
32 | QSGContextFactoryInterface::Flags flags; | - |
33 | | - |
34 | QVector<QSGContextFactoryInterface *> builtIns; | - |
35 | | - |
36 | QString quickWindowBackendRequest; | - |
37 | }; | - |
38 | | - |
39 | QSGAdaptationBackendData::QSGAdaptationBackendData() | - |
40 | : flags(nullptr) | - |
41 | { | - |
42 | | - |
43 | builtIns.append(new QSGSoftwareAdaptation); | - |
44 | }executed 202 times by 94 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
- ...
| 202 |
45 | | - |
46 | namespace { namespace Q_QGS_qsg_adaptation_data { typedef QSGAdaptationBackendData Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 202 times by 94 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 | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 202 times by 94 tests: guard.store(QtGlobalStatic::Destroyed); 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
- ...
}executed 202 times by 94 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
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 9518 times by 94 tests: return &holder.value; 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
- ...
&holder.value;executed 9518 times by 94 tests: return &holder.value; 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
- ...
} } } static QGlobalStatic<QSGAdaptationBackendData, Q_QGS_qsg_adaptation_data::innerFunction, Q_QGS_qsg_adaptation_data::guard> qsg_adaptation_data; | 0-9518 |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | QSGContextFactoryInterface::Flags qsg_backend_flags() | - |
54 | { | - |
55 | returnexecuted 108 times by 5 tests: return qsg_adaptation_data()->flags; Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_scenegraph
qsg_adaptation_data()->flags;executed 108 times by 5 tests: return qsg_adaptation_data()->flags; Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_scenegraph
| 108 |
56 | } | - |
57 | | - |
58 | QSGAdaptationBackendData *contextFactory() | - |
59 | { | - |
60 | QSGAdaptationBackendData *backendData = qsg_adaptation_data(); | - |
61 | | - |
62 | if (!backendData->triedTRUE | evaluated 202 times by 94 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 9138 times by 92 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
- ...
|
) { | 202-9138 |
63 | backendData->tried = true; | - |
64 | | - |
65 | const QStringList args = QGuiApplication::arguments(); | - |
66 | QString requestedBackend = backendData->quickWindowBackendRequest; | - |
67 | | - |
68 | for (int index = 0; index < args.count()TRUE | evaluated 228 times by 94 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 202 times by 94 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
- ...
|
; ++index) { | 202-228 |
69 | if (args.at(index).startsWith(QLatin1String("--device="))TRUE | never evaluated | FALSE | evaluated 228 times by 94 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-228 |
70 | requestedBackend = args.at(index).mid(9); | - |
71 | break; never executed: break; | 0 |
72 | } | - |
73 | }executed 228 times by 94 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
- ...
| 228 |
74 | | - |
75 | if (requestedBackend.isEmpty()TRUE | evaluated 200 times by 93 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 2 times by 1 test |
) | 2-200 |
76 | requestedBackend = qEnvironmentVariable("QMLSCENE_DEVICE");executed 200 times by 93 tests: requestedBackend = qEnvironmentVariable("QMLSCENE_DEVICE"); 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 |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | if (requestedBackend.isEmpty()TRUE | evaluated 200 times by 93 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 2 times by 1 test |
) | 2-200 |
82 | requestedBackend = qEnvironmentVariable("QT_QUICK_BACKEND");executed 200 times by 93 tests: requestedBackend = qEnvironmentVariable("QT_QUICK_BACKEND"); 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 |
83 | | - |
84 | | - |
85 | | - |
86 | if (requestedBackend.isEmpty()TRUE | evaluated 200 times by 93 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 2 times by 1 test |
| 2-200 |
87 | && !QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::OpenGL)TRUE | never evaluated | FALSE | evaluated 200 times by 93 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 |
88 | requestedBackend = QString::fromLocal8Bit("software"); | - |
89 | } never executed: end of block | 0 |
90 | | - |
91 | if (!requestedBackend.isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 200 times by 93 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
- ...
|
) { | 2-200 |
92 | for (bool qt_category_enabled = QSG_LOG_INFO().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
; qt_category_enabled = false) QMessageLogger(__FILE__, 140, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Loading backend %s", QtPrivate::asString(requestedBackend).toUtf8().constData());never executed: QMessageLogger(__FILE__, 140, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Loading backend %s", QtPrivate::asString(requestedBackend).toUtf8().constData()); | 0-2 |
93 | | - |
94 | | - |
95 | for (QSGContextFactoryInterface *builtInBackend : qAsConst(backendData->builtIns)) { | - |
96 | if (builtInBackend->keys().contains(requestedBackend)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
97 | backendData->factory = builtInBackend; | - |
98 | backendData->name = requestedBackend; | - |
99 | backendData->flags = backendData->factory->flags(requestedBackend); | - |
100 | break;executed 2 times by 1 test: break; | 2 |
101 | } | - |
102 | } never executed: end of block | 0 |
103 | | - |
104 | | - |
105 | | - |
106 | if (!backendData->factoryTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
107 | const int index = loader()->indexOf(requestedBackend); | - |
108 | if (index != -1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
109 | backendData->factory = qobject_cast<QSGContextFactoryInterface*>(loader()->instance(index)); never executed: backendData->factory = qobject_cast<QSGContextFactoryInterface*>(loader()->instance(index)); | 0 |
110 | if (backendData->factoryTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
111 | backendData->name = requestedBackend; | - |
112 | backendData->flags = backendData->factory->flags(requestedBackend); | - |
113 | } never executed: end of block | 0 |
114 | if (!backendData->factoryTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
115 | QMessageLogger(__FILE__, 163, __PRETTY_FUNCTION__).warning("Could not create scene graph context for backend '%s'" | - |
116 | " - check that plugins are installed correctly in %s", | - |
117 | QtPrivate::asString(requestedBackend).toLocal8Bit().constData(), | - |
118 | QtPrivate::asString(QLibraryInfo::location(QLibraryInfo::PluginsPath)).toLocal8Bit().constData()); | - |
119 | } never executed: end of block | 0 |
120 | } never executed: end of block | 0 |
121 | | - |
122 | }executed 2 times by 1 test: end of block | 2 |
123 | }executed 202 times by 94 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
- ...
| 202 |
124 | | - |
125 | returnexecuted 9340 times by 94 tests: return backendData; 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
- ...
backendData;executed 9340 times by 94 tests: return backendData; 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
- ...
| 9340 |
126 | } | - |
127 | QSGContext *QSGContext::createDefaultContext() | - |
128 | { | - |
129 | QSGAdaptationBackendData *backendData = contextFactory(); | - |
130 | if (backendData->factoryTRUE | 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 |
131 | return never executed: return backendData->factory->create(backendData->name); backendData->factory->create(backendData->name);never executed: return backendData->factory->create(backendData->name); | 0 |
132 | | - |
133 | returnexecuted 200 times by 90 tests: return new QSGDefaultContext(); 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 QSGDefaultContext();executed 200 times by 90 tests: return new QSGDefaultContext(); 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 |
134 | | - |
135 | | - |
136 | | - |
137 | } | - |
138 | QQuickTextureFactory *QSGContext::createTextureFactoryFromImage(const QImage &image) | - |
139 | { | - |
140 | QSGAdaptationBackendData *backendData = contextFactory(); | - |
141 | if (backendData->factoryTRUE | never evaluated | FALSE | evaluated 8942 times by 37 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickimageprovider
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- ...
|
) | 0-8942 |
142 | return never executed: return backendData->factory->createTextureFactoryFromImage(image); backendData->factory->createTextureFactoryFromImage(image);never executed: return backendData->factory->createTextureFactoryFromImage(image); | 0 |
143 | returnexecuted 8942 times by 37 tests: return nullptr; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickimageprovider
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- ...
nullptr;executed 8942 times by 37 tests: return nullptr; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickimageprovider
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- ...
| 8942 |
144 | } | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | QSGRenderLoop *QSGContext::createWindowManager() | - |
153 | { | - |
154 | QSGAdaptationBackendData *backendData = contextFactory(); | - |
155 | if (backendData->factoryTRUE | evaluated 2 times by 1 test | FALSE | evaluated 196 times by 89 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
- ...
|
) | 2-196 |
156 | returnexecuted 2 times by 1 test: return backendData->factory->createWindowManager(); backendData->factory->createWindowManager();executed 2 times by 1 test: return backendData->factory->createWindowManager(); | 2 |
157 | returnexecuted 196 times by 89 tests: return nullptr; 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
- ...
nullptr;executed 196 times by 89 tests: return nullptr; 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
- ...
| 196 |
158 | } | - |
159 | | - |
160 | void QSGContext::setBackend(const QString &backend) | - |
161 | { | - |
162 | QSGAdaptationBackendData *backendData = qsg_adaptation_data(); | - |
163 | if (backendData->triedTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
164 | QMessageLogger(__FILE__, 231, __PRETTY_FUNCTION__).warning("Scenegraph already initialized, setBackend() request ignored"); never executed: QMessageLogger(__FILE__, 231, __PRETTY_FUNCTION__).warning("Scenegraph already initialized, setBackend() request ignored"); | 0 |
165 | | - |
166 | backendData->quickWindowBackendRequest = backend; | - |
167 | }executed 2 times by 1 test: end of block | 2 |
168 | | - |
169 | QString QSGContext::backend() | - |
170 | { | - |
171 | QSGAdaptationBackendData *backendData = qsg_adaptation_data(); | - |
172 | if (backendData->triedTRUE | evaluated 68 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshadereffect
- tst_qquickspritegoal
- ...
| FALSE | never evaluated |
) | 0-68 |
173 | returnexecuted 68 times by 34 tests: return backendData->name; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshadereffect
- tst_qquickspritegoal
- ...
backendData->name;executed 68 times by 34 tests: return backendData->name; Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshadereffect
- tst_qquickspritegoal
- ...
| 68 |
174 | | - |
175 | return never executed: return backendData->quickWindowBackendRequest; backendData->quickWindowBackendRequest;never executed: return backendData->quickWindowBackendRequest; | 0 |
176 | } | - |
177 | | - |
178 | | - |
179 | | - |
| | |