| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qsgadaptationlayer_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qsgadaptationlayer_p.h' | - |
| 3 | ** | - |
| 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0) | - |
| 5 | ** | - |
| 6 | ** WARNING! All changes made in this file will be lost! | - |
| 7 | *****************************************************************************/ | - |
| 8 | - | |
| 9 | #include "../scenegraph/qsgadaptationlayer_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qsgadaptationlayer_p.h' doesn't include <QObject>." | - |
| 14 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
| 15 | #error "This file was generated using the moc from 5.12.0. It" | - |
| 16 | #error "cannot be used with the include files from this version of Qt." | - |
| 17 | #error "(The moc has changed too much.)" | - |
| 18 | #endif | - |
| 19 | - | |
| 20 | QT_BEGIN_MOC_NAMESPACE | - |
| 21 | QT_WARNING_PUSH | - |
| 22 | QT_WARNING_DISABLE_DEPRECATED | - |
| 23 | struct qt_meta_stringdata_QSGLayer_t { | - |
| 24 | QByteArrayData data[6]; | - |
| 25 | char stringdata0[80]; | - |
| 26 | }; | - |
| 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 29 | qptrdiff(offsetof(qt_meta_stringdata_QSGLayer_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QSGLayer_t qt_meta_stringdata_QSGLayer = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 8), // "QSGLayer" | - |
| 35 | QT_MOC_LITERAL(1, 9, 15), // "updateRequested" | - |
| 36 | QT_MOC_LITERAL(2, 25, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 26, 24), // "scheduledUpdateCompleted" | - |
| 38 | QT_MOC_LITERAL(4, 51, 16), // "markDirtyTexture" | - |
| 39 | QT_MOC_LITERAL(5, 68, 11) // "invalidated" | - |
| 40 | - | |
| 41 | }, | - |
| 42 | "QSGLayer\0updateRequested\0\0" | - |
| 43 | "scheduledUpdateCompleted\0markDirtyTexture\0" | - |
| 44 | "invalidated" | - |
| 45 | }; | - |
| 46 | #undef QT_MOC_LITERAL | - |
| 47 | - | |
| 48 | static const uint qt_meta_data_QSGLayer[] = { | - |
| 49 | - | |
| 50 | // content: | - |
| 51 | 7, // revision | - |
| 52 | 0, // classname | - |
| 53 | 0, 0, // classinfo | - |
| 54 | 4, 14, // methods | - |
| 55 | 0, 0, // properties | - |
| 56 | 0, 0, // enums/sets | - |
| 57 | 0, 0, // constructors | - |
| 58 | 0, // flags | - |
| 59 | 2, // signalCount | - |
| 60 | - | |
| 61 | // signals: name, argc, parameters, tag, flags | - |
| 62 | 1, 0, 34, 2, 0x06 /* Public */, | - |
| 63 | 3, 0, 35, 2, 0x06 /* Public */, | - |
| 64 | - | |
| 65 | // slots: name, argc, parameters, tag, flags | - |
| 66 | 4, 0, 36, 2, 0x0a /* Public */, | - |
| 67 | 5, 0, 37, 2, 0x0a /* Public */, | - |
| 68 | - | |
| 69 | // signals: parameters | - |
| 70 | QMetaType::Void, | - |
| 71 | QMetaType::Void, | - |
| 72 | - | |
| 73 | // slots: parameters | - |
| 74 | QMetaType::Void, | - |
| 75 | QMetaType::Void, | - |
| 76 | - | |
| 77 | 0 // eod | - |
| 78 | }; | - |
| 79 | - | |
| 80 | void QSGLayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 81 | { | - |
| 82 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 83 | QSGLayer *_t = static_cast<QSGLayer *>(_o); | - |
| 84 | Q_UNUSED(_t) | - |
| 85 | switch (_id) { | - |
| 86 | case 0: _t->updateRequested(); break; | - |
| 87 | case 1: _t->scheduledUpdateCompleted(); break; | - |
| 88 | case 2: _t->markDirtyTexture(); break; | - |
| 89 | case 3: _t->invalidated(); break; | - |
| 90 | default: ; | - |
| 91 | } | - |
| 92 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 93 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 94 | { | - |
| 95 | using _t = void (QSGLayer::*)(); | - |
| 96 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGLayer::updateRequested)) { | - |
| 97 | *result = 0; | - |
| 98 | return; | - |
| 99 | } | - |
| 100 | } | - |
| 101 | { | - |
| 102 | using _t = void (QSGLayer::*)(); | - |
| 103 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGLayer::scheduledUpdateCompleted)) { | - |
| 104 | *result = 1; | - |
| 105 | return; | - |
| 106 | } | - |
| 107 | } | - |
| 108 | } | - |
| 109 | Q_UNUSED(_a); | - |
| 110 | } | - |
| 111 | - | |
| 112 | QT_INIT_METAOBJECT const QMetaObject QSGLayer::staticMetaObject = { | - |
| 113 | { &QSGDynamicTexture::staticMetaObject, qt_meta_stringdata_QSGLayer.data, | - |
| 114 | qt_meta_data_QSGLayer, qt_static_metacall, nullptr, nullptr} | - |
| 115 | }; | - |
| 116 | - | |
| 117 | - | |
| 118 | const QMetaObject *QSGLayer::metaObject() const | - |
| 119 | { | - |
| 120 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 121 | } | - |
| 122 | - | |
| 123 | void *QSGLayer::qt_metacast(const char *_clname) | - |
| 124 | { | - |
| 125 | if (!_clname) return nullptr; | - |
| 126 | if (!strcmp(_clname, qt_meta_stringdata_QSGLayer.stringdata0)) | - |
| 127 | return static_cast<void*>(this); | - |
| 128 | return QSGDynamicTexture::qt_metacast(_clname); | - |
| 129 | } | - |
| 130 | - | |
| 131 | int QSGLayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 132 | { | - |
| 133 | _id = QSGDynamicTexture::qt_metacall(_c, _id, _a); | - |
| 134 | if (_id < 0) | - |
| 135 | return _id; | - |
| 136 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 137 | if (_id < 4) | - |
| 138 | qt_static_metacall(this, _c, _id, _a); | - |
| 139 | _id -= 4; | - |
| 140 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 141 | if (_id < 4) | - |
| 142 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 143 | _id -= 4; | - |
| 144 | } | - |
| 145 | return _id; | - |
| 146 | } | - |
| 147 | - | |
| 148 | // SIGNAL 0 | - |
| 149 | void QSGLayer::updateRequested() | - |
| 150 | { | - |
| 151 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 152 | } executed 608 times by 6 tests: end of blockExecuted by:
| 608 |
| 153 | - | |
| 154 | // SIGNAL 1 | - |
| 155 | void QSGLayer::scheduledUpdateCompleted() | - |
| 156 | { | - |
| 157 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 158 | } executed 85 times by 5 tests: end of blockExecuted by:
| 85 |
| 159 | struct qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t { | - |
| 160 | QByteArrayData data[11]; | - |
| 161 | char stringdata0[139]; | - |
| 162 | }; | - |
| 163 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 164 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 165 | qptrdiff(offsetof(qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t, stringdata0) + ofs \ | - |
| 166 | - idx * sizeof(QByteArrayData)) \ | - |
| 167 | ) | - |
| 168 | static const qt_meta_stringdata_QSGGuiThreadShaderEffectManager_t qt_meta_stringdata_QSGGuiThreadShaderEffectManager = { | - |
| 169 | { | - |
| 170 | QT_MOC_LITERAL(0, 0, 31), // "QSGGuiThreadShaderEffectManager" | - |
| 171 | QT_MOC_LITERAL(1, 32, 18), // "shaderCodePrepared" | - |
| 172 | QT_MOC_LITERAL(2, 51, 0), // "" | - |
| 173 | QT_MOC_LITERAL(3, 52, 2), // "ok" | - |
| 174 | QT_MOC_LITERAL(4, 55, 16), // "ShaderInfo::Type" | - |
| 175 | QT_MOC_LITERAL(5, 72, 8), // "typeHint" | - |
| 176 | QT_MOC_LITERAL(6, 81, 3), // "src" | - |
| 177 | QT_MOC_LITERAL(7, 85, 11), // "ShaderInfo*" | - |
| 178 | QT_MOC_LITERAL(8, 97, 6), // "result" | - |
| 179 | QT_MOC_LITERAL(9, 104, 14), // "textureChanged" | - |
| 180 | QT_MOC_LITERAL(10, 119, 19) // "logAndStatusChanged" | - |
| 181 | - | |
| 182 | }, | - |
| 183 | "QSGGuiThreadShaderEffectManager\0" | - |
| 184 | "shaderCodePrepared\0\0ok\0ShaderInfo::Type\0" | - |
| 185 | "typeHint\0src\0ShaderInfo*\0result\0" | - |
| 186 | "textureChanged\0logAndStatusChanged" | - |
| 187 | }; | - |
| 188 | #undef QT_MOC_LITERAL | - |
| 189 | - | |
| 190 | static const uint qt_meta_data_QSGGuiThreadShaderEffectManager[] = { | - |
| 191 | - | |
| 192 | // content: | - |
| 193 | 7, // revision | - |
| 194 | 0, // classname | - |
| 195 | 0, 0, // classinfo | - |
| 196 | 3, 14, // methods | - |
| 197 | 0, 0, // properties | - |
| 198 | 0, 0, // enums/sets | - |
| 199 | 0, 0, // constructors | - |
| 200 | 0, // flags | - |
| 201 | 3, // signalCount | - |
| 202 | - | |
| 203 | // signals: name, argc, parameters, tag, flags | - |
| 204 | 1, 4, 29, 2, 0x06 /* Public */, | - |
| 205 | 9, 0, 38, 2, 0x06 /* Public */, | - |
| 206 | 10, 0, 39, 2, 0x06 /* Public */, | - |
| 207 | - | |
| 208 | // signals: parameters | - |
| 209 | QMetaType::Void, QMetaType::Bool, 0x80000000 | 4, QMetaType::QByteArray, 0x80000000 | 7, 3, 5, 6, 8, | - |
| 210 | QMetaType::Void, | - |
| 211 | QMetaType::Void, | - |
| 212 | - | |
| 213 | 0 // eod | - |
| 214 | }; | - |
| 215 | - | |
| 216 | void QSGGuiThreadShaderEffectManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 217 | { | - |
| 218 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 219 | QSGGuiThreadShaderEffectManager *_t = static_cast<QSGGuiThreadShaderEffectManager *>(_o); | - |
| 220 | Q_UNUSED(_t) | - |
| 221 | switch (_id) { | - |
| 222 | 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; | - |
| 223 | case 1: _t->textureChanged(); break; | - |
| 224 | case 2: _t->logAndStatusChanged(); break; | - |
| 225 | default: ; | - |
| 226 | } | - |
| 227 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 228 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 229 | { | - |
| 230 | using _t = void (QSGGuiThreadShaderEffectManager::*)(bool , ShaderInfo::Type , const QByteArray & , ShaderInfo * ); | - |
| 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGGuiThreadShaderEffectManager::shaderCodePrepared)) { | - |
| 232 | *result = 0; | - |
| 233 | return; | - |
| 234 | } | - |
| 235 | } | - |
| 236 | { | - |
| 237 | using _t = void (QSGGuiThreadShaderEffectManager::*)(); | - |
| 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGGuiThreadShaderEffectManager::textureChanged)) { | - |
| 239 | *result = 1; | - |
| 240 | return; | - |
| 241 | } | - |
| 242 | } | - |
| 243 | { | - |
| 244 | using _t = void (QSGGuiThreadShaderEffectManager::*)(); | - |
| 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGGuiThreadShaderEffectManager::logAndStatusChanged)) { | - |
| 246 | *result = 2; | - |
| 247 | return; | - |
| 248 | } | - |
| 249 | } | - |
| 250 | } | - |
| 251 | } | - |
| 252 | - | |
| 253 | QT_INIT_METAOBJECT const QMetaObject QSGGuiThreadShaderEffectManager::staticMetaObject = { | - |
| 254 | { &QObject::staticMetaObject, qt_meta_stringdata_QSGGuiThreadShaderEffectManager.data, | - |
| 255 | qt_meta_data_QSGGuiThreadShaderEffectManager, qt_static_metacall, nullptr, nullptr} | - |
| 256 | }; | - |
| 257 | - | |
| 258 | - | |
| 259 | const QMetaObject *QSGGuiThreadShaderEffectManager::metaObject() const | - |
| 260 | { | - |
| 261 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 262 | } | - |
| 263 | - | |
| 264 | void *QSGGuiThreadShaderEffectManager::qt_metacast(const char *_clname) | - |
| 265 | { | - |
| 266 | if (!_clname) return nullptr; | - |
| 267 | if (!strcmp(_clname, qt_meta_stringdata_QSGGuiThreadShaderEffectManager.stringdata0)) | - |
| 268 | return static_cast<void*>(this); | - |
| 269 | return QObject::qt_metacast(_clname); | - |
| 270 | } | - |
| 271 | - | |
| 272 | int QSGGuiThreadShaderEffectManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 273 | { | - |
| 274 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 275 | if (_id < 0) | - |
| 276 | return _id; | - |
| 277 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 278 | if (_id < 3) | - |
| 279 | qt_static_metacall(this, _c, _id, _a); | - |
| 280 | _id -= 3; | - |
| 281 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 282 | if (_id < 3) | - |
| 283 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 284 | _id -= 3; | - |
| 285 | } | - |
| 286 | return _id; | - |
| 287 | } | - |
| 288 | - | |
| 289 | // SIGNAL 0 | - |
| 290 | void QSGGuiThreadShaderEffectManager::shaderCodePrepared(bool _t1, ShaderInfo::Type _t2, const QByteArray & _t3, ShaderInfo * _t4) | - |
| 291 | { | - |
| 292 | 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)) }; | - |
| 293 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
| 294 | } never executed: end of block | 0 |
| 295 | - | |
| 296 | // SIGNAL 1 | - |
| 297 | void QSGGuiThreadShaderEffectManager::textureChanged() | - |
| 298 | { | - |
| 299 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 300 | } never executed: end of block | 0 |
| 301 | - | |
| 302 | // SIGNAL 2 | - |
| 303 | void QSGGuiThreadShaderEffectManager::logAndStatusChanged() | - |
| 304 | { | - |
| 305 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 306 | } never executed: end of block | 0 |
| 307 | QT_WARNING_POP | - |
| 308 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |