| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | static QElapsedTimer qsg_renderer_timer; | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | static const bool qsg_leak_check = !qEnvironmentVariableIsEmpty("QML_LEAK_CHECK"); | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | inline static bool isPowerOfTwo(int x) | - |
| 16 | { | - |
| 17 | | - |
| 18 | returnexecuted 25 times by 4 tests: return x == (x & -x);Executed by:- tst_examples
- tst_qquickimage
- tst_qquickpainteditem
- tst_scenegraph
x == (x & -x);executed 25 times by 4 tests: return x == (x & -x);Executed by:- tst_examples
- tst_qquickimage
- tst_qquickpainteditem
- tst_scenegraph
| 25 |
| 19 | } | - |
| 20 | | - |
| 21 | | - |
| 22 | QSGTexturePrivate::QSGTexturePrivate() | - |
| 23 | : wrapChanged(false) | - |
| 24 | , filteringChanged(false) | - |
| 25 | , anisotropyChanged(false) | - |
| 26 | , horizontalWrap(QSGTexture::ClampToEdge) | - |
| 27 | , verticalWrap(QSGTexture::ClampToEdge) | - |
| 28 | , mipmapMode(QSGTexture::None) | - |
| 29 | , filterMode(QSGTexture::Nearest) | - |
| 30 | , anisotropyLevel(QSGTexture::AnisotropyNone) | - |
| 31 | { | - |
| 32 | }executed 794 times by 37 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
| 794 |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | static int qt_debug_texture_count = 0; | - |
| 37 | | - |
| 38 | | - |
| 39 | static bool qmlDebugLeakBacktrace() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown| TRUE | never evaluated | | FALSE | never evaluated |
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_DEBUG_LEAK_BACKTRACE")), false)| TRUE | never evaluated | | FALSE | never evaluated |
) { const QByteArray v = qgetenv("QML_DEBUG_LEAK_BACKTRACE"); if (v != "0"| TRUE | never evaluated | | FALSE | never evaluated |
&& v != "false"| TRUE | never evaluated | | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }never executed: end of block returnnever executed: return status == Yes; status == Yes;never executed: return status == Yes; } | 0 |
| 40 | | - |
| 41 | | - |
| 42 | class SGTextureTraceItem | - |
| 43 | { | - |
| 44 | public: | - |
| 45 | void *backTrace[20]; | - |
| 46 | size_t backTraceSize; | - |
| 47 | }; | - |
| 48 | | - |
| 49 | static QHash<QSGTexture*, SGTextureTraceItem*> qt_debug_allocated_textures; | - |
| 50 | | - |
| 51 | | - |
| 52 | inline static void qt_debug_print_texture_count() | - |
| 53 | { | - |
| 54 | QMessageLogger(__FILE__, 132, __PRETTY_FUNCTION__).debug("Number of leaked textures: %i", qt_debug_texture_count); | - |
| 55 | qt_debug_texture_count = -1; | - |
| 56 | | - |
| 57 | | - |
| 58 | if (qmlDebugLeakBacktrace()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 59 | while (!qt_debug_allocated_textures.isEmpty()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 60 | QHash<QSGTexture*, SGTextureTraceItem*>::Iterator it = qt_debug_allocated_textures.begin(); | - |
| 61 | QSGTexture* texture = it.key(); | - |
| 62 | SGTextureTraceItem* item = it.value(); | - |
| 63 | | - |
| 64 | qt_debug_allocated_textures.erase(it); | - |
| 65 | | - |
| 66 | QMessageLogger(__FILE__, 144, __PRETTY_FUNCTION__).debug() << "------"; | - |
| 67 | QMessageLogger(__FILE__, 145, __PRETTY_FUNCTION__).debug() << "Leaked" << texture << "backtrace:"; | - |
| 68 | | - |
| 69 | char** symbols = backtrace_symbols(item->backTrace, item->backTraceSize); | - |
| 70 | | - |
| 71 | if (symbols| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 72 | for (int i=0; i<(int) item->backTraceSize| TRUE | never evaluated | | FALSE | never evaluated |
; i++) | 0 |
| 73 | QMessageLogger(__FILE__, 151, __PRETTY_FUNCTION__).debug("Backtrace <%02d>: %s", i, symbols[i]); never executed: QMessageLogger(__FILE__, 151, __PRETTY_FUNCTION__).debug("Backtrace <%02d>: %s", i, symbols[i]); | 0 |
| 74 | free(symbols); | - |
| 75 | } never executed: end of block | 0 |
| 76 | | - |
| 77 | QMessageLogger(__FILE__, 155, __PRETTY_FUNCTION__).debug() << "------"; | - |
| 78 | | - |
| 79 | delete item; | - |
| 80 | } never executed: end of block | 0 |
| 81 | } never executed: end of block | 0 |
| 82 | | - |
| 83 | } never executed: end of block | 0 |
| 84 | | - |
| 85 | inline static void qt_debug_add_texture(QSGTexture* texture) | - |
| 86 | { | - |
| 87 | | - |
| 88 | if (qmlDebugLeakBacktrace()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 89 | SGTextureTraceItem* item = new SGTextureTraceItem; | - |
| 90 | item->backTraceSize = backtrace(item->backTrace, 20); | - |
| 91 | qt_debug_allocated_textures.insert(texture, item); | - |
| 92 | } never executed: end of block | 0 |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | ++qt_debug_texture_count; | - |
| 98 | | - |
| 99 | static bool atexit_registered = false; | - |
| 100 | if (!atexit_registered| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 101 | atexit(qt_debug_print_texture_count); | - |
| 102 | atexit_registered = true; | - |
| 103 | } never executed: end of block | 0 |
| 104 | } never executed: end of block | 0 |
| 105 | | - |
| 106 | static void qt_debug_remove_texture(QSGTexture* texture) | - |
| 107 | { | - |
| 108 | | - |
| 109 | if (qmlDebugLeakBacktrace()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 110 | SGTextureTraceItem* item = qt_debug_allocated_textures.value(texture, 0); | - |
| 111 | if (item| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 112 | qt_debug_allocated_textures.remove(texture); | - |
| 113 | delete item; | - |
| 114 | } never executed: end of block | 0 |
| 115 | } never executed: end of block | 0 |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | --qt_debug_texture_count; | - |
| 121 | | - |
| 122 | if (qt_debug_texture_count < 0| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 123 | QMessageLogger(__FILE__, 201, __PRETTY_FUNCTION__).debug("Texture destroyed after qt_debug_print_texture_count() was called."); never executed: QMessageLogger(__FILE__, 201, __PRETTY_FUNCTION__).debug("Texture destroyed after qt_debug_print_texture_count() was called."); | 0 |
| 124 | } never executed: end of block | 0 |
| 125 | namespace { namespace Q_QGS_qsg_valid_texture_set { typedef QSet<QSGTexture *> Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 74 times by 37 testsEvaluated by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 74 times by 37 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
}executed 74 times by 37 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 22678 times by 37 tests: return &holder.value;Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
&holder.value;executed 22678 times by 37 tests: return &holder.value;Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
} } } static QGlobalStatic<QSet<QSGTexture *>, Q_QGS_qsg_valid_texture_set::innerFunction, Q_QGS_qsg_valid_texture_set::guard> qsg_valid_texture_set; | 0-22678 |
| 126 | namespace { namespace Q_QGS_qsg_valid_texture_mutex { typedef QMutex Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 74 times by 37 testsEvaluated by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 74 times by 37 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
}executed 74 times by 37 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 22678 times by 37 tests: return &holder.value;Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
&holder.value;executed 22678 times by 37 tests: return &holder.value;Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
} } } static QGlobalStatic<QMutex, Q_QGS_qsg_valid_texture_mutex::innerFunction, Q_QGS_qsg_valid_texture_mutex::guard> qsg_valid_texture_mutex; | 0-22678 |
| 127 | | - |
| 128 | bool qsg_safeguard_texture(QSGTexture *texture) | - |
| 129 | { | - |
| 130 | | - |
| 131 | QMutexLocker locker(qsg_valid_texture_mutex()); | - |
| 132 | if (!qsg_valid_texture_set()->contains(texture)| TRUE | never evaluated | | FALSE | evaluated 21107 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
) { | 0-21107 |
| 133 | QMessageLogger(__FILE__, 318, __PRETTY_FUNCTION__).warning() << "Invalid texture accessed:" << (void *) texture; | - |
| 134 | qsg_set_material_failure(); | - |
| 135 | QOpenGLContext::currentContext()->functions()->glBindTexture( | - |
| 136 | 0x0DE1 | - |
| 137 | , 0); | - |
| 138 | return never executed: return false; false;never executed: return false; | 0 |
| 139 | } | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | returnexecuted 21107 times by 12 tests: return true;Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
true;executed 21107 times by 12 tests: return true;Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 21107 |
| 144 | } | - |
| 145 | | - |
| 146 | | - |
| 147 | | - |
| 148 | | - |
| 149 | | - |
| 150 | QSGTexture::QSGTexture() | - |
| 151 | : QObject(*(new QSGTexturePrivate)) | - |
| 152 | { | - |
| 153 | | - |
| 154 | if (qsg_leak_check| TRUE | never evaluated | | FALSE | evaluated 794 times by 37 testsEvaluated by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
|
) | 0-794 |
| 155 | qt_debug_add_texture(this); never executed: qt_debug_add_texture(this); | 0 |
| 156 | | - |
| 157 | QMutexLocker locker(qsg_valid_texture_mutex()); | - |
| 158 | qsg_valid_texture_set()->insert(this); | - |
| 159 | | - |
| 160 | }executed 794 times by 37 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
| 794 |
| 161 | | - |
| 162 | | - |
| 163 | | - |
| 164 | | - |
| 165 | QSGTexture::~QSGTexture() | - |
| 166 | { | - |
| 167 | | - |
| 168 | if (qsg_leak_check| TRUE | never evaluated | | FALSE | evaluated 777 times by 37 testsEvaluated by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
|
) | 0-777 |
| 169 | qt_debug_remove_texture(this); never executed: qt_debug_remove_texture(this); | 0 |
| 170 | | - |
| 171 | QMutexLocker locker(qsg_valid_texture_mutex()); | - |
| 172 | qsg_valid_texture_set()->remove(this); | - |
| 173 | | - |
| 174 | }executed 777 times by 37 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- ...
| 777 |
| 175 | QSGTexture *QSGTexture::removedFromAtlas() const | - |
| 176 | { | - |
| 177 | ((!isAtlasTexture()) ? static_cast<void>(0) : qt_assert_x("QSGTexture::removedFromAtlas()", "Called on a non-atlas texture", __FILE__, 401)); | - |
| 178 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
| 179 | } | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | bool QSGTexture::isAtlasTexture() const | - |
| 187 | { | - |
| 188 | returnexecuted 8474 times by 34 tests: return false;Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
false;executed 8474 times by 34 tests: return false;Executed by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 8474 |
| 189 | } | - |
| 190 | QRectF QSGTexture::normalizedTextureSubRect() const | - |
| 191 | { | - |
| 192 | returnexecuted 274 times by 8 tests: return QRectF(0, 0, 1, 1);Executed by:- tst_examples
- tst_nodestest
- tst_qquickanimatedsprite
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickspritesequence
- tst_qquicktext
- tst_scenegraph
QRectF(0, 0, 1, 1);executed 274 times by 8 tests: return QRectF(0, 0, 1, 1);Executed by:- tst_examples
- tst_nodestest
- tst_qquickanimatedsprite
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickspritesequence
- tst_qquicktext
- tst_scenegraph
| 274 |
| 193 | } | - |
| 194 | void QSGTexture::setMipmapFiltering(Filtering filter) | - |
| 195 | { | - |
| 196 | QSGTexturePrivate * const d = d_func(); | - |
| 197 | if (d->mipmapMode != (uint) filter| TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| | FALSE | evaluated 21420 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
) { | 10-21420 |
| 198 | d->mipmapMode = filter; | - |
| 199 | d->filteringChanged = true; | - |
| 200 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 10 |
| 201 | }executed 21430 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 21430 |
| 202 | | - |
| 203 | | - |
| 204 | | - |
| 205 | | - |
| 206 | QSGTexture::Filtering QSGTexture::mipmapFiltering() const | - |
| 207 | { | - |
| 208 | returnexecuted 8114 times by 30 tests: return (QSGTexture::Filtering) d_func()->mipmapMode;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- 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
- ...
(QSGTexture::Filtering) d_func()->mipmapMode;executed 8114 times by 30 tests: return (QSGTexture::Filtering) d_func()->mipmapMode;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- 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
- ...
| 8114 |
| 209 | } | - |
| 210 | | - |
| 211 | | - |
| 212 | | - |
| 213 | | - |
| 214 | | - |
| 215 | void QSGTexture::setFiltering(QSGTexture::Filtering filter) | - |
| 216 | { | - |
| 217 | QSGTexturePrivate * const d = d_func(); | - |
| 218 | if (d->filterMode != (uint) filter| TRUE | evaluated 458 times by 35 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| | FALSE | evaluated 23149 times by 14 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_qquicktext
- tst_scenegraph
|
) { | 458-23149 |
| 219 | d->filterMode = filter; | - |
| 220 | d->filteringChanged = true; | - |
| 221 | }executed 458 times by 35 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 458 |
| 222 | }executed 23607 times by 35 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 23607 |
| 223 | | - |
| 224 | | - |
| 225 | | - |
| 226 | | - |
| 227 | QSGTexture::Filtering QSGTexture::filtering() const | - |
| 228 | { | - |
| 229 | returnexecuted 1463 times by 8 tests: return (QSGTexture::Filtering) d_func()->filterMode;Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
(QSGTexture::Filtering) d_func()->filterMode;executed 1463 times by 8 tests: return (QSGTexture::Filtering) d_func()->filterMode;Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| 1463 |
| 230 | } | - |
| 231 | | - |
| 232 | | - |
| 233 | | - |
| 234 | | - |
| 235 | | - |
| 236 | | - |
| 237 | | - |
| 238 | void QSGTexture::setAnisotropyLevel(AnisotropyLevel level) | - |
| 239 | { | - |
| 240 | QSGTexturePrivate * const d = d_func(); | - |
| 241 | if (d->anisotropyLevel != (uint) level| TRUE | never evaluated | | FALSE | evaluated 20802 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
) { | 0-20802 |
| 242 | d->anisotropyLevel = level; | - |
| 243 | d->anisotropyChanged = true; | - |
| 244 | } never executed: end of block | 0 |
| 245 | }executed 20802 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 20802 |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | | - |
| 252 | QSGTexture::AnisotropyLevel QSGTexture::anisotropyLevel() const | - |
| 253 | { | - |
| 254 | return never executed: return (QSGTexture::AnisotropyLevel) d_func()->anisotropyLevel; (QSGTexture::AnisotropyLevel) d_func()->anisotropyLevel;never executed: return (QSGTexture::AnisotropyLevel) d_func()->anisotropyLevel; | 0 |
| 255 | } | - |
| 256 | | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | void QSGTexture::setHorizontalWrapMode(WrapMode hwrap) | - |
| 264 | { | - |
| 265 | QSGTexturePrivate * const d = d_func(); | - |
| 266 | if ((| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 21420 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
uint) hwrap != d->horizontalWrap| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 21420 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
) { | 11-21420 |
| 267 | d->horizontalWrap = hwrap; | - |
| 268 | d->wrapChanged = true; | - |
| 269 | }executed 11 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
| 11 |
| 270 | }executed 21431 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 21431 |
| 271 | | - |
| 272 | | - |
| 273 | | - |
| 274 | | - |
| 275 | QSGTexture::WrapMode QSGTexture::horizontalWrapMode() const | - |
| 276 | { | - |
| 277 | return never executed: return (QSGTexture::WrapMode) d_func()->horizontalWrap; (QSGTexture::WrapMode) d_func()->horizontalWrap;never executed: return (QSGTexture::WrapMode) d_func()->horizontalWrap; | 0 |
| 278 | } | - |
| 279 | | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| 283 | | - |
| 284 | | - |
| 285 | void QSGTexture::setVerticalWrapMode(WrapMode vwrap) | - |
| 286 | { | - |
| 287 | QSGTexturePrivate * const d = d_func(); | - |
| 288 | if ((| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 21422 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
uint) vwrap != d->verticalWrap| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 21422 times by 12 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
|
) { | 9-21422 |
| 289 | d->verticalWrap = vwrap; | - |
| 290 | d->wrapChanged = true; | - |
| 291 | }executed 9 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
| 9 |
| 292 | }executed 21431 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquickpainteditem
- tst_qquickshadereffect
- tst_qquicktext
- tst_scenegraph
| 21431 |
| 293 | | - |
| 294 | | - |
| 295 | | - |
| 296 | | - |
| 297 | QSGTexture::WrapMode QSGTexture::verticalWrapMode() const | - |
| 298 | { | - |
| 299 | return never executed: return (QSGTexture::WrapMode) d_func()->verticalWrap; (QSGTexture::WrapMode) d_func()->verticalWrap;never executed: return (QSGTexture::WrapMode) d_func()->verticalWrap; | 0 |
| 300 | } | - |
| 301 | void QSGTexture::updateBindOptions(bool force) | - |
| 302 | { | - |
| 303 | | - |
| 304 | QSGTexturePrivate * const d = d_func(); | - |
| 305 | QOpenGLFunctions *funcs = QOpenGLContext::currentContext()->functions(); | - |
| 306 | force |= isAtlasTexture(); | - |
| 307 | | - |
| 308 | if (force| TRUE | evaluated 19198 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| | FALSE | evaluated 7590 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- ...
|
|| d->filteringChanged| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
| | FALSE | evaluated 7579 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- ...
|
) { | 11-19198 |
| 309 | bool linear = d->filterMode == Linear; | - |
| 310 | GLint minFilter = linear| TRUE | evaluated 19116 times by 33 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- ...
| | FALSE | evaluated 93 times by 8 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickspritegoal
- tst_qquicktext
- tst_scenegraph
|
? | 93-19116 |
| 311 | 0x2601 | - |
| 312 | : | - |
| 313 | 0x2600 | - |
| 314 | ; | - |
| 315 | GLint magFilter = linear| TRUE | evaluated 19116 times by 33 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- ...
| | FALSE | evaluated 93 times by 8 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickspritegoal
- tst_qquicktext
- tst_scenegraph
|
? | 93-19116 |
| 316 | 0x2601 | - |
| 317 | : | - |
| 318 | 0x2600 | - |
| 319 | ; | - |
| 320 | | - |
| 321 | if (hasMipmaps()| TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| | FALSE | evaluated 19199 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) { | 10-19199 |
| 322 | if (d->mipmapMode == Nearest| TRUE | never evaluated | | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
|
) | 0-10 |
| 323 | minFilter = linear| TRUE | never evaluated | | FALSE | never evaluated |
? never executed: minFilter = linear ? 0x2701 : 0x2700 ; | 0 |
| 324 | 0x2701 never executed: minFilter = linear ? 0x2701 : 0x2700 ; | 0 |
| 325 | : never executed: minFilter = linear ? 0x2701 : 0x2700 ; | 0 |
| 326 | 0x2700 never executed: minFilter = linear ? 0x2701 : 0x2700 ; | 0 |
| 327 | ; never executed: minFilter = linear ? 0x2701 : 0x2700 ; | 0 |
| 328 | else if (d->mipmapMode == Linear| TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| | FALSE | evaluated 2 times by 1 test |
) | 2-8 |
| 329 | minFilter = linear| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
| | FALSE | evaluated 4 times by 1 test |
? executed 8 times by 3 tests: minFilter = linear ? 0x2703 : 0x2702 ;Executed by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 4-8 |
| 330 | 0x2703 executed 8 times by 3 tests: minFilter = linear ? 0x2703 : 0x2702 ;Executed by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 8 |
| 331 | : executed 8 times by 3 tests: minFilter = linear ? 0x2703 : 0x2702 ;Executed by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 8 |
| 332 | 0x2702executed 8 times by 3 tests: minFilter = linear ? 0x2703 : 0x2702 ;Executed by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 8 |
| 333 | ;executed 8 times by 3 tests: minFilter = linear ? 0x2703 : 0x2702 ;Executed by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 8 |
| 334 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 10 |
| 335 | funcs->glTexParameteri( | - |
| 336 | 0x0DE1 | - |
| 337 | , | - |
| 338 | 0x2801 | - |
| 339 | , minFilter); | - |
| 340 | funcs->glTexParameteri( | - |
| 341 | 0x0DE1 | - |
| 342 | , | - |
| 343 | 0x2800 | - |
| 344 | , magFilter); | - |
| 345 | d->filteringChanged = false; | - |
| 346 | }executed 19209 times by 34 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 19209 |
| 347 | | - |
| 348 | if (force| TRUE | evaluated 19198 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| | FALSE | evaluated 7590 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- ...
|
|| d->anisotropyChanged| TRUE | never evaluated | | FALSE | evaluated 7590 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- ...
|
) { | 0-19198 |
| 349 | d->anisotropyChanged = false; | - |
| 350 | if (QOpenGLContext::currentContext()->hasExtension(([]() -> QByteArray { enum { Size = sizeof("GL_EXT_texture_filter_anisotropic") - 1 }; static const QStaticByteArrayData<Size> qbytearray_literal = { { { { -1 } }, Size, 0, 0, sizeof(QByteArrayData) }, "GL_EXT_texture_filter_anisotropic" }; QByteArrayDataPtr holder = { qbytearray_literal.data_ptr() }; const QByteArray ba(holder); returnexecuted 19198 times by 34 tests: return ba;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
ba;executed 19198 times by 34 tests: return ba;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
}()))| TRUE | never evaluated | | FALSE | evaluated 19198 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) | 0-19198 |
| 351 | funcs->glTexParameterf( never executed: funcs->glTexParameterf( 0x0DE1 , 0x84FE, float(1 << (d->anisotropyLevel))); | 0 |
| 352 | 0x0DE1 never executed: funcs->glTexParameterf( 0x0DE1 , 0x84FE, float(1 << (d->anisotropyLevel))); | 0 |
| 353 | , 0x84FE, float(1 << (d->anisotropyLevel))); never executed: funcs->glTexParameterf( 0x0DE1 , 0x84FE, float(1 << (d->anisotropyLevel))); | 0 |
| 354 | }executed 19198 times by 34 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 19198 |
| 355 | | - |
| 356 | if (force| TRUE | evaluated 19198 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| | FALSE | evaluated 7590 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- ...
|
|| d->wrapChanged| TRUE | never evaluated | | FALSE | evaluated 7590 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- ...
|
) { | 0-19198 |
| 357 | | - |
| 358 | if (d->horizontalWrap == Repeat| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 19187 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
|| d->verticalWrap == Repeat| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 19183 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
| 4-19187 |
| 359 | || d->horizontalWrap == MirroredRepeat| TRUE | never evaluated | | FALSE | evaluated 19183 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
|| d->verticalWrap == MirroredRepeat| TRUE | never evaluated | | FALSE | evaluated 19183 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) | 0-19183 |
| 360 | { | - |
| 361 | bool npotSupported = QOpenGLFunctions(QOpenGLContext::currentContext()).hasOpenGLFeature(QOpenGLFunctions::NPOTTextures); | - |
| 362 | QSize size = textureSize(); | - |
| 363 | bool isNpot = !isPowerOfTwo(size.width())| TRUE | evaluated 15 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | never evaluated |
|| !isPowerOfTwo(size.height())| TRUE | never evaluated | | FALSE | never evaluated |
; | 0-15 |
| 364 | if (!npotSupported| TRUE | never evaluated | | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
|
&& isNpot| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-15 |
| 365 | QMessageLogger(__FILE__, 619, __PRETTY_FUNCTION__).warning("Scene Graph: This system does not support the REPEAT wrap mode for non-power-of-two textures."); never executed: QMessageLogger(__FILE__, 619, __PRETTY_FUNCTION__).warning("Scene Graph: This system does not support the REPEAT wrap mode for non-power-of-two textures."); | 0 |
| 366 | }executed 15 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
| 15 |
| 367 | | - |
| 368 | GLenum wrapS = | - |
| 369 | 0x812F | - |
| 370 | ; | - |
| 371 | if (d->horizontalWrap == Repeat| TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 19187 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) | 11-19187 |
| 372 | wrapS = executed 11 times by 2 tests: wrapS = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 11 |
| 373 | 0x2901executed 11 times by 2 tests: wrapS = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 11 |
| 374 | ;executed 11 times by 2 tests: wrapS = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 11 |
| 375 | else if (d->horizontalWrap == MirroredRepeat| TRUE | never evaluated | | FALSE | evaluated 19187 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) | 0-19187 |
| 376 | wrapS = 0x8370; never executed: wrapS = 0x8370; | 0 |
| 377 | GLenum wrapT = | - |
| 378 | 0x812F | - |
| 379 | ; | - |
| 380 | if (d->verticalWrap == Repeat| TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | evaluated 19189 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) | 9-19189 |
| 381 | wrapT = executed 9 times by 2 tests: wrapT = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 9 |
| 382 | 0x2901executed 9 times by 2 tests: wrapT = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 9 |
| 383 | ;executed 9 times by 2 tests: wrapT = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 9 |
| 384 | else if (d->verticalWrap == MirroredRepeat| TRUE | never evaluated | | FALSE | evaluated 19189 times by 34 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
|
) | 0-19189 |
| 385 | wrapT = 0x8370; never executed: wrapT = 0x8370; | 0 |
| 386 | funcs->glTexParameteri( | - |
| 387 | 0x0DE1 | - |
| 388 | , | - |
| 389 | 0x2802 | - |
| 390 | , wrapS); | - |
| 391 | funcs->glTexParameteri( | - |
| 392 | 0x0DE1 | - |
| 393 | , | - |
| 394 | 0x2803 | - |
| 395 | , wrapT); | - |
| 396 | d->wrapChanged = false; | - |
| 397 | }executed 19198 times by 34 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 19198 |
| 398 | | - |
| 399 | | - |
| 400 | | - |
| 401 | }executed 26788 times by 34 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickpainteditem
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- ...
| 26788 |
| 402 | | - |
| 403 | QSGPlainTexture::QSGPlainTexture() | - |
| 404 | : QSGTexture() | - |
| 405 | , m_texture_id(0) | - |
| 406 | , m_has_alpha(false) | - |
| 407 | , m_dirty_texture(false) | - |
| 408 | , m_dirty_bind_options(false) | - |
| 409 | , m_owns_texture(true) | - |
| 410 | , m_mipmaps_generated(false) | - |
| 411 | , m_retain_image(false) | - |
| 412 | { | - |
| 413 | }executed 396 times by 31 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- 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
- ...
| 396 |
| 414 | | - |
| 415 | | - |
| 416 | QSGPlainTexture::~QSGPlainTexture() | - |
| 417 | { | - |
| 418 | | - |
| 419 | if (m_texture_id| TRUE | evaluated 353 times by 30 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- 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
- ...
| | FALSE | evaluated 26 times by 2 testsEvaluated by:- tst_examples
- tst_nodestest
|
&& m_owns_texture| TRUE | evaluated 261 times by 29 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- 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
- ...
| | FALSE | evaluated 92 times by 2 testsEvaluated by:- tst_qquickframebufferobject
- tst_scenegraph
|
&& QOpenGLContext::currentContext()| TRUE | evaluated 261 times by 29 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- 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
- ...
| | FALSE | never evaluated |
) | 0-353 |
| 420 | QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &m_texture_id);executed 261 times by 29 tests: QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &m_texture_id);Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- 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
- ...
| 261 |
| 421 | | - |
| 422 | }executed 379 times by 31 tests: end of blockExecuted by:- tst_examples
- tst_nodestest
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- 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
- ...
| 379 |
| 423 | | - |
| 424 | void qsg_swizzleBGRAToRGBA(QImage *image) | - |
| 425 | { | - |
| 426 | const int width = image->width(); | - |
| 427 | const int height = image->height(); | - |
| 428 | for (int i = 0; i < height| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 429 | uint *p = (uint *) image->scanLine(i); | - |
| 430 | for (int x = 0; x < width| TRUE | never evaluated | | FALSE | never evaluated |
; ++x) | 0 |
| 431 | p[x] = ((p[x] << 16) & 0xff0000) | ((p[x] >> 16) & 0xff) | (p[x] & 0xff00ff00); never executed: p[x] = ((p[x] << 16) & 0xff0000) | ((p[x] >> 16) & 0xff) | (p[x] & 0xff00ff00); | 0 |
| 432 | } never executed: end of block | 0 |
| 433 | } never executed: end of block | 0 |
| 434 | | - |
| 435 | void QSGPlainTexture::setImage(const QImage &image) | - |
| 436 | { | - |
| 437 | m_image = image; | - |
| 438 | m_texture_size = image.size(); | - |
| 439 | m_has_alpha = image.hasAlphaChannel(); | - |
| 440 | m_dirty_texture = true; | - |
| 441 | m_dirty_bind_options = true; | - |
| 442 | m_mipmaps_generated = false; | - |
| 443 | }executed 355 times by 28 tests: end of blockExecuted 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
- ...
| 355 |
| 444 | | - |
| 445 | int QSGPlainTexture::textureId() const | - |
| 446 | { | - |
| 447 | if (m_dirty_texture| TRUE | evaluated 418 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| | FALSE | evaluated 518 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
|
) { | 418-518 |
| 448 | if (m_image.isNull()| TRUE | never evaluated | | FALSE | evaluated 418 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
|
) { | 0-418 |
| 449 | | - |
| 450 | | - |
| 451 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 452 | } else if (m_texture_id == 0| TRUE | evaluated 56 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| | FALSE | evaluated 362 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
|
){ | 56-362 |
| 453 | | - |
| 454 | | - |
| 455 | QOpenGLContext::currentContext()->functions()->glGenTextures(1, &const_cast<QSGPlainTexture *>(this)->m_texture_id); | - |
| 456 | | - |
| 457 | returnexecuted 56 times by 3 tests: return m_texture_id;Executed by:- tst_examples
- tst_qquickimage
- tst_scenegraph
m_texture_id;executed 56 times by 3 tests: return m_texture_id;Executed by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 56 |
| 458 | } | - |
| 459 | }executed 362 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 362 |
| 460 | returnexecuted 880 times by 3 tests: return m_texture_id;Executed by:- tst_examples
- tst_qquickimage
- tst_scenegraph
m_texture_id;executed 880 times by 3 tests: return m_texture_id;Executed by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 880 |
| 461 | } | - |
| 462 | | - |
| 463 | void QSGPlainTexture::setTextureId(int id) | - |
| 464 | { | - |
| 465 | | - |
| 466 | if (m_texture_id| TRUE | never evaluated | | FALSE | evaluated 109 times by 4 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_scenegraph
|
&& m_owns_texture| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-109 |
| 467 | QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &m_texture_id); never executed: QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &m_texture_id); | 0 |
| 468 | | - |
| 469 | | - |
| 470 | m_texture_id = id; | - |
| 471 | m_dirty_texture = false; | - |
| 472 | m_dirty_bind_options = true; | - |
| 473 | m_image = QImage(); | - |
| 474 | m_mipmaps_generated = false; | - |
| 475 | }executed 109 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_scenegraph
| 109 |
| 476 | | - |
| 477 | void QSGPlainTexture::bind() | - |
| 478 | { | - |
| 479 | | - |
| 480 | QOpenGLContext *context = QOpenGLContext::currentContext(); | - |
| 481 | QOpenGLFunctions *funcs = context->functions(); | - |
| 482 | if (!m_dirty_texture| TRUE | evaluated 7202 times by 29 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- ...
| | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { | 287-7202 |
| 483 | funcs->glBindTexture( | - |
| 484 | 0x0DE1 | - |
| 485 | , m_texture_id); | - |
| 486 | if (mipmapFiltering() != QSGTexture::None| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 7190 times by 29 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- ...
|
&& !m_mipmaps_generated| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
) { | 0-7190 |
| 487 | funcs->glGenerateMipmap( | - |
| 488 | 0x0DE1 | - |
| 489 | ); | - |
| 490 | m_mipmaps_generated = true; | - |
| 491 | } never executed: end of block | 0 |
| 492 | updateBindOptions(m_dirty_bind_options); | - |
| 493 | m_dirty_bind_options = false; | - |
| 494 | return;executed 7202 times by 29 tests: return;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- ...
| 7202 |
| 495 | } | - |
| 496 | | - |
| 497 | m_dirty_texture = false; | - |
| 498 | | - |
| 499 | bool profileFrames = QSG_LOG_TIME_TEXTURE().isDebugEnabled(); | - |
| 500 | if (profileFrames| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 501 | qsg_renderer_timer.start(); never executed: qsg_renderer_timer.start(); | 0 |
| 502 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { (QQuickProfiler::startSceneGraphFrame<QQuickProfiler::SceneGraphTexturePrepare, QQuickProfiler::SceneGraphTextureDeletion>()); }never executed: end of block else (executed 287 times by 28 tests: (void)0 ;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
- ...
void)0executed 287 times by 28 tests: (void)0 ;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
- ...
| 0-287 |
| 503 | ;executed 287 times by 28 tests: (void)0 ;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
- ...
| 287 |
| 504 | | - |
| 505 | | - |
| 506 | if (m_image.isNull()| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { | 0-287 |
| 507 | if (m_texture_id| TRUE | never evaluated | | FALSE | never evaluated |
&& m_owns_texture| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 508 | funcs->glDeleteTextures(1, &m_texture_id); | - |
| 509 | for (bool qt_category_enabled = QSG_LOG_TIME_TEXTURE().isDebugEnabled(); qt_category_enabled| TRUE | never evaluated | | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 746 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) ; | 0 |
| 510 | | 0 |
| 511 | | 0 |
| 512 | __FILE__ never executed: QMessageLogger( __FILE__ , 746 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) ; | 0 |
| 513 | , never executed: QMessageLogger( __FILE__ , 746 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) ; | 0 |
| 514 | | 0 |
| 515 | | 0 |
| 516 | 746 never executed: QMessageLogger( __FILE__ , 746 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) ; | 0 |
| 517 | , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) never executed: QMessageLogger( __FILE__ , 746 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) ; | 0 |
| 518 | | 0 |
| 519 | | 0 |
| 520 | ; never executed: QMessageLogger( __FILE__ , 746 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture deleted in %dms - %dx%d", (int) qsg_renderer_timer.elapsed(), m_texture_size.width(), m_texture_size.height()) ; | 0 |
| 521 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | never evaluated |
) { (QQuickProfiler::reportSceneGraphFrame<QQuickProfiler::SceneGraphTextureDeletion, true>(QQuickProfiler::SceneGraphTextureDeletionDelete)); }never executed: end of block else (never executed: (void)0 ; void)0never executed: (void)0 ; | 0 |
| 522 | ; never executed: (void)0 ; | 0 |
| 523 | } | - |
| 524 | m_texture_id = 0; | - |
| 525 | m_texture_size = QSize(); | - |
| 526 | m_has_alpha = false; | - |
| 527 | | - |
| 528 | return; never executed: return; | 0 |
| 529 | } | - |
| 530 | | - |
| 531 | if (m_texture_id == 0| TRUE | evaluated 203 times by 27 testsEvaluated 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
- ...
| | FALSE | evaluated 84 times by 4 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_qquickpainteditem
- tst_scenegraph
|
) | 84-203 |
| 532 | funcs->glGenTextures(1, &m_texture_id);executed 203 times by 27 tests: funcs->glGenTextures(1, &m_texture_id);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
- ...
| 203 |
| 533 | funcs->glBindTexture( | - |
| 534 | 0x0DE1 | - |
| 535 | , m_texture_id); | - |
| 536 | | - |
| 537 | qint64 bindTime = 0; | - |
| 538 | if (profileFrames| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 539 | bindTime = qsg_renderer_timer.nsecsElapsed(); never executed: bindTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 540 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphTexturePrepare>(QQuickProfiler::SceneGraphTexturePrepareBind)); }never executed: end of block else (executed 287 times by 28 tests: (void)0 ;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
- ...
void)0executed 287 times by 28 tests: (void)0 ;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
- ...
| 0-287 |
| 541 | ;executed 287 times by 28 tests: (void)0 ;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
- ...
| 287 |
| 542 | | - |
| 543 | | - |
| 544 | | - |
| 545 | QImage tmp = (m_image.format() == QImage::Format_RGB32| TRUE | evaluated 60 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| | FALSE | evaluated 227 times by 27 testsEvaluated 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
- ...
|
|| m_image.format() == QImage::Format_ARGB32_Premultiplied| TRUE | evaluated 227 times by 27 testsEvaluated 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
- ...
| | FALSE | never evaluated |
) | 0-227 |
| 546 | ? m_image | - |
| 547 | : m_image.convertToFormat(QImage::Format_ARGB32_Premultiplied); | - |
| 548 | int max; | - |
| 549 | if (auto rc = QSGDefaultRenderContext::from(context)| TRUE | evaluated 287 times by 28 testsEvaluated 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
- ...
| | FALSE | never evaluated |
) | 0-287 |
| 550 | max = rc->maxTextureSize();executed 287 times by 28 tests: max = rc->maxTextureSize();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
- ...
| 287 |
| 551 | else | - |
| 552 | funcs->glGetIntegerv( never executed: funcs->glGetIntegerv( 0x0D33 , &max); | 0 |
| 553 | 0x0D33 never executed: funcs->glGetIntegerv( 0x0D33 , &max); | 0 |
| 554 | , &max); never executed: funcs->glGetIntegerv( 0x0D33 , &max); | 0 |
| 555 | if (tmp.width() > max| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 285 times by 28 testsEvaluated 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
- ...
|
|| tmp.height() > max| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 283 times by 28 testsEvaluated 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
- ...
|
) { | 2-285 |
| 556 | tmp = tmp.scaled(qMin(max, tmp.width()), qMin(max, tmp.height()), Qt::IgnoreAspectRatio, Qt::SmoothTransformation); | - |
| 557 | m_texture_size = tmp.size(); | - |
| 558 | }executed 4 times by 1 test: end of block | 4 |
| 559 | | - |
| 560 | | - |
| 561 | | - |
| 562 | if (mipmapFiltering() != QSGTexture::None| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickpainteditem
- tst_scenegraph
| | FALSE | evaluated 281 times by 28 testsEvaluated 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
- ...
|
| 6-281 |
| 563 | && (!isPowerOfTwo(m_texture_size.width())| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 4 times by 1 test |
|| !isPowerOfTwo(m_texture_size.height())| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
| 564 | && !funcs->hasOpenGLFeature(QOpenGLFunctions::NPOTTextures)| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 565 | tmp = tmp.scaled(qNextPowerOfTwo(m_texture_size.width()), qNextPowerOfTwo(m_texture_size.height()), | - |
| 566 | Qt::IgnoreAspectRatio, Qt::SmoothTransformation); | - |
| 567 | m_texture_size = tmp.size(); | - |
| 568 | } never executed: end of block | 0 |
| 569 | | - |
| 570 | if (tmp.width() * 4 != tmp.bytesPerLine()| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 571 | tmp = tmp.copy(); never executed: tmp = tmp.copy(); | 0 |
| 572 | | - |
| 573 | qint64 convertTime = 0; | - |
| 574 | if (profileFrames| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 575 | convertTime = qsg_renderer_timer.nsecsElapsed(); never executed: convertTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 576 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphTexturePrepare>(QQuickProfiler::SceneGraphTexturePrepareConvert)); }never executed: end of block else (executed 287 times by 28 tests: (void)0 ;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
- ...
void)0executed 287 times by 28 tests: (void)0 ;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
- ...
| 0-287 |
| 577 | ;executed 287 times by 28 tests: (void)0 ;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
- ...
| 287 |
| 578 | | - |
| 579 | updateBindOptions(m_dirty_bind_options); | - |
| 580 | | - |
| 581 | GLenum externalFormat = | - |
| 582 | 0x1908 | - |
| 583 | ; | - |
| 584 | GLenum internalFormat = | - |
| 585 | 0x1908 | - |
| 586 | ; | - |
| 587 | static bool wrongfullyReportsBgra8888Support = false; | - |
| 588 | | - |
| 589 | | - |
| 590 | if (context->hasExtension(([]() -> QByteArray { enum { Size = sizeof("GL_EXT_bgra") - 1 }; static const QStaticByteArrayData<Size> qbytearray_literal = { { { { -1 } }, Size, 0, 0, sizeof(QByteArrayData) }, "GL_EXT_bgra" }; QByteArrayDataPtr holder = { qbytearray_literal.data_ptr() }; const QByteArray ba(holder); returnexecuted 287 times by 28 tests: return ba;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
- ...
ba;executed 287 times by 28 tests: return ba;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
- ...
}()))| TRUE | evaluated 287 times by 28 testsEvaluated 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
- ...
| | FALSE | never evaluated |
) { | 0-287 |
| 591 | externalFormat = | - |
| 592 | 0x80E1 | - |
| 593 | ; | - |
| 594 | | - |
| 595 | | - |
| 596 | | - |
| 597 | if (context->isOpenGLES()| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 598 | internalFormat = never executed: internalFormat = 0x80E1 ; | 0 |
| 599 | 0x80E1 never executed: internalFormat = 0x80E1 ; | 0 |
| 600 | ; never executed: internalFormat = 0x80E1 ; | 0 |
| 601 | | - |
| 602 | }executed 287 times by 28 tests: end of blockExecuted 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
- ...
else if (!wrongfullyReportsBgra8888Support| TRUE | never evaluated | | FALSE | never evaluated |
| 0-287 |
| 603 | && (context->hasExtension(([]() -> QByteArray { enum { Size = sizeof("GL_EXT_texture_format_BGRA8888") - 1 }; static const QStaticByteArrayData<Size> qbytearray_literal = { { { { -1 } }, Size, 0, 0, sizeof(QByteArrayData) }, "GL_EXT_texture_format_BGRA8888" }; QByteArrayDataPtr holder = { qbytearray_literal.data_ptr() }; const QByteArray ba(holder); return ba; }()))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 604 | || context->hasExtension(([]() -> QByteArray { enum { Size = sizeof("GL_IMG_texture_format_BGRA8888") - 1 }; static const QStaticByteArrayData<Size> qbytearray_literal = { { { { -1 } }, Size, 0, 0, sizeof(QByteArrayData) }, "GL_IMG_texture_format_BGRA8888" }; QByteArrayDataPtr holder = { qbytearray_literal.data_ptr() }; const QByteArray ba(holder); return ba; }()))| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0 |
| 605 | externalFormat = | - |
| 606 | 0x80E1 | - |
| 607 | ; | - |
| 608 | internalFormat = | - |
| 609 | 0x80E1 | - |
| 610 | ; | - |
| 611 | | - |
| 612 | | - |
| 613 | | - |
| 614 | | - |
| 615 | | - |
| 616 | } never executed: end of block else { | 0 |
| 617 | qsg_swizzleBGRAToRGBA(&tmp); | - |
| 618 | } never executed: end of block | 0 |
| 619 | | - |
| 620 | qint64 swizzleTime = 0; | - |
| 621 | if (profileFrames| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 622 | swizzleTime = qsg_renderer_timer.nsecsElapsed(); never executed: swizzleTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 623 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphTexturePrepare>(QQuickProfiler::SceneGraphTexturePrepareSwizzle)); }never executed: end of block else (executed 287 times by 28 tests: (void)0 ;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
- ...
void)0executed 287 times by 28 tests: (void)0 ;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
- ...
| 0-287 |
| 624 | ;executed 287 times by 28 tests: (void)0 ;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
- ...
| 287 |
| 625 | | - |
| 626 | funcs->glTexImage2D( | - |
| 627 | 0x0DE1 | - |
| 628 | , 0, internalFormat, m_texture_size.width(), m_texture_size.height(), 0, externalFormat, | - |
| 629 | 0x1401 | - |
| 630 | , tmp.constBits()); | - |
| 631 | | - |
| 632 | qint64 uploadTime = 0; | - |
| 633 | if (profileFrames| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) | 0-287 |
| 634 | uploadTime = qsg_renderer_timer.nsecsElapsed(); never executed: uploadTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 635 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { (QQuickProfiler::recordSceneGraphTimestamp<QQuickProfiler::SceneGraphTexturePrepare>(QQuickProfiler::SceneGraphTexturePrepareUpload)); }never executed: end of block else (executed 287 times by 28 tests: (void)0 ;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
- ...
void)0executed 287 times by 28 tests: (void)0 ;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
- ...
| 0-287 |
| 636 | ;executed 287 times by 28 tests: (void)0 ;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
- ...
| 287 |
| 637 | | - |
| 638 | if (mipmapFiltering() != QSGTexture::None| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickpainteditem
- tst_scenegraph
| | FALSE | evaluated 281 times by 28 testsEvaluated 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
- ...
|
) { | 6-281 |
| 639 | funcs->glGenerateMipmap( | - |
| 640 | 0x0DE1 | - |
| 641 | ); | - |
| 642 | m_mipmaps_generated = true; | - |
| 643 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qquickpainteditem
- tst_scenegraph
| 6 |
| 644 | | - |
| 645 | qint64 mipmapTime = 0; | - |
| 646 | if (profileFrames| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { | 0-287 |
| 647 | mipmapTime = qsg_renderer_timer.nsecsElapsed(); | - |
| 648 | for (bool qt_category_enabled = QSG_LOG_TIME_TEXTURE().isDebugEnabled(); qt_category_enabled| TRUE | never evaluated | | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 649 | __FILE__ never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 650 | , never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 651 | 880 never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 652 | , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width(), m_texture_size.height(), int(bindTime / 1000000), int((convertTime - bindTime)/1000000), int((swizzleTime - convertTime)/1000000), (externalFormat == never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 653 | 0x80E1 never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 654 | ? "BGRA" : "RGBA"), (internalFormat == never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 655 | 0x80E1 never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 656 | ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 657 | ; never executed: QMessageLogger( __FILE__ , 880 , __PRETTY_FUNCTION__, QSG_LOG_TIME_TEXTURE().categoryName()).debug("plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", int(mipmapTime / 1000000), m_texture_size.width...00), (externalFormat == 0x80E1 ? "BGRA" : "RGBA"), (internalFormat == 0x80E1 ? "BGRA" : "RGBA"), int((uploadTime - swizzleTime)/1000000), int((mipmapTime - uploadTime)/1000000), m_texture_size != m_image.size() ? " (scaled to GL_MAX_TEXTURE_SIZE)" : "") ; | 0 |
| 658 | } never executed: end of block | 0 |
| 659 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileSceneGraph)| TRUE | never evaluated | | FALSE | evaluated 287 times by 28 testsEvaluated 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
- ...
|
) { (QQuickProfiler::reportSceneGraphFrame<QQuickProfiler::SceneGraphTexturePrepare, true>(QQuickProfiler::SceneGraphTexturePrepareMipmap)); }never executed: end of block else (executed 287 times by 28 tests: (void)0 ;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
- ...
void)0executed 287 times by 28 tests: (void)0 ;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
- ...
| 0-287 |
| 660 | ;executed 287 times by 28 tests: (void)0 ;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
- ...
| 287 |
| 661 | | - |
| 662 | m_texture_rect = QRectF(0, 0, 1, 1); | - |
| 663 | | - |
| 664 | m_dirty_bind_options = false; | - |
| 665 | if (!m_retain_image| TRUE | evaluated 237 times by 27 testsEvaluated 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_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- tst_qquicktrailemitter
- tst_qquickturbulence
- ...
| | FALSE | evaluated 50 times by 1 test |
) | 50-237 |
| 666 | m_image = QImage();executed 237 times by 27 tests: m_image = QImage();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_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquickspritesequence
- tst_qquicktargetdirection
- tst_qquicktext
- tst_qquicktrailemitter
- tst_qquickturbulence
- ...
| 237 |
| 667 | | - |
| 668 | }executed 287 times by 28 tests: end of blockExecuted 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
- ...
| 287 |
| 669 | | - |
| 670 | | - |
| | |