| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qsgadaptationlayer_p.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | #pragma GCC diagnostic push | - |
| 4 | - | |
| 5 | - | |
| 6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
| 7 | - | |
| 8 | struct qt_meta_stringdata_QSGLayer_t { | - |
| 9 | QByteArrayData data[6]; | - |
| 10 | char stringdata0[80]; | - |
| 11 | }; | - |
| 12 | - | |
| 13 | - | |
| 14 | - | |
| 15 | - | |
| 16 | - | |
| 17 | static const qt_meta_stringdata_QSGLayer_t qt_meta_stringdata_QSGLayer = { | - |
| 18 | { | - |
| 19 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
| 20 | __builtin_offsetof ( | - |
| 21 | qt_meta_stringdata_QSGLayer_t | - |
| 22 | , | - |
| 23 | stringdata0 | - |
| 24 | ) | - |
| 25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
| 26 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
| 27 | __builtin_offsetof ( | - |
| 28 | qt_meta_stringdata_QSGLayer_t | - |
| 29 | , | - |
| 30 | stringdata0 | - |
| 31 | ) | - |
| 32 | + 9 - 1 * sizeof(QByteArrayData)) }, | - |
| 33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
| 34 | __builtin_offsetof ( | - |
| 35 | qt_meta_stringdata_QSGLayer_t | - |
| 36 | , | - |
| 37 | stringdata0 | - |
| 38 | ) | - |
| 39 | + 25 - 2 * sizeof(QByteArrayData)) }, | - |
| 40 | { { { -1 } }, 24, 0, 0, qptrdiff( | - |
| 41 | __builtin_offsetof ( | - |
| 42 | qt_meta_stringdata_QSGLayer_t | - |
| 43 | , | - |
| 44 | stringdata0 | - |
| 45 | ) | - |
| 46 | + 26 - 3 * sizeof(QByteArrayData)) }, | - |
| 47 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
| 48 | __builtin_offsetof ( | - |
| 49 | qt_meta_stringdata_QSGLayer_t | - |
| 50 | , | - |
| 51 | stringdata0 | - |
| 52 | ) | - |
| 53 | + 51 - 4 * sizeof(QByteArrayData)) }, | - |
| 54 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
| 55 | __builtin_offsetof ( | - |
| 56 | qt_meta_stringdata_QSGLayer_t | - |
| 57 | , | - |
| 58 | stringdata0 | - |
| 59 | ) | - |
| 60 | + 68 - 5 * sizeof(QByteArrayData)) } | - |
| 61 | - | |
| 62 | }, | - |
| 63 | "QSGLayer\0updateRequested\0\0" | - |
| 64 | "scheduledUpdateCompleted\0markDirtyTexture\0" | - |
| 65 | "invalidated" | - |
| 66 | }; | - |
| 67 | - | |
| 68 | - | |
| 69 | static const uint qt_meta_data_QSGLayer[] = { | - |
| 70 | - | |
| 71 | - | |
| 72 | 7, | - |
| 73 | 0, | - |
| 74 | 0, 0, | - |
| 75 | 4, 14, | - |
| 76 | 0, 0, | - |
| 77 | 0, 0, | - |
| 78 | 0, 0, | - |
| 79 | 0, | - |
| 80 | 2, | - |
| 81 | - | |
| 82 | - | |
| 83 | 1, 0, 34, 2, 0x06 , | - |
| 84 | 3, 0, 35, 2, 0x06 , | - |
| 85 | - | |
| 86 | - | |
| 87 | 4, 0, 36, 2, 0x0a , | - |
| 88 | 5, 0, 37, 2, 0x0a , | - |
| 89 | - | |
| 90 | - | |
| 91 | QMetaType::Void, | - |
| 92 | QMetaType::Void, | - |
| 93 | - | |
| 94 | - | |
| 95 | QMetaType::Void, | - |
| 96 | QMetaType::Void, | - |
| 97 | - | |
| 98 | 0 | - |
| 99 | }; | - |
| 100 | - | |
| 101 | void QSGLayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 102 | { | - |
| 103 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 104 | QSGLayer *_t = static_cast<QSGLayer *>(_o); | - |
| 105 | (void)_t; | - |
| 106 | switch (_id) { | - |
| 107 | case 0: _t->updateRequested(); break; | - |
| 108 | case 1: _t->scheduledUpdateCompleted(); break; | - |
| 109 | case 2: _t->markDirtyTexture(); break; | - |
| 110 | case 3: _t->invalidated(); break; | - |
| 111 | default: ; | - |
| 112 | } | - |
| 113 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 114 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 115 | { | - |
| 116 | using _t = void (QSGLayer::*)(); | - |
| 117 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGLayer::updateRequested)) { | - |
| 118 | *result = 0; | - |
| 119 | return; | - |
| 120 | } | - |
| 121 | } | - |
| 122 | { | - |
| 123 | using _t = void (QSGLayer::*)(); | - |
| 124 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGLayer::scheduledUpdateCompleted)) { | - |
| 125 | *result = 1; | - |
| 126 | return; | - |
| 127 | } | - |
| 128 | } | - |
| 129 | } | - |
| 130 | (void)_a;; | - |
| 131 | } | - |
| 132 | - | |
| 133 | const QMetaObject QSGLayer::staticMetaObject = { | - |
| 134 | { &QSGDynamicTexture::staticMetaObject, qt_meta_stringdata_QSGLayer.data, | - |
| 135 | qt_meta_data_QSGLayer, qt_static_metacall, nullptr, nullptr} | - |
| 136 | }; | - |
| 137 | - | |
| 138 | - | |
| 139 | const QMetaObject *QSGLayer::metaObject() const | - |
| 140 | { | - |
| 141 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 142 | } | - |
| 143 | - | |
| 144 | void *QSGLayer::qt_metacast(const char *_clname) | - |
| 145 | { | - |
| 146 | if (!_clname) return nullptr; | - |
| 147 | if (!strcmp(_clname, qt_meta_stringdata_QSGLayer.stringdata0)) | - |
| 148 | return static_cast<void*>(this); | - |
| 149 | return QSGDynamicTexture::qt_metacast(_clname); | - |
| 150 | } | - |
| 151 | - | |
| 152 | int QSGLayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 153 | { | - |
| 154 | _id = QSGDynamicTexture::qt_metacall(_c, _id, _a); | - |
| 155 | if (_id < 0) | - |
| 156 | return _id; | - |
| 157 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 158 | if (_id < 4) | - |
| 159 | qt_static_metacall(this, _c, _id, _a); | - |
| 160 | _id -= 4; | - |
| 161 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 162 | if (_id < 4) | - |
| 163 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 164 | _id -= 4; | - |
| 165 | } | - |
| 166 | return _id; | - |
| 167 | } | - |
| 168 | - | |
| 169 | - | |
| 170 | void QSGLayer::updateRequested() | - |
| 171 | { | - |
| 172 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 173 | } executed 608 times by 6 tests: end of blockExecuted by:
| 608 |
| 174 | - | |
| 175 | - | |
| 176 | void QSGLayer::scheduledUpdateCompleted() | - |
| 177 | { | - |
| 178 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 179 | } executed 85 times by 5 tests: end of blockExecuted by:
| 85 |
| 180 | struct qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t { | - |
| 181 | QByteArrayData data[11]; | - |
| 182 | char stringdata0[139]; | - |
| 183 | }; | - |
| 184 | - | |
| 185 | - | |
| 186 | - | |
| 187 | - | |
| 188 | - | |
| 189 | static const qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t qt_meta_stringdata_QSGGuiThreadShaderEffectManager = { | - |
| 190 | { | - |
| 191 | { { { -1 } }, 31, 0, 0, qptrdiff( | - |
| 192 | __builtin_offsetof ( | - |
| 193 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 194 | , | - |
| 195 | stringdata0 | - |
| 196 | ) | - |
| 197 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
| 198 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
| 199 | __builtin_offsetof ( | - |
| 200 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 201 | , | - |
| 202 | stringdata0 | - |
| 203 | ) | - |
| 204 | + 32 - 1 * sizeof(QByteArrayData)) }, | - |
| 205 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
| 206 | __builtin_offsetof ( | - |
| 207 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 208 | , | - |
| 209 | stringdata0 | - |
| 210 | ) | - |
| 211 | + 51 - 2 * sizeof(QByteArrayData)) }, | - |
| 212 | { { { -1 } }, 2, 0, 0, qptrdiff( | - |
| 213 | __builtin_offsetof ( | - |
| 214 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 215 | , | - |
| 216 | stringdata0 | - |
| 217 | ) | - |
| 218 | + 52 - 3 * sizeof(QByteArrayData)) }, | - |
| 219 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
| 220 | __builtin_offsetof ( | - |
| 221 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 222 | , | - |
| 223 | stringdata0 | - |
| 224 | ) | - |
| 225 | + 55 - 4 * sizeof(QByteArrayData)) }, | - |
| 226 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
| 227 | __builtin_offsetof ( | - |
| 228 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 229 | , | - |
| 230 | stringdata0 | - |
| 231 | ) | - |
| 232 | + 72 - 5 * sizeof(QByteArrayData)) }, | - |
| 233 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
| 234 | __builtin_offsetof ( | - |
| 235 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 236 | , | - |
| 237 | stringdata0 | - |
| 238 | ) | - |
| 239 | + 81 - 6 * sizeof(QByteArrayData)) }, | - |
| 240 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
| 241 | __builtin_offsetof ( | - |
| 242 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 243 | , | - |
| 244 | stringdata0 | - |
| 245 | ) | - |
| 246 | + 85 - 7 * sizeof(QByteArrayData)) }, | - |
| 247 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
| 248 | __builtin_offsetof ( | - |
| 249 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 250 | , | - |
| 251 | stringdata0 | - |
| 252 | ) | - |
| 253 | + 97 - 8 * sizeof(QByteArrayData)) }, | - |
| 254 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
| 255 | __builtin_offsetof ( | - |
| 256 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 257 | , | - |
| 258 | stringdata0 | - |
| 259 | ) | - |
| 260 | + 104 - 9 * sizeof(QByteArrayData)) }, | - |
| 261 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
| 262 | __builtin_offsetof ( | - |
| 263 | qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t | - |
| 264 | , | - |
| 265 | stringdata0 | - |
| 266 | ) | - |
| 267 | + 119 - 10 * sizeof(QByteArrayData)) } | - |
| 268 | - | |
| 269 | }, | - |
| 270 | "QSGGuiThreadShaderEffectManager\0" | - |
| 271 | "shaderCodePrepared\0\0ok\0ShaderInfo::Type\0" | - |
| 272 | "typeHint\0src\0ShaderInfo*\0result\0" | - |
| 273 | "textureChanged\0logAndStatusChanged" | - |
| 274 | }; | - |
| 275 | - | |
| 276 | - | |
| 277 | static const uint qt_meta_data_QSGGuiThreadShaderEffectManager[] = { | - |
| 278 | - | |
| 279 | - | |
| 280 | 7, | - |
| 281 | 0, | - |
| 282 | 0, 0, | - |
| 283 | 3, 14, | - |
| 284 | 0, 0, | - |
| 285 | 0, 0, | - |
| 286 | 0, 0, | - |
| 287 | 0, | - |
| 288 | 3, | - |
| 289 | - | |
| 290 | - | |
| 291 | 1, 4, 29, 2, 0x06 , | - |
| 292 | 9, 0, 38, 2, 0x06 , | - |
| 293 | 10, 0, 39, 2, 0x06 , | - |
| 294 | - | |
| 295 | - | |
| 296 | QMetaType::Void, QMetaType::Bool, 0x80000000 | 4, QMetaType::QByteArray, 0x80000000 | 7, 3, 5, 6, 8, | - |
| 297 | QMetaType::Void, | - |
| 298 | QMetaType::Void, | - |
| 299 | - | |
| 300 | 0 | - |
| 301 | }; | - |
| 302 | - | |
| 303 | void QSGGuiThreadShaderEffectManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 304 | { | - |
| 305 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 306 | QSGGuiThreadShaderEffectManager *_t = static_cast<QSGGuiThreadShaderEffectManager *>(_o); | - |
| 307 | (void)_t; | - |
| 308 | switch (_id) { | - |
| 309 | case 0: _t->shaderCodePrepared((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< ShaderInfo::Type(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< ShaderInfo*(*)>(_a[4]))); break; | - |
| 310 | case 1: _t->textureChanged(); break; | - |
| 311 | case 2: _t->logAndStatusChanged(); break; | - |
| 312 | default: ; | - |
| 313 | } | - |
| 314 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 315 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 316 | { | - |
| 317 | using _t = void (QSGGuiThreadShaderEffectManager::*)(bool , ShaderInfo::Type , const QByteArray & , ShaderInfo * ); | - |
| 318 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGGuiThreadShaderEffectManager::shaderCodePrepared)) { | - |
| 319 | *result = 0; | - |
| 320 | return; | - |
| 321 | } | - |
| 322 | } | - |
| 323 | { | - |
| 324 | using _t = void (QSGGuiThreadShaderEffectManager::*)(); | - |
| 325 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGGuiThreadShaderEffectManager::textureChanged)) { | - |
| 326 | *result = 1; | - |
| 327 | return; | - |
| 328 | } | - |
| 329 | } | - |
| 330 | { | - |
| 331 | using _t = void (QSGGuiThreadShaderEffectManager::*)(); | - |
| 332 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGGuiThreadShaderEffectManager::logAndStatusChanged)) { | - |
| 333 | *result = 2; | - |
| 334 | return; | - |
| 335 | } | - |
| 336 | } | - |
| 337 | } | - |
| 338 | } | - |
| 339 | - | |
| 340 | const QMetaObject QSGGuiThreadShaderEffectManager::staticMetaObject = { | - |
| 341 | { &QObject::staticMetaObject, qt_meta_stringdata_QSGGuiThreadShaderEffectManager.data, | - |
| 342 | qt_meta_data_QSGGuiThreadShaderEffectManager, qt_static_metacall, nullptr, nullptr} | - |
| 343 | }; | - |
| 344 | - | |
| 345 | - | |
| 346 | const QMetaObject *QSGGuiThreadShaderEffectManager::metaObject() const | - |
| 347 | { | - |
| 348 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 349 | } | - |
| 350 | - | |
| 351 | void *QSGGuiThreadShaderEffectManager::qt_metacast(const char *_clname) | - |
| 352 | { | - |
| 353 | if (!_clname) return nullptr; | - |
| 354 | if (!strcmp(_clname, qt_meta_stringdata_QSGGuiThreadShaderEffectManager.stringdata0)) | - |
| 355 | return static_cast<void*>(this); | - |
| 356 | return QObject::qt_metacast(_clname); | - |
| 357 | } | - |
| 358 | - | |
| 359 | int QSGGuiThreadShaderEffectManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 360 | { | - |
| 361 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 362 | if (_id < 0) | - |
| 363 | return _id; | - |
| 364 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 365 | if (_id < 3) | - |
| 366 | qt_static_metacall(this, _c, _id, _a); | - |
| 367 | _id -= 3; | - |
| 368 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 369 | if (_id < 3) | - |
| 370 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 371 | _id -= 3; | - |
| 372 | } | - |
| 373 | return _id; | - |
| 374 | } | - |
| 375 | - | |
| 376 | - | |
| 377 | void QSGGuiThreadShaderEffectManager::shaderCodePrepared(bool _t1, ShaderInfo::Type _t2, const QByteArray & _t3, ShaderInfo * _t4) | - |
| 378 | { | - |
| 379 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) }; | - |
| 380 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
| 381 | } never executed: end of block | 0 |
| 382 | - | |
| 383 | - | |
| 384 | void QSGGuiThreadShaderEffectManager::textureChanged() | - |
| 385 | { | - |
| 386 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 387 | } never executed: end of block | 0 |
| 388 | - | |
| 389 | - | |
| 390 | void QSGGuiThreadShaderEffectManager::logAndStatusChanged() | - |
| 391 | { | - |
| 392 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 393 | } never executed: end of block | 0 |
| 394 | - | |
| 395 | #pragma GCC diagnostic pop | - |
| 396 | - | |
| 397 | - | |
| Switch to Source code | Preprocessed file |