| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #include "qsgtexture_p.h" | - |
| 41 | #include <QtQuick/private/qsgcontext_p.h> | - |
| 42 | #include <qthread.h> | - |
| 43 | #include <qmath.h> | - |
| 44 | #include <private/qquickprofiler_p.h> | - |
| 45 | #include <private/qqmlglobal_p.h> | - |
| 46 | #include <QtGui/qguiapplication.h> | - |
| 47 | #include <QtGui/qpa/qplatformnativeinterface.h> | - |
| 48 | #if QT_CONFIG(opengl) | - |
| 49 | # include <qopenglfunctions.h> | - |
| 50 | # include <QtGui/qopenglcontext.h> | - |
| 51 | # include <QtGui/qopenglfunctions.h> | - |
| 52 | # include <private/qsgdefaultrendercontext_p.h> | - |
| 53 | #endif | - |
| 54 | #include <private/qsgmaterialshader_p.h> | - |
| 55 | | - |
| 56 | #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) && defined(__GLIBC__) | - |
| 57 | #define CAN_BACKTRACE_EXECINFO | - |
| 58 | #endif | - |
| 59 | | - |
| 60 | #if defined(Q_OS_MAC) | - |
| 61 | #define CAN_BACKTRACE_EXECINFO | - |
| 62 | #endif | - |
| 63 | | - |
| 64 | #if defined(QT_NO_DEBUG) | - |
| 65 | #undef CAN_BACKTRACE_EXECINFO | - |
| 66 | #endif | - |
| 67 | | - |
| 68 | #if defined(CAN_BACKTRACE_EXECINFO) | - |
| 69 | #include <execinfo.h> | - |
| 70 | #include <QHash> | - |
| 71 | #endif | - |
| 72 | | - |
| 73 | #if QT_CONFIG(opengl) | - |
| 74 | static QElapsedTimer qsg_renderer_timer; | - |
| 75 | #endif | - |
| 76 | | - |
| 77 | #ifndef QT_NO_DEBUG | - |
| 78 | static const bool qsg_leak_check = !qEnvironmentVariableIsEmpty("QML_LEAK_CHECK"); | - |
| 79 | #endif | - |
| 80 | | - |
| 81 | | - |
| 82 | #ifndef GL_BGRA | - |
| 83 | #define GL_BGRA 0x80E1 | - |
| 84 | #endif | - |
| 85 | | - |
| 86 | #ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT | - |
| 87 | #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | - |
| 88 | #endif | - |
| 89 | | - |
| 90 | QT_BEGIN_NAMESPACE | - |
| 91 | | - |
| 92 | #if QT_CONFIG(opengl) | - |
| 93 | inline static bool isPowerOfTwo(int x) | - |
| 94 | { | - |
| 95 | | - |
| 96 | return x == (x & -x);executed 25 times by 4 tests: return x == (x & -x);Executed by:- tst_examples
- tst_qquickimage
- tst_qquickpainteditem
- tst_scenegraph
| 25 |
| 97 | } | - |
| 98 | #endif | - |
| 99 | | - |
| 100 | QSGTexturePrivate::QSGTexturePrivate() | - |
| 101 | : wrapChanged(false) | - |
| 102 | , filteringChanged(false) | - |
| 103 | , anisotropyChanged(false) | - |
| 104 | , horizontalWrap(QSGTexture::ClampToEdge) | - |
| 105 | , verticalWrap(QSGTexture::ClampToEdge) | - |
| 106 | , mipmapMode(QSGTexture::None) | - |
| 107 | , filterMode(QSGTexture::Nearest) | - |
| 108 | , anisotropyLevel(QSGTexture::AnisotropyNone) | - |
| 109 | { | - |
| 110 | }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 |
| 111 | | - |
| 112 | #ifndef QT_NO_DEBUG | - |
| 113 | | - |
| 114 | static int qt_debug_texture_count = 0; | - |
| 115 | | - |
| 116 | #if (defined(Q_OS_LINUX) || defined (Q_OS_MAC)) && !defined(Q_OS_ANDROID) | - |
| 117 | DEFINE_BOOL_CONFIG_OPTION(qmlDebugLeakBacktrace, QML_DEBUG_LEAK_BACKTRACE) never executed: status = Yes; never executed: end of block never executed: end of block never executed: return status == Yes; | TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 118 | | - |
| 119 | #define BACKTRACE_SIZE 20 | - |
| 120 | class SGTextureTraceItem | - |
| 121 | { | - |
| 122 | public: | - |
| 123 | void *backTrace[BACKTRACE_SIZE]; | - |
| 124 | size_t backTraceSize; | - |
| 125 | }; | - |
| 126 | | - |
| 127 | static QHash<QSGTexture*, SGTextureTraceItem*> qt_debug_allocated_textures; | - |
| 128 | #endif | - |
| 129 | | - |
| 130 | inline static void qt_debug_print_texture_count() | - |
| 131 | { | - |
| 132 | qDebug("Number of leaked textures: %i", qt_debug_texture_count); | - |
| 133 | qt_debug_texture_count = -1; | - |
| 134 | | - |
| 135 | #if defined(CAN_BACKTRACE_EXECINFO) | - |
| 136 | if (qmlDebugLeakBacktrace()) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 137 | while (!qt_debug_allocated_textures.isEmpty()) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 138 | QHash<QSGTexture*, SGTextureTraceItem*>::Iterator it = qt_debug_allocated_textures.begin(); | - |
| 139 | QSGTexture* texture = it.key(); | - |
| 140 | SGTextureTraceItem* item = it.value(); | - |
| 141 | | - |
| 142 | qt_debug_allocated_textures.erase(it); | - |
| 143 | | - |
| 144 | qDebug() << "------"; | - |
| 145 | qDebug() << "Leaked" << texture << "backtrace:"; | - |
| 146 | | - |
| 147 | char** symbols = backtrace_symbols(item->backTrace, item->backTraceSize); | - |
| 148 | | - |
| 149 | if (symbols) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 150 | for (int i=0; i<(int) item->backTraceSize; i++)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 151 | qDebug("Backtrace <%02d>: %s", i, symbols[i]); never executed: QMessageLogger(__FILE__, 151, __PRETTY_FUNCTION__).debug("Backtrace <%02d>: %s", i, symbols[i]); | 0 |
| 152 | free(symbols); | - |
| 153 | } never executed: end of block | 0 |
| 154 | | - |
| 155 | qDebug() << "------"; | - |
| 156 | | - |
| 157 | delete item; | - |
| 158 | } never executed: end of block | 0 |
| 159 | } never executed: end of block | 0 |
| 160 | #endif | - |
| 161 | } never executed: end of block | 0 |
| 162 | | - |
| 163 | inline static void qt_debug_add_texture(QSGTexture* texture) | - |
| 164 | { | - |
| 165 | #if defined(CAN_BACKTRACE_EXECINFO) | - |
| 166 | if (qmlDebugLeakBacktrace()) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 167 | SGTextureTraceItem* item = new SGTextureTraceItem; | - |
| 168 | item->backTraceSize = backtrace(item->backTrace, BACKTRACE_SIZE); | - |
| 169 | qt_debug_allocated_textures.insert(texture, item); | - |
| 170 | } never executed: end of block | 0 |
| 171 | #else | - |
| 172 | Q_UNUSED(texture); | - |
| 173 | #endif // Q_OS_LINUX | - |
| 174 | | - |
| 175 | ++qt_debug_texture_count; | - |
| 176 | | - |
| 177 | static bool atexit_registered = false; | - |
| 178 | if (!atexit_registered) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 179 | atexit(qt_debug_print_texture_count); | - |
| 180 | atexit_registered = true; | - |
| 181 | } never executed: end of block | 0 |
| 182 | } never executed: end of block | 0 |
| 183 | | - |
| 184 | static void qt_debug_remove_texture(QSGTexture* texture) | - |
| 185 | { | - |
| 186 | #if defined(CAN_BACKTRACE_EXECINFO) | - |
| 187 | if (qmlDebugLeakBacktrace()) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 188 | SGTextureTraceItem* item = qt_debug_allocated_textures.value(texture, 0); | - |
| 189 | if (item) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 190 | qt_debug_allocated_textures.remove(texture); | - |
| 191 | delete item; | - |
| 192 | } never executed: end of block | 0 |
| 193 | } never executed: end of block | 0 |
| 194 | #else | - |
| 195 | Q_UNUSED(texture) | - |
| 196 | #endif | - |
| 197 | | - |
| 198 | --qt_debug_texture_count; | - |
| 199 | | - |
| 200 | if (qt_debug_texture_count < 0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 201 | qDebug("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 |
| 202 | } never executed: end of block | 0 |
| 203 | | - |
| 204 | #endif // QT_NO_DEBUG | - |
| 205 | | - |
| 206 | | - |
| 207 | | - |
| 208 | | - |
| 209 | | - |
| 210 | | - |
| 211 | | - |
| 212 | | - |
| 213 | | - |
| 214 | | - |
| 215 | | - |
| 216 | | - |
| 217 | | - |
| 218 | | - |
| 219 | | - |
| 220 | | - |
| 221 | | - |
| 222 | | - |
| 223 | | - |
| 224 | | - |
| 225 | | - |
| 226 | | - |
| 227 | | - |
| 228 | | - |
| 229 | | - |
| 230 | | - |
| 231 | | - |
| 232 | | - |
| 233 | | - |
| 234 | | - |
| 235 | | - |
| 236 | | - |
| 237 | | - |
| 238 | | - |
| 239 | | - |
| 240 | | - |
| 241 | | - |
| 242 | | - |
| 243 | | - |
| 244 | | - |
| 245 | | - |
| 246 | | - |
| 247 | | - |
| 248 | | - |
| 249 | | - |
| 250 | | - |
| 251 | | - |
| 252 | | - |
| 253 | | - |
| 254 | | - |
| 255 | | - |
| 256 | | - |
| 257 | | - |
| 258 | | - |
| 259 | | - |
| 260 | | - |
| 261 | | - |
| 262 | | - |
| 263 | | - |
| 264 | | - |
| 265 | | - |
| 266 | | - |
| 267 | | - |
| 268 | | - |
| 269 | | - |
| 270 | | - |
| 271 | | - |
| 272 | | - |
| 273 | | - |
| 274 | | - |
| 275 | | - |
| 276 | | - |
| 277 | | - |
| 278 | | - |
| 279 | | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| 283 | | - |
| 284 | | - |
| 285 | | - |
| 286 | | - |
| 287 | | - |
| 288 | | - |
| 289 | | - |
| 290 | | - |
| 291 | | - |
| 292 | | - |
| 293 | | - |
| 294 | | - |
| 295 | | - |
| 296 | | - |
| 297 | | - |
| 298 | | - |
| 299 | | - |
| 300 | | - |
| 301 | | - |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | | - |
| 307 | | - |
| 308 | | - |
| 309 | #ifndef QT_NO_DEBUG | - |
| 310 | Q_GLOBAL_STATIC(QSet<QSGTexture *>, qsg_valid_texture_set)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
- ...
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 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
- ...
| 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 |
| 0-22678 |
| 311 | Q_GLOBAL_STATIC(QMutex, qsg_valid_texture_mutex)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
- ...
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 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
- ...
| 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 |
| 0-22678 |
| 312 | | - |
| 313 | bool qsg_safeguard_texture(QSGTexture *texture) | - |
| 314 | { | - |
| 315 | #if QT_CONFIG(opengl) | - |
| 316 | QMutexLocker locker(qsg_valid_texture_mutex()); | - |
| 317 | 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 |
| 318 | qWarning() << "Invalid texture accessed:" << (void *) texture; | - |
| 319 | qsg_set_material_failure(); | - |
| 320 | QOpenGLContext::currentContext()->functions()->glBindTexture(GL_TEXTURE_2D, 0); | - |
| 321 | return false; never executed: return false; | 0 |
| 322 | } | - |
| 323 | #else | - |
| 324 | Q_UNUSED(texture) | - |
| 325 | #endif | - |
| 326 | return 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 |
| 327 | } | - |
| 328 | #endif | - |
| 329 | | - |
| 330 | | - |
| 331 | | - |
| 332 | | - |
| 333 | QSGTexture::QSGTexture() | - |
| 334 | : QObject(*(new QSGTexturePrivate)) | - |
| 335 | { | - |
| 336 | #ifndef QT_NO_DEBUG | - |
| 337 | 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 |
| 338 | qt_debug_add_texture(this); never executed: qt_debug_add_texture(this); | 0 |
| 339 | | - |
| 340 | QMutexLocker locker(qsg_valid_texture_mutex()); | - |
| 341 | qsg_valid_texture_set()->insert(this); | - |
| 342 | #endif | - |
| 343 | }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 |
| 344 | | - |
| 345 | | - |
| 346 | | - |
| 347 | | - |
| 348 | QSGTexture::~QSGTexture() | - |
| 349 | { | - |
| 350 | #ifndef QT_NO_DEBUG | - |
| 351 | 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 |
| 352 | qt_debug_remove_texture(this); never executed: qt_debug_remove_texture(this); | 0 |
| 353 | | - |
| 354 | QMutexLocker locker(qsg_valid_texture_mutex()); | - |
| 355 | qsg_valid_texture_set()->remove(this); | - |
| 356 | #endif | - |
| 357 | }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 |
| 358 | | - |
| 359 | | - |
| 360 | | - |
| 361 | | - |
| 362 | | - |
| 363 | | - |
| 364 | | - |
| 365 | | - |
| 366 | | - |
| 367 | | - |
| 368 | | - |
| 369 | | - |
| 370 | | - |
| 371 | | - |
| 372 | | - |
| 373 | | - |
| 374 | | - |
| 375 | | - |
| 376 | | - |
| 377 | | - |
| 378 | | - |
| 379 | | - |
| 380 | | - |
| 381 | | - |
| 382 | | - |
| 383 | | - |
| 384 | | - |
| 385 | | - |
| 386 | | - |
| 387 | | - |
| 388 | | - |
| 389 | | - |
| 390 | | - |
| 391 | | - |
| 392 | | - |
| 393 | | - |
| 394 | | - |
| 395 | | - |
| 396 | | - |
| 397 | | - |
| 398 | | - |
| 399 | QSGTexture *QSGTexture::removedFromAtlas() const | - |
| 400 | { | - |
| 401 | Q_ASSERT_X(!isAtlasTexture(), "QSGTexture::removedFromAtlas()", "Called on a non-atlas texture"); | - |
| 402 | return nullptr; never executed: return nullptr; | 0 |
| 403 | } | - |
| 404 | | - |
| 405 | | - |
| 406 | | - |
| 407 | | - |
| 408 | | - |
| 409 | | - |
| 410 | bool QSGTexture::isAtlasTexture() const | - |
| 411 | { | - |
| 412 | return 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 |
| 413 | } | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | | - |
| 419 | | - |
| 420 | | - |
| 421 | | - |
| 422 | | - |
| 423 | | - |
| 424 | | - |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | | - |
| 429 | | - |
| 430 | | - |
| 431 | | - |
| 432 | | - |
| 433 | | - |
| 434 | | - |
| 435 | | - |
| 436 | | - |
| 437 | | - |
| 438 | | - |
| 439 | | - |
| 440 | QRectF QSGTexture::normalizedTextureSubRect() const | - |
| 441 | { | - |
| 442 | return 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 |
| 443 | } | - |
| 444 | | - |
| 445 | | - |
| 446 | | - |
| 447 | | - |
| 448 | | - |
| 449 | | - |
| 450 | | - |
| 451 | | - |
| 452 | | - |
| 453 | | - |
| 454 | | - |
| 455 | | - |
| 456 | | - |
| 457 | | - |
| 458 | | - |
| 459 | | - |
| 460 | | - |
| 461 | | - |
| 462 | | - |
| 463 | | - |
| 464 | | - |
| 465 | void QSGTexture::setMipmapFiltering(Filtering filter) | - |
| 466 | { | - |
| 467 | Q_D(QSGTexture); | - |
| 468 | 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 |
| 469 | d->mipmapMode = filter; | - |
| 470 | d->filteringChanged = true; | - |
| 471 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 10 |
| 472 | }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 |
| 473 | | - |
| 474 | | - |
| 475 | | - |
| 476 | | - |
| 477 | QSGTexture::Filtering QSGTexture::mipmapFiltering() const | - |
| 478 | { | - |
| 479 | return (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 |
| 480 | } | - |
| 481 | | - |
| 482 | | - |
| 483 | | - |
| 484 | | - |
| 485 | | - |
| 486 | void QSGTexture::setFiltering(QSGTexture::Filtering filter) | - |
| 487 | { | - |
| 488 | Q_D(QSGTexture); | - |
| 489 | 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 |
| 490 | d->filterMode = filter; | - |
| 491 | d->filteringChanged = true; | - |
| 492 | }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 |
| 493 | }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 |
| 494 | | - |
| 495 | | - |
| 496 | | - |
| 497 | | - |
| 498 | QSGTexture::Filtering QSGTexture::filtering() const | - |
| 499 | { | - |
| 500 | return (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 |
| 501 | } | - |
| 502 | | - |
| 503 | | - |
| 504 | | - |
| 505 | | - |
| 506 | | - |
| 507 | | - |
| 508 | | - |
| 509 | void QSGTexture::setAnisotropyLevel(AnisotropyLevel level) | - |
| 510 | { | - |
| 511 | Q_D(QSGTexture); | - |
| 512 | 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 |
| 513 | d->anisotropyLevel = level; | - |
| 514 | d->anisotropyChanged = true; | - |
| 515 | } never executed: end of block | 0 |
| 516 | }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 |
| 517 | | - |
| 518 | | - |
| 519 | | - |
| 520 | | - |
| 521 | | - |
| 522 | | - |
| 523 | QSGTexture::AnisotropyLevel QSGTexture::anisotropyLevel() const | - |
| 524 | { | - |
| 525 | return (QSGTexture::AnisotropyLevel) d_func()->anisotropyLevel; never executed: return (QSGTexture::AnisotropyLevel) d_func()->anisotropyLevel; | 0 |
| 526 | } | - |
| 527 | | - |
| 528 | | - |
| 529 | | - |
| 530 | | - |
| 531 | | - |
| 532 | | - |
| 533 | | - |
| 534 | void QSGTexture::setHorizontalWrapMode(WrapMode hwrap) | - |
| 535 | { | - |
| 536 | Q_D(QSGTexture); | - |
| 537 | if ((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 |
| 538 | d->horizontalWrap = hwrap; | - |
| 539 | d->wrapChanged = true; | - |
| 540 | }executed 11 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
| 11 |
| 541 | }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 |
| 542 | | - |
| 543 | | - |
| 544 | | - |
| 545 | | - |
| 546 | QSGTexture::WrapMode QSGTexture::horizontalWrapMode() const | - |
| 547 | { | - |
| 548 | return (QSGTexture::WrapMode) d_func()->horizontalWrap; never executed: return (QSGTexture::WrapMode) d_func()->horizontalWrap; | 0 |
| 549 | } | - |
| 550 | | - |
| 551 | | - |
| 552 | | - |
| 553 | | - |
| 554 | | - |
| 555 | | - |
| 556 | void QSGTexture::setVerticalWrapMode(WrapMode vwrap) | - |
| 557 | { | - |
| 558 | Q_D(QSGTexture); | - |
| 559 | if ((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 |
| 560 | d->verticalWrap = vwrap; | - |
| 561 | d->wrapChanged = true; | - |
| 562 | }executed 9 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
| 9 |
| 563 | }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 |
| 564 | | - |
| 565 | | - |
| 566 | | - |
| 567 | | - |
| 568 | QSGTexture::WrapMode QSGTexture::verticalWrapMode() const | - |
| 569 | { | - |
| 570 | return (QSGTexture::WrapMode) d_func()->verticalWrap; never executed: return (QSGTexture::WrapMode) d_func()->verticalWrap; | 0 |
| 571 | } | - |
| 572 | | - |
| 573 | | - |
| 574 | | - |
| 575 | | - |
| 576 | | - |
| 577 | | - |
| 578 | | - |
| 579 | | - |
| 580 | | - |
| 581 | void QSGTexture::updateBindOptions(bool force) | - |
| 582 | { | - |
| 583 | #if QT_CONFIG(opengl) | - |
| 584 | Q_D(QSGTexture); | - |
| 585 | QOpenGLFunctions *funcs = QOpenGLContext::currentContext()->functions(); | - |
| 586 | force |= isAtlasTexture(); | - |
| 587 | | - |
| 588 | if (force || d->filteringChanged) {| 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
- ...
|
| 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 |
| 589 | bool linear = d->filterMode == Linear; | - |
| 590 | GLint minFilter = linear ? GL_LINEAR : GL_NEAREST;| 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 |
| 591 | GLint magFilter = linear ? GL_LINEAR : GL_NEAREST;| 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 |
| 592 | | - |
| 593 | 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 |
| 594 | if (d->mipmapMode == Nearest)| TRUE | never evaluated | | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
|
| 0-10 |
| 595 | minFilter = linear ? GL_LINEAR_MIPMAP_NEAREST : GL_NEAREST_MIPMAP_NEAREST; never executed: minFilter = linear ? 0x2701 : 0x2700 ; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 596 | 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 |
| 597 | minFilter = linear ? GL_LINEAR_MIPMAP_LINEAR : GL_NEAREST_MIPMAP_LINEAR;executed 8 times by 3 tests: minFilter = linear ? 0x2703 : 0x2702 ;Executed by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickitemlayer
- tst_qquickpainteditem
| | FALSE | evaluated 4 times by 1 test |
| 4-8 |
| 598 | }executed 10 times by 3 tests: end of blockExecuted by:- tst_qquickitemlayer
- tst_qquickpainteditem
- tst_scenegraph
| 10 |
| 599 | funcs->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, minFilter); | - |
| 600 | funcs->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, magFilter); | - |
| 601 | d->filteringChanged = false; | - |
| 602 | }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 |
| 603 | | - |
| 604 | if (force || d->anisotropyChanged) {| 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
- ...
|
| 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 |
| 605 | d->anisotropyChanged = false; | - |
| 606 | if (QOpenGLContext::currentContext()->hasExtension(QByteArrayLiteral("GL_EXT_texture_filter_anisotropic")))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 |
| 607 | funcs->glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, float(1 << (d->anisotropyLevel))); never executed: funcs->glTexParameterf( 0x0DE1 , 0x84FE, float(1 << (d->anisotropyLevel))); | 0 |
| 608 | }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 |
| 609 | | - |
| 610 | if (force || d->wrapChanged) {| 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
- ...
|
| 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 |
| 611 | #ifndef QT_NO_DEBUG | - |
| 612 | if (d->horizontalWrap == Repeat || d->verticalWrap == 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
- ...
|
| 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 |
| 613 | || d->horizontalWrap == MirroredRepeat || 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
- ...
|
| 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 |
| 614 | { | - |
| 615 | bool npotSupported = QOpenGLFunctions(QOpenGLContext::currentContext()).hasOpenGLFeature(QOpenGLFunctions::NPOTTextures); | - |
| 616 | QSize size = textureSize(); | - |
| 617 | bool isNpot = !isPowerOfTwo(size.width()) || !isPowerOfTwo(size.height());| TRUE | evaluated 15 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
| | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-15 |
| 618 | if (!npotSupported && isNpot)| TRUE | never evaluated | | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_examples
- tst_qquickimage
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-15 |
| 619 | qWarning("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 |
| 620 | }executed 15 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
| 15 |
| 621 | #endif | - |
| 622 | GLenum wrapS = GL_CLAMP_TO_EDGE; | - |
| 623 | 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 |
| 624 | wrapS = GL_REPEAT;executed 11 times by 2 tests: wrapS = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 11 |
| 625 | 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 |
| 626 | wrapS = GL_MIRRORED_REPEAT; never executed: wrapS = 0x8370; | 0 |
| 627 | GLenum wrapT = GL_CLAMP_TO_EDGE; | - |
| 628 | 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 |
| 629 | wrapT = GL_REPEAT;executed 9 times by 2 tests: wrapT = 0x2901 ;Executed by:- tst_examples
- tst_qquickimage
| 9 |
| 630 | 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 |
| 631 | wrapT = GL_MIRRORED_REPEAT; never executed: wrapT = 0x8370; | 0 |
| 632 | funcs->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, wrapS); | - |
| 633 | funcs->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, wrapT); | - |
| 634 | d->wrapChanged = false; | - |
| 635 | }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 |
| 636 | #else | - |
| 637 | Q_UNUSED(force) | - |
| 638 | #endif | - |
| 639 | }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 |
| 640 | | - |
| 641 | QSGPlainTexture::QSGPlainTexture() | - |
| 642 | : QSGTexture() | - |
| 643 | , m_texture_id(0) | - |
| 644 | , m_has_alpha(false) | - |
| 645 | , m_dirty_texture(false) | - |
| 646 | , m_dirty_bind_options(false) | - |
| 647 | , m_owns_texture(true) | - |
| 648 | , m_mipmaps_generated(false) | - |
| 649 | , m_retain_image(false) | - |
| 650 | { | - |
| 651 | }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 |
| 652 | | - |
| 653 | | - |
| 654 | QSGPlainTexture::~QSGPlainTexture() | - |
| 655 | { | - |
| 656 | #if QT_CONFIG(opengl) | - |
| 657 | if (m_texture_id && m_owns_texture && QOpenGLContext::currentContext())| 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
|
| 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
|
| 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 |
| 658 | 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 |
| 659 | #endif | - |
| 660 | }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 |
| 661 | | - |
| 662 | void qsg_swizzleBGRAToRGBA(QImage *image) | - |
| 663 | { | - |
| 664 | const int width = image->width(); | - |
| 665 | const int height = image->height(); | - |
| 666 | for (int i = 0; i < height; ++i) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 667 | uint *p = (uint *) image->scanLine(i); | - |
| 668 | for (int x = 0; x < width; ++x)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 669 | 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 |
| 670 | } never executed: end of block | 0 |
| 671 | } never executed: end of block | 0 |
| 672 | | - |
| 673 | void QSGPlainTexture::setImage(const QImage &image) | - |
| 674 | { | - |
| 675 | m_image = image; | - |
| 676 | m_texture_size = image.size(); | - |
| 677 | m_has_alpha = image.hasAlphaChannel(); | - |
| 678 | m_dirty_texture = true; | - |
| 679 | m_dirty_bind_options = true; | - |
| 680 | m_mipmaps_generated = false; | - |
| 681 | }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 |
| 682 | | - |
| 683 | int QSGPlainTexture::textureId() const | - |
| 684 | { | - |
| 685 | 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 |
| 686 | if (m_image.isNull()) {| TRUE | never evaluated | | FALSE | evaluated 418 times by 3 testsEvaluated by:- tst_examples
- tst_qquickimage
- tst_scenegraph
|
| 0-418 |
| 687 | | - |
| 688 | | - |
| 689 | return 0; never executed: return 0; | 0 |
| 690 | } 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 |
| 691 | #if QT_CONFIG(opengl) | - |
| 692 | | - |
| 693 | QOpenGLContext::currentContext()->functions()->glGenTextures(1, &const_cast<QSGPlainTexture *>(this)->m_texture_id); | - |
| 694 | #endif | - |
| 695 | return m_texture_id;executed 56 times by 3 tests: return m_texture_id;Executed by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 56 |
| 696 | } | - |
| 697 | }executed 362 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 362 |
| 698 | return m_texture_id;executed 880 times by 3 tests: return m_texture_id;Executed by:- tst_examples
- tst_qquickimage
- tst_scenegraph
| 880 |
| 699 | } | - |
| 700 | | - |
| 701 | void QSGPlainTexture::setTextureId(int id) | - |
| 702 | { | - |
| 703 | #if QT_CONFIG(opengl) | - |
| 704 | if (m_texture_id && m_owns_texture)| TRUE | never evaluated | | FALSE | evaluated 109 times by 4 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_scenegraph
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-109 |
| 705 | QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &m_texture_id); never executed: QOpenGLContext::currentContext()->functions()->glDeleteTextures(1, &m_texture_id); | 0 |
| 706 | #endif | - |
| 707 | | - |
| 708 | m_texture_id = id; | - |
| 709 | m_dirty_texture = false; | - |
| 710 | m_dirty_bind_options = true; | - |
| 711 | m_image = QImage(); | - |
| 712 | m_mipmaps_generated = false; | - |
| 713 | }executed 109 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_scenegraph
| 109 |
| 714 | | - |
| 715 | void QSGPlainTexture::bind() | - |
| 716 | { | - |
| 717 | #if QT_CONFIG(opengl) | - |
| 718 | QOpenGLContext *context = QOpenGLContext::currentContext(); | - |
| 719 | QOpenGLFunctions *funcs = context->functions(); | - |
| 720 | 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 |
| 721 | funcs->glBindTexture(GL_TEXTURE_2D, m_texture_id); | - |
| 722 | if (mipmapFiltering() != QSGTexture::None && !m_mipmaps_generated) {| 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
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
| 0-7190 |
| 723 | funcs->glGenerateMipmap(GL_TEXTURE_2D); | - |
| 724 | m_mipmaps_generated = true; | - |
| 725 | } never executed: end of block | 0 |
| 726 | updateBindOptions(m_dirty_bind_options); | - |
| 727 | m_dirty_bind_options = false; | - |
| 728 | 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 |
| 729 | } | - |
| 730 | | - |
| 731 | m_dirty_texture = false; | - |
| 732 | | - |
| 733 | bool profileFrames = QSG_LOG_TIME_TEXTURE().isDebugEnabled(); | - |
| 734 | 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 |
| 735 | qsg_renderer_timer.start(); never executed: qsg_renderer_timer.start(); | 0 |
| 736 | Q_QUICK_SG_PROFILE_START_SYNCHRONIZED(QQuickProfiler::SceneGraphTexturePrepare, never executed: end of block 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
- ...
| 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 |
| 737 | QQuickProfiler::SceneGraphTextureDeletion);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 |
| 738 | | - |
| 739 | | - |
| 740 | 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 |
| 741 | if (m_texture_id && m_owns_texture) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 742 | funcs->glDeleteTextures(1, &m_texture_id); | - |
| 743 | qCDebug(QSG_LOG_TIME_TEXTURE, "plain texture deleted in %dms - %dx%d", 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()) ; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 744 | (int) qsg_renderer_timer.elapsed(), 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 |
| 745 | m_texture_size.width(), 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 |
| 746 | 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 |
| 747 | Q_QUICK_SG_PROFILE_END(QQuickProfiler::SceneGraphTextureDeletion, never executed: end of block never executed: (void)0 ; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 748 | QQuickProfiler::SceneGraphTextureDeletionDelete); never executed: (void)0 ; | 0 |
| 749 | } | - |
| 750 | m_texture_id = 0; | - |
| 751 | m_texture_size = QSize(); | - |
| 752 | m_has_alpha = false; | - |
| 753 | | - |
| 754 | return; never executed: return; | 0 |
| 755 | } | - |
| 756 | | - |
| 757 | 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 |
| 758 | 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 |
| 759 | funcs->glBindTexture(GL_TEXTURE_2D, m_texture_id); | - |
| 760 | | - |
| 761 | qint64 bindTime = 0; | - |
| 762 | 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 |
| 763 | bindTime = qsg_renderer_timer.nsecsElapsed(); never executed: bindTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 764 | Q_QUICK_SG_PROFILE_RECORD(QQuickProfiler::SceneGraphTexturePrepare, never executed: end of block 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
- ...
| 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 |
| 765 | QQuickProfiler::SceneGraphTexturePrepareBind);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 |
| 766 | | - |
| 767 | | - |
| 768 | | - |
| 769 | QImage tmp = (m_image.format() == QImage::Format_RGB32 || m_image.format() == QImage::Format_ARGB32_Premultiplied)| 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
- ...
|
| 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 |
| 770 | ? m_image | - |
| 771 | : m_image.convertToFormat(QImage::Format_ARGB32_Premultiplied); | - |
| 772 | | - |
| 773 | | - |
| 774 | | - |
| 775 | | - |
| 776 | | - |
| 777 | | - |
| 778 | | - |
| 779 | | - |
| 780 | int max; | - |
| 781 | 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 |
| 782 | 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 |
| 783 | else | - |
| 784 | funcs->glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max); never executed: funcs->glGetIntegerv( 0x0D33 , &max); | 0 |
| 785 | if (tmp.width() > max || tmp.height() > 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
- ...
|
| 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 |
| 786 | tmp = tmp.scaled(qMin(max, tmp.width()), qMin(max, tmp.height()), Qt::IgnoreAspectRatio, Qt::SmoothTransformation); | - |
| 787 | m_texture_size = tmp.size(); | - |
| 788 | }executed 4 times by 1 test: end of block | 4 |
| 789 | | - |
| 790 | | - |
| 791 | | - |
| 792 | 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 |
| 793 | && (!isPowerOfTwo(m_texture_size.width()) || !isPowerOfTwo(m_texture_size.height()))| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 794 | && !funcs->hasOpenGLFeature(QOpenGLFunctions::NPOTTextures)) {| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 795 | tmp = tmp.scaled(qNextPowerOfTwo(m_texture_size.width()), qNextPowerOfTwo(m_texture_size.height()), | - |
| 796 | Qt::IgnoreAspectRatio, Qt::SmoothTransformation); | - |
| 797 | m_texture_size = tmp.size(); | - |
| 798 | } never executed: end of block | 0 |
| 799 | | - |
| 800 | 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 |
| 801 | tmp = tmp.copy(); never executed: tmp = tmp.copy(); | 0 |
| 802 | | - |
| 803 | qint64 convertTime = 0; | - |
| 804 | 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 |
| 805 | convertTime = qsg_renderer_timer.nsecsElapsed(); never executed: convertTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 806 | Q_QUICK_SG_PROFILE_RECORD(QQuickProfiler::SceneGraphTexturePrepare, never executed: end of block 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
- ...
| 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 |
| 807 | QQuickProfiler::SceneGraphTexturePrepareConvert);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 |
| 808 | | - |
| 809 | updateBindOptions(m_dirty_bind_options); | - |
| 810 | | - |
| 811 | GLenum externalFormat = GL_RGBA; | - |
| 812 | GLenum internalFormat = GL_RGBA; | - |
| 813 | | - |
| 814 | #if defined(Q_OS_ANDROID) && !defined(Q_OS_ANDROID_EMBEDDED) | - |
| 815 | QString *deviceName = | - |
| 816 | static_cast<QString *>(QGuiApplication::platformNativeInterface()->nativeResourceForIntegration("AndroidDeviceName")); | - |
| 817 | static bool wrongfullyReportsBgra8888Support = deviceName != 0 | - |
| 818 | && (deviceName->compare(QLatin1String("samsung SM-T211"), Qt::CaseInsensitive) == 0 | - |
| 819 | || deviceName->compare(QLatin1String("samsung SM-T210"), Qt::CaseInsensitive) == 0 | - |
| 820 | || deviceName->compare(QLatin1String("samsung SM-T215"), Qt::CaseInsensitive) == 0); | - |
| 821 | #else | - |
| 822 | static bool wrongfullyReportsBgra8888Support = false; | - |
| 823 | #endif | - |
| 824 | | - |
| 825 | if (context->hasExtension(QByteArrayLiteral("GL_EXT_bgra"))) {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 |
| 826 | externalFormat = GL_BGRA; | - |
| 827 | #ifdef QT_OPENGL_ES | - |
| 828 | internalFormat = GL_BGRA; | - |
| 829 | #else | - |
| 830 | 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 |
| 831 | internalFormat = GL_BGRA; never executed: internalFormat = 0x80E1 ; | 0 |
| 832 | #endif // QT_OPENGL_ES | - |
| 833 | } else if (!wrongfullyReportsBgra8888Supportexecuted 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
- ...
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-287 |
| 834 | && (context->hasExtension(QByteArrayLiteral("GL_EXT_texture_format_BGRA8888")) never executed: return ba; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 835 | || context->hasExtension(QByteArrayLiteral("GL_IMG_texture_format_BGRA8888")))) { never executed: return ba; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 836 | externalFormat = GL_BGRA; | - |
| 837 | internalFormat = GL_BGRA; | - |
| 838 | #if defined(Q_OS_DARWIN) && !defined(Q_OS_OSX) | - |
| 839 | } else if (context->hasExtension(QByteArrayLiteral("GL_APPLE_texture_format_BGRA8888"))) { | - |
| 840 | externalFormat = GL_BGRA; | - |
| 841 | internalFormat = GL_RGBA; | - |
| 842 | #endif | - |
| 843 | } else { never executed: end of block | 0 |
| 844 | qsg_swizzleBGRAToRGBA(&tmp); | - |
| 845 | } never executed: end of block | 0 |
| 846 | | - |
| 847 | qint64 swizzleTime = 0; | - |
| 848 | 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 |
| 849 | swizzleTime = qsg_renderer_timer.nsecsElapsed(); never executed: swizzleTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 850 | Q_QUICK_SG_PROFILE_RECORD(QQuickProfiler::SceneGraphTexturePrepare, never executed: end of block 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
- ...
| 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 |
| 851 | QQuickProfiler::SceneGraphTexturePrepareSwizzle);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 |
| 852 | | - |
| 853 | funcs->glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, m_texture_size.width(), m_texture_size.height(), 0, externalFormat, GL_UNSIGNED_BYTE, tmp.constBits()); | - |
| 854 | | - |
| 855 | qint64 uploadTime = 0; | - |
| 856 | 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 |
| 857 | uploadTime = qsg_renderer_timer.nsecsElapsed(); never executed: uploadTime = qsg_renderer_timer.nsecsElapsed(); | 0 |
| 858 | Q_QUICK_SG_PROFILE_RECORD(QQuickProfiler::SceneGraphTexturePrepare, never executed: end of block 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
- ...
| 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 |
| 859 | QQuickProfiler::SceneGraphTexturePrepareUpload);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 |
| 860 | | - |
| 861 | 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 |
| 862 | funcs->glGenerateMipmap(GL_TEXTURE_2D); | - |
| 863 | m_mipmaps_generated = true; | - |
| 864 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qquickpainteditem
- tst_scenegraph
| 6 |
| 865 | | - |
| 866 | qint64 mipmapTime = 0; | - |
| 867 | 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 |
| 868 | mipmapTime = qsg_renderer_timer.nsecsElapsed(); | - |
| 869 | qCDebug(QSG_LOG_TIME_TEXTURE, 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)" : "") ; | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 870 | "plain texture uploaded in: %dms (%dx%d), bind=%d, convert=%d, swizzle=%d (%s->%s), upload=%d, mipmap=%d%s", 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 |
| 871 | int(mipmapTime / 1000000), 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 |
| 872 | m_texture_size.width(), m_texture_size.height(), 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 |
| 873 | int(bindTime / 1000000), 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 |
| 874 | int((convertTime - bindTime)/1000000), 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 |
| 875 | int((swizzleTime - convertTime)/1000000), 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 |
| 876 | (externalFormat == GL_BGRA ? "BGRA" : "RGBA"), 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 |
| 877 | (internalFormat == GL_BGRA ? "BGRA" : "RGBA"), 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 |
| 878 | int((uploadTime - swizzleTime)/1000000), 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 |
| 879 | int((mipmapTime - uploadTime)/1000000), 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 |
| 880 | 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 |
| 881 | } never executed: end of block | 0 |
| 882 | Q_QUICK_SG_PROFILE_END(QQuickProfiler::SceneGraphTexturePrepare, never executed: end of block 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
- ...
| 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 |
| 883 | QQuickProfiler::SceneGraphTexturePrepareMipmap);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 |
| 884 | | - |
| 885 | m_texture_rect = QRectF(0, 0, 1, 1); | - |
| 886 | | - |
| 887 | m_dirty_bind_options = false; | - |
| 888 | 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 |
| 889 | 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 |
| 890 | #endif | - |
| 891 | }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 |
| 892 | | - |
| 893 | | - |
| 894 | | - |
| 895 | | - |
| 896 | | - |
| 897 | | - |
| 898 | | - |
| 899 | | - |
| 900 | | - |
| 901 | | - |
| 902 | | - |
| 903 | | - |
| 904 | | - |
| 905 | | - |
| 906 | | - |
| 907 | | - |
| 908 | | - |
| 909 | | - |
| 910 | | - |
| 911 | | - |
| 912 | | - |
| 913 | | - |
| 914 | | - |
| 915 | | - |
| 916 | | - |
| 917 | | - |
| 918 | | - |
| 919 | | - |
| 920 | QT_END_NAMESPACE | - |
| 921 | | - |
| 922 | #include "moc_qsgtexture.cpp" | - |
| 923 | #include "moc_qsgtexture_p.cpp" | - |
| | |