| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #include "qsgcontextplugin_p.h" | - |
| 41 | #include <QtQuick/private/qsgcontext_p.h> | - |
| 42 | #include <QtGui/qguiapplication.h> | - |
| 43 | #include <QtCore/private/qfactoryloader_p.h> | - |
| 44 | #include <QtCore/qlibraryinfo.h> | - |
| 45 | | - |
| 46 | | - |
| 47 | #include <QtQuick/private/qsgsoftwareadaptation_p.h> | - |
| 48 | #if QT_CONFIG(opengl) | - |
| 49 | #include <QtQuick/private/qsgdefaultcontext_p.h> | - |
| 50 | #endif | - |
| 51 | | - |
| 52 | #include <QtGui/private/qguiapplication_p.h> | - |
| 53 | #include <QtGui/qpa/qplatformintegration.h> | - |
| 54 | | - |
| 55 | QT_BEGIN_NAMESPACE | - |
| 56 | | - |
| 57 | Q_DECLARE_LOGGING_CATEGORY(QSG_LOG_INFO) | - |
| 58 | | - |
| 59 | QSGContextPlugin::QSGContextPlugin(QObject *parent) | - |
| 60 | : QObject(parent) | - |
| 61 | { | - |
| 62 | }executed 202 times by 94 tests: end of blockExecuted 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 |
| 63 | | - |
| 64 | QSGContextPlugin::~QSGContextPlugin() | - |
| 65 | { | - |
| 66 | } | - |
| 67 | | - |
| 68 | #if QT_CONFIG(library) | - |
| 69 | Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, never executed: end of block never executed: guard.store(QtGlobalStatic::Destroyed); never executed: return &holder.value; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 70 | (QSGContextFactoryInterface_iid, QLatin1String("/scenegraph"))) | - |
| 71 | #endif | - |
| 72 | | - |
| 73 | struct QSGAdaptationBackendData | - |
| 74 | { | - |
| 75 | QSGAdaptationBackendData(); | - |
| 76 | | - |
| 77 | bool tried = false; | - |
| 78 | QSGContextFactoryInterface *factory = nullptr; | - |
| 79 | QString name; | - |
| 80 | QSGContextFactoryInterface::Flags flags; | - |
| 81 | | - |
| 82 | QVector<QSGContextFactoryInterface *> builtIns; | - |
| 83 | | - |
| 84 | QString quickWindowBackendRequest; | - |
| 85 | }; | - |
| 86 | | - |
| 87 | QSGAdaptationBackendData::QSGAdaptationBackendData() | - |
| 88 | : flags(nullptr) | - |
| 89 | { | - |
| 90 | | - |
| 91 | builtIns.append(new QSGSoftwareAdaptation); | - |
| 92 | }executed 202 times by 94 tests: end of blockExecuted 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 |
| 93 | | - |
| 94 | Q_GLOBAL_STATIC(QSGAdaptationBackendData, qsg_adaptation_data)executed 202 times by 94 tests: end of blockExecuted 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: 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 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
- ...
| TRUE | 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 |
| 0-9518 |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | QSGContextFactoryInterface::Flags qsg_backend_flags() | - |
| 102 | { | - |
| 103 | return 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 |
| 104 | } | - |
| 105 | | - |
| 106 | QSGAdaptationBackendData *contextFactory() | - |
| 107 | { | - |
| 108 | QSGAdaptationBackendData *backendData = qsg_adaptation_data(); | - |
| 109 | | - |
| 110 | if (!backendData->tried) {| TRUE | 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 |
| 111 | backendData->tried = true; | - |
| 112 | | - |
| 113 | const QStringList args = QGuiApplication::arguments(); | - |
| 114 | QString requestedBackend = backendData->quickWindowBackendRequest; | - |
| 115 | | - |
| 116 | for (int index = 0; index < args.count(); ++index) {| 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
- ...
|
| 202-228 |
| 117 | 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 |
| 118 | requestedBackend = args.at(index).mid(9); | - |
| 119 | break; never executed: break; | 0 |
| 120 | } | - |
| 121 | }executed 228 times by 94 tests: end of blockExecuted 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 |
| 122 | | - |
| 123 | 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 |
| 124 | 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 |
| 125 | | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | 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 |
| 130 | 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 |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | 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 |
| 135 | && !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 |
| 136 | requestedBackend = QString::fromLocal8Bit("software"); | - |
| 137 | } never executed: end of block | 0 |
| 138 | | - |
| 139 | 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 |
| 140 | qCDebug(QSG_LOG_INFO, "Loading backend %s", qUtf8Printable(requestedBackend)); never executed: QMessageLogger(__FILE__, 140, __PRETTY_FUNCTION__, QSG_LOG_INFO().categoryName()).debug("Loading backend %s", QtPrivate::asString(requestedBackend).toUtf8().constData()); | TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 141 | | - |
| 142 | | - |
| 143 | for (QSGContextFactoryInterface *builtInBackend : qAsConst(backendData->builtIns)) { | - |
| 144 | if (builtInBackend->keys().contains(requestedBackend)) {| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 145 | backendData->factory = builtInBackend; | - |
| 146 | backendData->name = requestedBackend; | - |
| 147 | backendData->flags = backendData->factory->flags(requestedBackend); | - |
| 148 | break;executed 2 times by 1 test: break; | 2 |
| 149 | } | - |
| 150 | } never executed: end of block | 0 |
| 151 | | - |
| 152 | #if QT_CONFIG(library) | - |
| 153 | | - |
| 154 | if (!backendData->factory) {| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 155 | const int index = loader()->indexOf(requestedBackend); | - |
| 156 | if (index != -1)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 157 | backendData->factory = qobject_cast<QSGContextFactoryInterface*>(loader()->instance(index)); never executed: backendData->factory = qobject_cast<QSGContextFactoryInterface*>(loader()->instance(index)); | 0 |
| 158 | if (backendData->factory) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 159 | backendData->name = requestedBackend; | - |
| 160 | backendData->flags = backendData->factory->flags(requestedBackend); | - |
| 161 | } never executed: end of block | 0 |
| 162 | if (!backendData->factory) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 163 | qWarning("Could not create scene graph context for backend '%s'" | - |
| 164 | " - check that plugins are installed correctly in %s", | - |
| 165 | qPrintable(requestedBackend), | - |
| 166 | qPrintable(QLibraryInfo::location(QLibraryInfo::PluginsPath))); | - |
| 167 | } never executed: end of block | 0 |
| 168 | } never executed: end of block | 0 |
| 169 | #endif // library | - |
| 170 | }executed 2 times by 1 test: end of block | 2 |
| 171 | }executed 202 times by 94 tests: end of blockExecuted 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 |
| 172 | | - |
| 173 | return 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 |
| 174 | } | - |
| 175 | | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | QSGContext *QSGContext::createDefaultContext() | - |
| 185 | { | - |
| 186 | QSGAdaptationBackendData *backendData = contextFactory(); | - |
| 187 | if (backendData->factory)| 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 |
| 188 | return backendData->factory->create(backendData->name); never executed: return backendData->factory->create(backendData->name); | 0 |
| 189 | #if QT_CONFIG(opengl) | - |
| 190 | return 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 |
| 191 | #else | - |
| 192 | return nullptr; | - |
| 193 | #endif | - |
| 194 | } | - |
| 195 | | - |
| 196 | | - |
| 197 | | - |
| 198 | | - |
| 199 | | - |
| 200 | | - |
| 201 | | - |
| 202 | | - |
| 203 | | - |
| 204 | | - |
| 205 | QQuickTextureFactory *QSGContext::createTextureFactoryFromImage(const QImage &image) | - |
| 206 | { | - |
| 207 | QSGAdaptationBackendData *backendData = contextFactory(); | - |
| 208 | if (backendData->factory)| TRUE | 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 |
| 209 | return backendData->factory->createTextureFactoryFromImage(image); never executed: return backendData->factory->createTextureFactoryFromImage(image); | 0 |
| 210 | return 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 |
| 211 | } | - |
| 212 | | - |
| 213 | | - |
| 214 | | - |
| 215 | | - |
| 216 | | - |
| 217 | | - |
| 218 | | - |
| 219 | QSGRenderLoop *QSGContext::createWindowManager() | - |
| 220 | { | - |
| 221 | QSGAdaptationBackendData *backendData = contextFactory(); | - |
| 222 | if (backendData->factory)| TRUE | 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 |
| 223 | return backendData->factory->createWindowManager();executed 2 times by 1 test: return backendData->factory->createWindowManager(); | 2 |
| 224 | return 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 |
| 225 | } | - |
| 226 | | - |
| 227 | void QSGContext::setBackend(const QString &backend) | - |
| 228 | { | - |
| 229 | QSGAdaptationBackendData *backendData = qsg_adaptation_data(); | - |
| 230 | if (backendData->tried)| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 231 | qWarning("Scenegraph already initialized, setBackend() request ignored"); never executed: QMessageLogger(__FILE__, 231, __PRETTY_FUNCTION__).warning("Scenegraph already initialized, setBackend() request ignored"); | 0 |
| 232 | | - |
| 233 | backendData->quickWindowBackendRequest = backend; | - |
| 234 | }executed 2 times by 1 test: end of block | 2 |
| 235 | | - |
| 236 | QString QSGContext::backend() | - |
| 237 | { | - |
| 238 | QSGAdaptationBackendData *backendData = qsg_adaptation_data(); | - |
| 239 | if (backendData->tried)| TRUE | 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 |
| 240 | return 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 |
| 241 | | - |
| 242 | return backendData->quickWindowBackendRequest; never executed: return backendData->quickWindowBackendRequest; | 0 |
| 243 | } | - |
| 244 | | - |
| 245 | QT_END_NAMESPACE | - |
| 246 | | - |
| 247 | #include "moc_qsgcontextplugin_p.cpp" | - |
| | |