| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | #include "../items/context2d/qquickcontext2dtexture_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickcontext2dtexture_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_QQuickContext2DTexture_t { | - |
| 24 | QByteArrayData data[19]; | - |
| 25 | char stringdata0[221]; | - |
| 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_QQuickContext2DTexture_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickContext2DTexture_t qt_meta_stringdata_QQuickContext2DTexture = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 22), | - |
| 35 | QT_MOC_LITERAL(1, 23, 14), | - |
| 36 | QT_MOC_LITERAL(2, 38, 0), | - |
| 37 | QT_MOC_LITERAL(3, 39, 13), | - |
| 38 | QT_MOC_LITERAL(4, 53, 10), | - |
| 39 | QT_MOC_LITERAL(5, 64, 8), | - |
| 40 | QT_MOC_LITERAL(6, 73, 12), | - |
| 41 | QT_MOC_LITERAL(7, 86, 9), | - |
| 42 | QT_MOC_LITERAL(8, 96, 6), | - |
| 43 | QT_MOC_LITERAL(9, 103, 12), | - |
| 44 | QT_MOC_LITERAL(10, 116, 5), | - |
| 45 | QT_MOC_LITERAL(11, 122, 29), | - |
| 46 | QT_MOC_LITERAL(12, 152, 3), | - |
| 47 | QT_MOC_LITERAL(13, 156, 16), | - |
| 48 | QT_MOC_LITERAL(14, 173, 7), | - |
| 49 | QT_MOC_LITERAL(15, 181, 17), | - |
| 50 | QT_MOC_LITERAL(16, 199, 4), | - |
| 51 | QT_MOC_LITERAL(17, 204, 9), | - |
| 52 | QT_MOC_LITERAL(18, 214, 6) | - |
| 53 | | - |
| 54 | }, | - |
| 55 | "QQuickContext2DTexture\0textureChanged\0" | - |
| 56 | "\0canvasChanged\0canvasSize\0tileSize\0" | - |
| 57 | "canvasWindow\0dirtyRect\0smooth\0" | - |
| 58 | "antialiasing\0paint\0QQuickContext2DCommandBuffer*\0" | - |
| 59 | "ccb\0markDirtyTexture\0setItem\0" | - |
| 60 | "QQuickCanvasItem*\0item\0grabImage\0" | - |
| 61 | "region" | - |
| 62 | }; | - |
| 63 | #undef QT_MOC_LITERAL | - |
| 64 | | - |
| 65 | static const uint qt_meta_data_QQuickContext2DTexture[] = { | - |
| 66 | | - |
| 67 | | - |
| 68 | 7, | - |
| 69 | 0, | - |
| 70 | 0, 0, | - |
| 71 | 7, 14, | - |
| 72 | 0, 0, | - |
| 73 | 0, 0, | - |
| 74 | 0, 0, | - |
| 75 | 0, | - |
| 76 | 1, | - |
| 77 | | - |
| 78 | | - |
| 79 | 1, 0, 49, 2, 0x06 , | - |
| 80 | | - |
| 81 | | - |
| 82 | 3, 6, 50, 2, 0x0a , | - |
| 83 | 10, 1, 63, 2, 0x0a , | - |
| 84 | 13, 0, 66, 2, 0x0a , | - |
| 85 | 14, 1, 67, 2, 0x0a , | - |
| 86 | 17, 1, 70, 2, 0x0a , | - |
| 87 | 17, 0, 73, 2, 0x2a , | - |
| 88 | | - |
| 89 | | - |
| 90 | QMetaType::Void, | - |
| 91 | | - |
| 92 | | - |
| 93 | QMetaType::Void, QMetaType::QSize, QMetaType::QSize, QMetaType::QRect, QMetaType::QRect, QMetaType::Bool, QMetaType::Bool, 4, 5, 6, 7, 8, 9, | - |
| 94 | QMetaType::Void, 0x80000000 | 11, 12, | - |
| 95 | QMetaType::Void, | - |
| 96 | QMetaType::Void, 0x80000000 | 15, 16, | - |
| 97 | QMetaType::Void, QMetaType::QRectF, 18, | - |
| 98 | QMetaType::Void, | - |
| 99 | | - |
| 100 | 0 | - |
| 101 | }; | - |
| 102 | | - |
| 103 | void QQuickContext2DTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 104 | { | - |
| 105 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 106 | QQuickContext2DTexture *_t = static_cast<QQuickContext2DTexture *>(_o); | - |
| 107 | Q_UNUSED(_t) | - |
| 108 | switch (_id) { | - |
| 109 | case 0: _t->textureChanged(); break; | - |
| 110 | case 1: _t->canvasChanged((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2])),(*reinterpret_cast< const QRect(*)>(_a[3])),(*reinterpret_cast< const QRect(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5])),(*reinterpret_cast< bool(*)>(_a[6]))); break; | - |
| 111 | case 2: _t->paint((*reinterpret_cast< QQuickContext2DCommandBuffer*(*)>(_a[1]))); break; | - |
| 112 | case 3: _t->markDirtyTexture(); break; | - |
| 113 | case 4: _t->setItem((*reinterpret_cast< QQuickCanvasItem*(*)>(_a[1]))); break; | - |
| 114 | case 5: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; | - |
| 115 | case 6: _t->grabImage(); break; | - |
| 116 | default: ; | - |
| 117 | } | - |
| 118 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 119 | switch (_id) { | - |
| 120 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 121 | case 4: | - |
| 122 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 123 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 124 | case 0: | - |
| 125 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickCanvasItem* >(); break; | - |
| 126 | } | - |
| 127 | break; | - |
| 128 | } | - |
| 129 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 130 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 131 | { | - |
| 132 | using _t = void (QQuickContext2DTexture::*)(); | - |
| 133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContext2DTexture::textureChanged)) { | - |
| 134 | *result = 0; | - |
| 135 | return; | - |
| 136 | } | - |
| 137 | } | - |
| 138 | } | - |
| 139 | } | - |
| 140 | | - |
| 141 | QT_INIT_METAOBJECT const QMetaObject QQuickContext2DTexture::staticMetaObject = { | - |
| 142 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickContext2DTexture.data, | - |
| 143 | qt_meta_data_QQuickContext2DTexture, qt_static_metacall, nullptr, nullptr} | - |
| 144 | }; | - |
| 145 | | - |
| 146 | | - |
| 147 | const QMetaObject *QQuickContext2DTexture::metaObject() const | - |
| 148 | { | - |
| 149 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 150 | } | - |
| 151 | | - |
| 152 | void *QQuickContext2DTexture::qt_metacast(const char *_clname) | - |
| 153 | { | - |
| 154 | if (!_clname) return nullptr; | - |
| 155 | if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DTexture.stringdata0)) | - |
| 156 | return static_cast<void*>(this); | - |
| 157 | return QObject::qt_metacast(_clname); | - |
| 158 | } | - |
| 159 | | - |
| 160 | int QQuickContext2DTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 161 | { | - |
| 162 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 163 | if (_id < 0) | - |
| 164 | return _id; | - |
| 165 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 166 | if (_id < 7) | - |
| 167 | qt_static_metacall(this, _c, _id, _a); | - |
| 168 | _id -= 7; | - |
| 169 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 170 | if (_id < 7) | - |
| 171 | qt_static_metacall(this, _c, _id, _a); | - |
| 172 | _id -= 7; | - |
| 173 | } | - |
| 174 | return _id; | - |
| 175 | } | - |
| 176 | | - |
| 177 | | - |
| 178 | void QQuickContext2DTexture::textureChanged() | - |
| 179 | { | - |
| 180 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 181 | } never executed: end of block | 0 |
| 182 | struct qt_meta_stringdata_QQuickContext2DFBOTexture_t { | - |
| 183 | QByteArrayData data[4]; | - |
| 184 | char stringdata0[44]; | - |
| 185 | }; | - |
| 186 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 187 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 188 | qptrdiff(offsetof(qt_meta_stringdata_QQuickContext2DFBOTexture_t, stringdata0) + ofs \ | - |
| 189 | - idx * sizeof(QByteArrayData)) \ | - |
| 190 | ) | - |
| 191 | static const qt_meta_stringdata_QQuickContext2DFBOTexture_t qt_meta_stringdata_QQuickContext2DFBOTexture = { | - |
| 192 | { | - |
| 193 | QT_MOC_LITERAL(0, 0, 25), | - |
| 194 | QT_MOC_LITERAL(1, 26, 9), | - |
| 195 | QT_MOC_LITERAL(2, 36, 0), | - |
| 196 | QT_MOC_LITERAL(3, 37, 6) | - |
| 197 | | - |
| 198 | }, | - |
| 199 | "QQuickContext2DFBOTexture\0grabImage\0" | - |
| 200 | "\0region" | - |
| 201 | }; | - |
| 202 | #undef QT_MOC_LITERAL | - |
| 203 | | - |
| 204 | static const uint qt_meta_data_QQuickContext2DFBOTexture[] = { | - |
| 205 | | - |
| 206 | | - |
| 207 | 7, | - |
| 208 | 0, | - |
| 209 | 0, 0, | - |
| 210 | 2, 14, | - |
| 211 | 0, 0, | - |
| 212 | 0, 0, | - |
| 213 | 0, 0, | - |
| 214 | 0, | - |
| 215 | 0, | - |
| 216 | | - |
| 217 | | - |
| 218 | 1, 1, 24, 2, 0x0a , | - |
| 219 | 1, 0, 27, 2, 0x2a , | - |
| 220 | | - |
| 221 | | - |
| 222 | QMetaType::Void, QMetaType::QRectF, 3, | - |
| 223 | QMetaType::Void, | - |
| 224 | | - |
| 225 | 0 | - |
| 226 | }; | - |
| 227 | | - |
| 228 | void QQuickContext2DFBOTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 229 | { | - |
| 230 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 231 | QQuickContext2DFBOTexture *_t = static_cast<QQuickContext2DFBOTexture *>(_o); | - |
| 232 | Q_UNUSED(_t) | - |
| 233 | switch (_id) { | - |
| 234 | case 0: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; | - |
| 235 | case 1: _t->grabImage(); break; | - |
| 236 | default: ; | - |
| 237 | } | - |
| 238 | } | - |
| 239 | } | - |
| 240 | | - |
| 241 | QT_INIT_METAOBJECT const QMetaObject QQuickContext2DFBOTexture::staticMetaObject = { | - |
| 242 | { &QQuickContext2DTexture::staticMetaObject, qt_meta_stringdata_QQuickContext2DFBOTexture.data, | - |
| 243 | qt_meta_data_QQuickContext2DFBOTexture, qt_static_metacall, nullptr, nullptr} | - |
| 244 | }; | - |
| 245 | | - |
| 246 | | - |
| 247 | const QMetaObject *QQuickContext2DFBOTexture::metaObject() const | - |
| 248 | { | - |
| 249 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 250 | } | - |
| 251 | | - |
| 252 | void *QQuickContext2DFBOTexture::qt_metacast(const char *_clname) | - |
| 253 | { | - |
| 254 | if (!_clname) return nullptr; | - |
| 255 | if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DFBOTexture.stringdata0)) | - |
| 256 | return static_cast<void*>(this); | - |
| 257 | return QQuickContext2DTexture::qt_metacast(_clname); | - |
| 258 | } | - |
| 259 | | - |
| 260 | int QQuickContext2DFBOTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 261 | { | - |
| 262 | _id = QQuickContext2DTexture::qt_metacall(_c, _id, _a); | - |
| 263 | if (_id < 0) | - |
| 264 | return _id; | - |
| 265 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 266 | if (_id < 2) | - |
| 267 | qt_static_metacall(this, _c, _id, _a); | - |
| 268 | _id -= 2; | - |
| 269 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 270 | if (_id < 2) | - |
| 271 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 272 | _id -= 2; | - |
| 273 | } | - |
| 274 | return _id; | - |
| 275 | } | - |
| 276 | struct qt_meta_stringdata_QQuickContext2DImageTexture_t { | - |
| 277 | QByteArrayData data[4]; | - |
| 278 | char stringdata0[46]; | - |
| 279 | }; | - |
| 280 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 281 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 282 | qptrdiff(offsetof(qt_meta_stringdata_QQuickContext2DImageTexture_t, stringdata0) + ofs \ | - |
| 283 | - idx * sizeof(QByteArrayData)) \ | - |
| 284 | ) | - |
| 285 | static const qt_meta_stringdata_QQuickContext2DImageTexture_t qt_meta_stringdata_QQuickContext2DImageTexture = { | - |
| 286 | { | - |
| 287 | QT_MOC_LITERAL(0, 0, 27), | - |
| 288 | QT_MOC_LITERAL(1, 28, 9), | - |
| 289 | QT_MOC_LITERAL(2, 38, 0), | - |
| 290 | QT_MOC_LITERAL(3, 39, 6) | - |
| 291 | | - |
| 292 | }, | - |
| 293 | "QQuickContext2DImageTexture\0grabImage\0" | - |
| 294 | "\0region" | - |
| 295 | }; | - |
| 296 | #undef QT_MOC_LITERAL | - |
| 297 | | - |
| 298 | static const uint qt_meta_data_QQuickContext2DImageTexture[] = { | - |
| 299 | | - |
| 300 | | - |
| 301 | 7, | - |
| 302 | 0, | - |
| 303 | 0, 0, | - |
| 304 | 2, 14, | - |
| 305 | 0, 0, | - |
| 306 | 0, 0, | - |
| 307 | 0, 0, | - |
| 308 | 0, | - |
| 309 | 0, | - |
| 310 | | - |
| 311 | | - |
| 312 | 1, 1, 24, 2, 0x0a , | - |
| 313 | 1, 0, 27, 2, 0x2a , | - |
| 314 | | - |
| 315 | | - |
| 316 | QMetaType::Void, QMetaType::QRectF, 3, | - |
| 317 | QMetaType::Void, | - |
| 318 | | - |
| 319 | 0 | - |
| 320 | }; | - |
| 321 | | - |
| 322 | void QQuickContext2DImageTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 323 | { | - |
| 324 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 325 | QQuickContext2DImageTexture *_t = static_cast<QQuickContext2DImageTexture *>(_o); | - |
| 326 | Q_UNUSED(_t) | - |
| 327 | switch (_id) { | - |
| 328 | case 0: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; | - |
| 329 | case 1: _t->grabImage(); break; | - |
| 330 | default: ; | - |
| 331 | } | - |
| 332 | } | - |
| 333 | } | - |
| 334 | | - |
| 335 | QT_INIT_METAOBJECT const QMetaObject QQuickContext2DImageTexture::staticMetaObject = { | - |
| 336 | { &QQuickContext2DTexture::staticMetaObject, qt_meta_stringdata_QQuickContext2DImageTexture.data, | - |
| 337 | qt_meta_data_QQuickContext2DImageTexture, qt_static_metacall, nullptr, nullptr} | - |
| 338 | }; | - |
| 339 | | - |
| 340 | | - |
| 341 | const QMetaObject *QQuickContext2DImageTexture::metaObject() const | - |
| 342 | { | - |
| 343 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 344 | } | - |
| 345 | | - |
| 346 | void *QQuickContext2DImageTexture::qt_metacast(const char *_clname) | - |
| 347 | { | - |
| 348 | if (!_clname) return nullptr; | - |
| 349 | if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DImageTexture.stringdata0)) | - |
| 350 | return static_cast<void*>(this); | - |
| 351 | return QQuickContext2DTexture::qt_metacast(_clname); | - |
| 352 | } | - |
| 353 | | - |
| 354 | int QQuickContext2DImageTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 355 | { | - |
| 356 | _id = QQuickContext2DTexture::qt_metacall(_c, _id, _a); | - |
| 357 | if (_id < 0) | - |
| 358 | return _id; | - |
| 359 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 360 | if (_id < 2) | - |
| 361 | qt_static_metacall(this, _c, _id, _a); | - |
| 362 | _id -= 2; | - |
| 363 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 364 | if (_id < 2) | - |
| 365 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 366 | _id -= 2; | - |
| 367 | } | - |
| 368 | return _id; | - |
| 369 | } | - |
| 370 | QT_WARNING_POP | - |
| 371 | QT_END_MOC_NAMESPACE | - |
| | |