| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | QSGDefaultRenderContext::QSGDefaultRenderContext(QSGContext *context) | - |
| 9 | : QSGRenderContext(context) | - |
| 10 | , m_gl(nullptr) | - |
| 11 | , m_depthStencilManager(nullptr) | - |
| 12 | , m_maxTextureSize(0) | - |
| 13 | , m_brokenIBOs(false) | - |
| 14 | , m_serializedRender(false) | - |
| 15 | , m_attachToGLContext(true) | - |
| 16 | , m_atlasManager(nullptr) | - |
| 17 | { | - |
| 18 | | - |
| 19 | }executed 314 times by 90 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
- ...
| 314 |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | void QSGDefaultRenderContext::initialize(void *context) | - |
| 26 | { | - |
| 27 | if (!m_sg| 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 |
| 28 | return; never executed: return; | 0 |
| 29 | | - |
| 30 | QOpenGLContext *openglContext = static_cast<QOpenGLContext *>(context); | - |
| 31 | | - |
| 32 | QOpenGLFunctions *funcs = QOpenGLContext::currentContext()->functions(); | - |
| 33 | funcs->glGetIntegerv( | - |
| 34 | 0x0D33 | - |
| 35 | , &m_maxTextureSize); | - |
| 36 | | - |
| 37 | | - |
| 38 | QSurfaceFormat requested = m_sg->defaultSurfaceFormat(); | - |
| 39 | QSurfaceFormat actual = openglContext->format(); | - |
| 40 | if (requested.depthBufferSize() > 0| TRUE | 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 |
&& actual.depthBufferSize() <= 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 3122 times by 75 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 0-3124 |
| 41 | QMessageLogger(__FILE__, 86, __PRETTY_FUNCTION__).warning("QSGContext::initialize: depth buffer support missing, expect rendering errors");executed 2 times by 1 test: QMessageLogger(__FILE__, 86, __PRETTY_FUNCTION__).warning("QSGContext::initialize: depth buffer support missing, expect rendering errors"); | 2 |
| 42 | if (requested.stencilBufferSize() > 0| TRUE | 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 |
&& actual.stencilBufferSize() <= 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 3122 times by 75 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 0-3124 |
| 43 | QMessageLogger(__FILE__, 88, __PRETTY_FUNCTION__).warning("QSGContext::initialize: stencil buffer support missing, expect rendering errors");executed 2 times by 1 test: QMessageLogger(__FILE__, 88, __PRETTY_FUNCTION__).warning("QSGContext::initialize: stencil buffer support missing, expect rendering errors"); | 2 |
| 44 | | - |
| 45 | if (!m_atlasManager| TRUE | 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 |
) | 0-3124 |
| 46 | m_atlasManager = new QSGAtlasTexture::Manager();executed 3124 times by 76 tests: m_atlasManager = new QSGAtlasTexture::Manager();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 |
| 47 | | - |
| 48 | ((!m_gl) ? static_cast<void>(0) : qt_assert_x("QSGRenderContext::initialize", "already initialized!", __FILE__, 93)); | - |
| 49 | m_gl = openglContext; | - |
| 50 | if (m_attachToGLContext| TRUE | 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 |
) { | 0-3124 |
| 51 | ((!openglContext->property("_q_sgrendercontext").isValid()) ? static_cast<void>(0) : qt_assert("!openglContext->property(QSG_RENDERCONTEXT_PROPERTY).isValid()", __FILE__, 96)); | - |
| 52 | openglContext->setProperty("_q_sgrendercontext", QVariant::fromValue(this)); | - |
| 53 | }executed 3124 times by 76 tests: end of blockExecuted 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 |
| 54 | m_sg->renderContextInitialized(this); | - |
| 55 | | - |
| 56 | | - |
| 57 | const char *vendor = (const char *) funcs->glGetString( | - |
| 58 | 0x1F00 | - |
| 59 | ); | - |
| 60 | if (vendor| TRUE | 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 |
&& strstr(vendor, "nouveau")| 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 |
| 61 | m_brokenIBOs = true; never executed: m_brokenIBOs = true; | 0 |
| 62 | const char *renderer = (const char *) funcs->glGetString( | - |
| 63 | 0x1F01 | - |
| 64 | ); | - |
| 65 | if (renderer| TRUE | 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 |
&& strstr(renderer, "llvmpipe")| TRUE | 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 |
) | 0-3124 |
| 66 | m_serializedRender = true;executed 3124 times by 76 tests: m_serializedRender = true;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 |
| 67 | if (vendor| TRUE | 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 |
&& renderer| TRUE | 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 |
&& strstr(vendor, "Hisilicon Technologies")| 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
- ...
|
&& strstr(renderer, "Immersion.16")| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-3124 |
| 68 | m_brokenIBOs = true; never executed: m_brokenIBOs = true; | 0 |
| 69 | | - |
| 70 | | - |
| 71 | initialized(); | - |
| 72 | }executed 3124 times by 76 tests: end of blockExecuted 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 |
| 73 | | - |
| 74 | | - |
| 75 | void QSGDefaultRenderContext::invalidate() | - |
| 76 | { | - |
| 77 | if (!m_gl| TRUE | evaluated 1823 times by 40 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickparticlesystem
- ...
| | 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
- ...
|
) | 1823-3124 |
| 78 | return;executed 1823 times by 40 tests: return;Executed by:- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickparticlesystem
- ...
| 1823 |
| 79 | | - |
| 80 | qDeleteAll(m_texturesToDelete); | - |
| 81 | m_texturesToDelete.clear(); | - |
| 82 | | - |
| 83 | qDeleteAll(m_textures); | - |
| 84 | m_textures.clear(); | - |
| 85 | m_atlasManager->invalidate(); | - |
| 86 | m_atlasManager->deleteLater(); | - |
| 87 | m_atlasManager = nullptr; | - |
| 88 | | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | for (QSet<QFontEngine *>::const_iterator it = m_fontEnginesToClean.constBegin(), | - |
| 95 | end = m_fontEnginesToClean.constEnd(); it != end| TRUE | evaluated 16 times by 1 test | | 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
- ...
|
; ++it) { | 16-3124 |
| 96 | (*it)->clearGlyphCache(m_gl); | - |
| 97 | if (!(*it)->ref.deref()| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 test |
) | 0-16 |
| 98 | delete *it; never executed: delete *it; | 0 |
| 99 | }executed 16 times by 1 test: end of block | 16 |
| 100 | m_fontEnginesToClean.clear(); | - |
| 101 | | - |
| 102 | delete m_depthStencilManager; | - |
| 103 | m_depthStencilManager = nullptr; | - |
| 104 | | - |
| 105 | qDeleteAll(m_glyphCaches); | - |
| 106 | m_glyphCaches.clear(); | - |
| 107 | | - |
| 108 | if (m_gl->property("_q_sgrendercontext") == QVariant::fromValue(this)| TRUE | 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 |
) | 0-3124 |
| 109 | m_gl->setProperty("_q_sgrendercontext", QVariant());executed 3124 times by 76 tests: m_gl->setProperty("_q_sgrendercontext", QVariant());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 |
| 110 | m_gl = nullptr; | - |
| 111 | | - |
| 112 | if (m_sg| TRUE | 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 |
) | 0-3124 |
| 113 | m_sg->renderContextInvalidated(this);executed 3124 times by 76 tests: m_sg->renderContextInvalidated(this);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 |
| 114 | invalidated(); | - |
| 115 | }executed 3124 times by 76 tests: end of blockExecuted 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 |
| 116 | | - |
| 117 | static QBasicMutex qsg_framerender_mutex; | - |
| 118 | | - |
| 119 | void QSGDefaultRenderContext::renderNextFrame(QSGRenderer *renderer, uint fboId) | - |
| 120 | { | - |
| 121 | if (m_serializedRender| TRUE | evaluated 50599 times by 75 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| | FALSE | never evaluated |
) | 0-50599 |
| 122 | qsg_framerender_mutex.lock();executed 50599 times by 75 tests: qsg_framerender_mutex.lock();Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50599 |
| 123 | | - |
| 124 | renderer->renderScene(fboId); | - |
| 125 | | - |
| 126 | if (m_serializedRender| TRUE | evaluated 50599 times by 75 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| | FALSE | never evaluated |
) | 0-50599 |
| 127 | qsg_framerender_mutex.unlock();executed 50599 times by 75 tests: qsg_framerender_mutex.unlock();Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50599 |
| 128 | }executed 50599 times by 75 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50599 |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | QSharedPointer<QSGDepthStencilBuffer> QSGDefaultRenderContext::depthStencilBufferForFbo(QOpenGLFramebufferObject *fbo) | - |
| 134 | { | - |
| 135 | if (!m_gl| TRUE | never evaluated | | FALSE | evaluated 85 times by 5 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
|
) | 0-85 |
| 136 | return never executed: return QSharedPointer<QSGDepthStencilBuffer>(); QSharedPointer<QSGDepthStencilBuffer>();never executed: return QSharedPointer<QSGDepthStencilBuffer>(); | 0 |
| 137 | QSGDepthStencilBufferManager *manager = depthStencilBufferManager(); | - |
| 138 | QSGDepthStencilBuffer::Format format; | - |
| 139 | format.size = fbo->size(); | - |
| 140 | format.samples = fbo->format().samples(); | - |
| 141 | format.attachments = QSGDepthStencilBuffer::DepthAttachment | QSGDepthStencilBuffer::StencilAttachment; | - |
| 142 | QSharedPointer<QSGDepthStencilBuffer> buffer = manager->bufferForFormat(format); | - |
| 143 | if (buffer.isNull()| TRUE | evaluated 67 times by 5 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
| | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
) { | 18-67 |
| 144 | buffer = QSharedPointer<QSGDepthStencilBuffer>(new QSGDefaultDepthStencilBuffer(m_gl, format)); | - |
| 145 | manager->insertBuffer(buffer); | - |
| 146 | }executed 67 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
| 67 |
| 147 | returnexecuted 85 times by 5 tests: return buffer;Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
buffer;executed 85 times by 5 tests: return buffer;Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
| 85 |
| 148 | } | - |
| 149 | | - |
| 150 | | - |
| 151 | | - |
| 152 | | - |
| 153 | | - |
| 154 | QSGDepthStencilBufferManager *QSGDefaultRenderContext::depthStencilBufferManager() | - |
| 155 | { | - |
| 156 | if (!m_gl| TRUE | never evaluated | | FALSE | evaluated 85 times by 5 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
|
) | 0-85 |
| 157 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 158 | if (!m_depthStencilManager| TRUE | evaluated 57 times by 5 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
| | FALSE | evaluated 28 times by 4 testsEvaluated by:- tst_examples
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
|
) | 28-57 |
| 159 | m_depthStencilManager = new QSGDepthStencilBufferManager(m_gl);executed 57 times by 5 tests: m_depthStencilManager = new QSGDepthStencilBufferManager(m_gl);Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
| 57 |
| 160 | returnexecuted 85 times by 5 tests: return m_depthStencilManager;Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
m_depthStencilManager;executed 85 times by 5 tests: return m_depthStencilManager;Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicktext
| 85 |
| 161 | } | - |
| 162 | | - |
| 163 | QSGTexture *QSGDefaultRenderContext::createTexture(const QImage &image, uint flags) const | - |
| 164 | { | - |
| 165 | bool atlas = flags & CreateTexture_Atlas; | - |
| 166 | bool mipmap = flags & CreateTexture_Mipmap; | - |
| 167 | bool alpha = flags & CreateTexture_Alpha; | - |
| 168 | | - |
| 169 | | - |
| 170 | | - |
| 171 | if (!mipmap| TRUE | evaluated 427 times by 11 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_qquicktext
- tst_scenegraph
| | FALSE | never evaluated |
&& atlas| TRUE | evaluated 367 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| | FALSE | evaluated 60 times by 4 testsEvaluated by:- tst_examples
- tst_qquickanimatedsprite
- tst_qquickspritesequence
- tst_qquicktext
|
&& openglContext()| TRUE | evaluated 367 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| | FALSE | never evaluated |
&& QThread::currentThread() == openglContext()->thread()| TRUE | evaluated 367 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-427 |
| 172 | QSGTexture *t = m_atlasManager->create(image, alpha); | - |
| 173 | if (t| TRUE | evaluated 289 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| | FALSE | evaluated 78 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
|
) | 78-289 |
| 174 | returnexecuted 289 times by 8 tests: return t;Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
t;executed 289 times by 8 tests: return t;Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| 289 |
| 175 | }executed 78 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 78 |
| 176 | | - |
| 177 | QSGPlainTexture *texture = new QSGPlainTexture(); | - |
| 178 | texture->setImage(image); | - |
| 179 | if (texture->hasAlphaChannel()| TRUE | evaluated 84 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimatedsprite
- tst_qquickimage
- tst_qquickspritesequence
- tst_qquicktext
| | FALSE | evaluated 54 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
|
&& !alpha| TRUE | never evaluated | | FALSE | evaluated 84 times by 5 testsEvaluated by:- tst_examples
- tst_qquickanimatedsprite
- tst_qquickimage
- tst_qquickspritesequence
- tst_qquicktext
|
) | 0-84 |
| 180 | texture->setHasAlphaChannel(false); never executed: texture->setHasAlphaChannel(false); | 0 |
| 181 | | - |
| 182 | returnexecuted 138 times by 6 tests: return texture;Executed by:- tst_examples
- tst_qquickanimatedsprite
- tst_qquickimage
- tst_qquickspritesequence
- tst_qquicktext
- tst_scenegraph
texture;executed 138 times by 6 tests: return texture;Executed by:- tst_examples
- tst_qquickanimatedsprite
- tst_qquickimage
- tst_qquickspritesequence
- tst_qquicktext
- tst_scenegraph
| 138 |
| 183 | } | - |
| 184 | | - |
| 185 | QSGRenderer *QSGDefaultRenderContext::createRenderer() | - |
| 186 | { | - |
| 187 | returnexecuted 3575 times by 75 tests: return new QSGBatchRenderer::Renderer(this);Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
new QSGBatchRenderer::Renderer(this);executed 3575 times by 75 tests: return new QSGBatchRenderer::Renderer(this);Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 3575 |
| 188 | } | - |
| 189 | | - |
| 190 | QSGTexture *QSGDefaultRenderContext::compressedTextureForFactory(const QSGCompressedTextureFactory *factory) const | - |
| 191 | { | - |
| 192 | | - |
| 193 | if (openglContext()| TRUE | never evaluated | | FALSE | never evaluated |
&& QThread::currentThread() == openglContext()->thread()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 194 | return never executed: return m_atlasManager->create(factory); m_atlasManager->create(factory);never executed: return m_atlasManager->create(factory); | 0 |
| 195 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 196 | } | - |
| 197 | void QSGDefaultRenderContext::compileShader(QSGMaterialShader *shader, QSGMaterial *material, const char *vertexCode, const char *fragmentCode) | - |
| 198 | { | - |
| 199 | (void)material;; | - |
| 200 | if (vertexCode| TRUE | evaluated 4360 times by 69 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| | FALSE | evaluated 144 times by 30 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- ...
|
|| fragmentCode| TRUE | never evaluated | | FALSE | evaluated 144 times by 30 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- ...
|
) { | 0-4360 |
| 201 | (((material->flags() & QSGMaterial::CustomCompileStep) == 0) ? static_cast<void>(0) : qt_assert_x("QSGRenderContext::compile()", "materials with custom compile step cannot have modified vertex or fragment code", | - |
| 202 | | - |
| 203 | __FILE__ | - |
| 204 | , | - |
| 205 | | - |
| 206 | 272 | - |
| 207 | )) | - |
| 208 | | - |
| 209 | ; | - |
| 210 | QOpenGLShaderProgram *p = shader->program(); | - |
| 211 | p->addCacheableShaderFromSourceCode(QOpenGLShader::Vertex, vertexCode ? vertexCode : shader->vertexShader()); | - |
| 212 | p->addCacheableShaderFromSourceCode(QOpenGLShader::Fragment, fragmentCode ? fragmentCode : shader->fragmentShader()); | - |
| 213 | p->link(); | - |
| 214 | if (!p->isLinked()| TRUE | never evaluated | | FALSE | evaluated 4360 times by 69 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
) | 0-4360 |
| 215 | QMessageLogger(__FILE__, 278, __PRETTY_FUNCTION__).warning() << "shader compilation failed:" << endl << p->log(); never executed: QMessageLogger(__FILE__, 278, __PRETTY_FUNCTION__).warning() << "shader compilation failed:" << endl << p->log(); | 0 |
| 216 | }executed 4360 times by 69 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
else { | 4360 |
| 217 | shader->compile(); | - |
| 218 | }executed 144 times by 30 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- ...
| 144 |
| 219 | } | - |
| 220 | | - |
| 221 | QString QSGDefaultRenderContext::fontKey(const QRawFont &font) | - |
| 222 | { | - |
| 223 | QFontEngine *fe = QRawFontPrivate::get(font)->fontEngine; | - |
| 224 | if (!fe->faceId().filename.isEmpty()| TRUE | 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
| | FALSE | never evaluated |
) { | 0-249131 |
| 225 | QByteArray keyName = fe->faceId().filename; | - |
| 226 | if (font.style() != QFont::StyleNormal| TRUE | evaluated 41 times by 2 testsEvaluated by:- tst_examples
- tst_qquicktext
| | FALSE | evaluated 249090 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
|
) | 41-249090 |
| 227 | keyName += QByteArray(" I");executed 41 times by 2 tests: keyName += QByteArray(" I");Executed by:- tst_examples
- tst_qquicktext
| 41 |
| 228 | if (font.weight() != QFont::Normal| TRUE | evaluated 358 times by 4 testsEvaluated by:- tst_examples
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktext
| | FALSE | evaluated 248773 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
|
) | 358-248773 |
| 229 | keyName += ' ' + QByteArray::number(font.weight());executed 358 times by 4 tests: keyName += ' ' + QByteArray::number(font.weight());Executed by:- tst_examples
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktext
| 358 |
| 230 | keyName += QByteArray(" DF"); | - |
| 231 | returnexecuted 249131 times by 24 tests: return QString::fromUtf8(keyName);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
QString::fromUtf8(keyName);executed 249131 times by 24 tests: return QString::fromUtf8(keyName);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 |
| 232 | } else { | - |
| 233 | return never executed: return QString::fromLatin1("%1_%2_%3_%4") .arg(font.familyName()) .arg(font.styleName()) .arg(font.weight()) .arg(font.style()); QString::fromLatin1("%1_%2_%3_%4")never executed: return QString::fromLatin1("%1_%2_%3_%4") .arg(font.familyName()) .arg(font.styleName()) .arg(font.weight()) .arg(font.style()); | 0 |
| 234 | .arg(font.familyName()) never executed: return QString::fromLatin1("%1_%2_%3_%4") .arg(font.familyName()) .arg(font.styleName()) .arg(font.weight()) .arg(font.style()); | 0 |
| 235 | .arg(font.styleName()) never executed: return QString::fromLatin1("%1_%2_%3_%4") .arg(font.familyName()) .arg(font.styleName()) .arg(font.weight()) .arg(font.style()); | 0 |
| 236 | .arg(font.weight()) never executed: return QString::fromLatin1("%1_%2_%3_%4") .arg(font.familyName()) .arg(font.styleName()) .arg(font.weight()) .arg(font.style()); | 0 |
| 237 | .arg(font.style()); never executed: return QString::fromLatin1("%1_%2_%3_%4") .arg(font.familyName()) .arg(font.styleName()) .arg(font.weight()) .arg(font.style()); | 0 |
| 238 | } | - |
| 239 | } | - |
| 240 | | - |
| 241 | void QSGDefaultRenderContext::initializeShader(QSGMaterialShader *shader) | - |
| 242 | { | - |
| 243 | shader->program()->bind(); | - |
| 244 | shader->initialize(); | - |
| 245 | }executed 4504 times by 70 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 4504 |
| 246 | | - |
| 247 | void QSGDefaultRenderContext::setAttachToGraphicsContext(bool attach) | - |
| 248 | { | - |
| 249 | ((!isValid()) ? static_cast<void>(0) : qt_assert("!isValid()", __FILE__, 312)); | - |
| 250 | m_attachToGLContext = attach; | - |
| 251 | } never executed: end of block | 0 |
| 252 | | - |
| 253 | QSGDefaultRenderContext *QSGDefaultRenderContext::from(QOpenGLContext *context) | - |
| 254 | { | - |
| 255 | returnexecuted 303 times by 28 tests: return qobject_cast<QSGDefaultRenderContext *>(context->property("_q_sgrendercontext").value<QObject *>());Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- tst_qquicktrailemitter
- ...
qobject_cast<QSGDefaultRenderContext *>(context->property("_q_sgrendercontext").value<QObject *>());executed 303 times by 28 tests: return qobject_cast<QSGDefaultRenderContext *>(context->property("_q_sgrendercontext").value<QObject *>());Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- tst_qquicktrailemitter
- ...
| 303 |
| 256 | } | - |
| 257 | | - |
| 258 | bool QSGDefaultRenderContext::separateIndexBuffer() const | - |
| 259 | { | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | static const bool isWebGL = (static_cast<QGuiApplication *>(QCoreApplication::instance()))->platformName().compare(QLatin1String("webgl")) == 0; | - |
| 266 | returnexecuted 332948 times by 76 tests: return isWebGL;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
- ...
isWebGL;executed 332948 times by 76 tests: return isWebGL;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
- ...
| 332948 |
| 267 | } | - |
| 268 | | - |
| 269 | QSGDistanceFieldGlyphCache *QSGDefaultRenderContext::distanceFieldGlyphCache(const QRawFont &font) | - |
| 270 | { | - |
| 271 | QString key = fontKey(font); | - |
| 272 | QSGDistanceFieldGlyphCache *cache = m_glyphCaches.value(key, 0); | - |
| 273 | if (!cache| TRUE | evaluated 1622 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
| | FALSE | evaluated 247509 times by 19 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) { | 1622-247509 |
| 274 | cache = new QSGDefaultDistanceFieldGlyphCache(openglContext(), font); | - |
| 275 | m_glyphCaches.insert(key, cache); | - |
| 276 | }executed 1622 times by 24 tests: end of blockExecuted 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
| 1622 |
| 277 | | - |
| 278 | returnexecuted 249131 times by 24 tests: return cache;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
cache;executed 249131 times by 24 tests: return cache;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 |
| 279 | } | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| | |