OpenCoverage

moc_qquickcontext2dtexture_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickcontext2dtexture_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickContext2DTexture_t {-
9 QByteArrayData data[19];-
10 char stringdata0[221];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickContext2DTexture_t qt_meta_stringdata_QQuickContext2DTexture = {-
18 {-
19{ { { -1 } }, 22, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickContext2DTexture_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 14, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickContext2DTexture_t-
29, -
30stringdata0-
31) -
32+ 23 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickContext2DTexture_t-
36, -
37stringdata0-
38) -
39+ 38 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 13, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickContext2DTexture_t-
43, -
44stringdata0-
45) -
46+ 39 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 10, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickContext2DTexture_t-
50, -
51stringdata0-
52) -
53+ 53 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 8, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickContext2DTexture_t-
57, -
58stringdata0-
59) -
60+ 64 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 12, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickContext2DTexture_t-
64, -
65stringdata0-
66) -
67+ 73 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 9, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickContext2DTexture_t-
71, -
72stringdata0-
73) -
74+ 86 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 6, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickContext2DTexture_t-
78, -
79stringdata0-
80) -
81+ 96 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 12, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickContext2DTexture_t-
85, -
86stringdata0-
87) -
88+ 103 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 5, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickContext2DTexture_t-
92, -
93stringdata0-
94) -
95+ 116 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 29, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickContext2DTexture_t-
99, -
100stringdata0-
101) -
102+ 122 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 3, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickContext2DTexture_t-
106, -
107stringdata0-
108) -
109+ 152 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 16, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickContext2DTexture_t-
113, -
114stringdata0-
115) -
116+ 156 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 7, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickContext2DTexture_t-
120, -
121stringdata0-
122) -
123+ 173 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 17, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickContext2DTexture_t-
127, -
128stringdata0-
129) -
130+ 181 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 4, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickContext2DTexture_t-
134, -
135stringdata0-
136) -
137+ 199 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 9, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickContext2DTexture_t-
141, -
142stringdata0-
143) -
144+ 204 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 6, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickContext2DTexture_t-
148, -
149stringdata0-
150) -
151+ 214 - 18 * sizeof(QByteArrayData)) }-
152-
153 },-
154 "QQuickContext2DTexture\0textureChanged\0"-
155 "\0canvasChanged\0canvasSize\0tileSize\0"-
156 "canvasWindow\0dirtyRect\0smooth\0"-
157 "antialiasing\0paint\0QQuickContext2DCommandBuffer*\0"-
158 "ccb\0markDirtyTexture\0setItem\0"-
159 "QQuickCanvasItem*\0item\0grabImage\0"-
160 "region"-
161};-
162-
163-
164static const uint qt_meta_data_QQuickContext2DTexture[] = {-
165-
166-
167 7,-
168 0,-
169 0, 0,-
170 7, 14,-
171 0, 0,-
172 0, 0,-
173 0, 0,-
174 0,-
175 1,-
176-
177-
178 1, 0, 49, 2, 0x06 ,-
179-
180-
181 3, 6, 50, 2, 0x0a ,-
182 10, 1, 63, 2, 0x0a ,-
183 13, 0, 66, 2, 0x0a ,-
184 14, 1, 67, 2, 0x0a ,-
185 17, 1, 70, 2, 0x0a ,-
186 17, 0, 73, 2, 0x2a ,-
187-
188-
189 QMetaType::Void,-
190-
191-
192 QMetaType::Void, QMetaType::QSize, QMetaType::QSize, QMetaType::QRect, QMetaType::QRect, QMetaType::Bool, QMetaType::Bool, 4, 5, 6, 7, 8, 9,-
193 QMetaType::Void, 0x80000000 | 11, 12,-
194 QMetaType::Void,-
195 QMetaType::Void, 0x80000000 | 15, 16,-
196 QMetaType::Void, QMetaType::QRectF, 18,-
197 QMetaType::Void,-
198-
199 0-
200};-
201-
202void QQuickContext2DTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
203{-
204 if (_c == QMetaObject::InvokeMetaMethod) {-
205 QQuickContext2DTexture *_t = static_cast<QQuickContext2DTexture *>(_o);-
206 (void)_t;-
207 switch (_id) {-
208 case 0: _t->textureChanged(); break;-
209 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;-
210 case 2: _t->paint((*reinterpret_cast< QQuickContext2DCommandBuffer*(*)>(_a[1]))); break;-
211 case 3: _t->markDirtyTexture(); break;-
212 case 4: _t->setItem((*reinterpret_cast< QQuickCanvasItem*(*)>(_a[1]))); break;-
213 case 5: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;-
214 case 6: _t->grabImage(); break;-
215 default: ;-
216 }-
217 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
218 switch (_id) {-
219 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
220 case 4:-
221 switch (*reinterpret_cast<int*>(_a[1])) {-
222 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
223 case 0:-
224 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickCanvasItem* >(); break;-
225 }-
226 break;-
227 }-
228 } else if (_c == QMetaObject::IndexOfMethod) {-
229 int *result = reinterpret_cast<int *>(_a[0]);-
230 {-
231 using _t = void (QQuickContext2DTexture::*)();-
232 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContext2DTexture::textureChanged)) {-
233 *result = 0;-
234 return;-
235 }-
236 }-
237 }-
238}-
239-
240 const QMetaObject QQuickContext2DTexture::staticMetaObject = {-
241 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickContext2DTexture.data,-
242 qt_meta_data_QQuickContext2DTexture, qt_static_metacall, nullptr, nullptr}-
243};-
244-
245-
246const QMetaObject *QQuickContext2DTexture::metaObject() const-
247{-
248 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
249}-
250-
251void *QQuickContext2DTexture::qt_metacast(const char *_clname)-
252{-
253 if (!_clname) return nullptr;-
254 if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DTexture.stringdata0))-
255 return static_cast<void*>(this);-
256 return QObject::qt_metacast(_clname);-
257}-
258-
259int QQuickContext2DTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
260{-
261 _id = QObject::qt_metacall(_c, _id, _a);-
262 if (_id < 0)-
263 return _id;-
264 if (_c == QMetaObject::InvokeMetaMethod) {-
265 if (_id < 7)-
266 qt_static_metacall(this, _c, _id, _a);-
267 _id -= 7;-
268 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
269 if (_id < 7)-
270 qt_static_metacall(this, _c, _id, _a);-
271 _id -= 7;-
272 }-
273 return _id;-
274}-
275-
276-
277void QQuickContext2DTexture::textureChanged()-
278{-
279 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
280}
never executed: end of block
0
281struct qt_meta_stringdata_QQuickContext2DFBOTexture_t {-
282 QByteArrayData data[4];-
283 char stringdata0[44];-
284};-
285-
286-
287-
288-
289-
290static const qt_meta_stringdata_QQuickContext2DFBOTexture_t qt_meta_stringdata_QQuickContext2DFBOTexture = {-
291 {-
292{ { { -1 } }, 25, 0, 0, qptrdiff(-
293__builtin_offsetof (-
294qt_meta_stringdata_QQuickContext2DFBOTexture_t-
295, -
296stringdata0-
297) -
298+ 0 - 0 * sizeof(QByteArrayData)) },-
299{ { { -1 } }, 9, 0, 0, qptrdiff(-
300__builtin_offsetof (-
301qt_meta_stringdata_QQuickContext2DFBOTexture_t-
302, -
303stringdata0-
304) -
305+ 26 - 1 * sizeof(QByteArrayData)) },-
306{ { { -1 } }, 0, 0, 0, qptrdiff(-
307__builtin_offsetof (-
308qt_meta_stringdata_QQuickContext2DFBOTexture_t-
309, -
310stringdata0-
311) -
312+ 36 - 2 * sizeof(QByteArrayData)) },-
313{ { { -1 } }, 6, 0, 0, qptrdiff(-
314__builtin_offsetof (-
315qt_meta_stringdata_QQuickContext2DFBOTexture_t-
316, -
317stringdata0-
318) -
319+ 37 - 3 * sizeof(QByteArrayData)) }-
320-
321 },-
322 "QQuickContext2DFBOTexture\0grabImage\0"-
323 "\0region"-
324};-
325-
326-
327static const uint qt_meta_data_QQuickContext2DFBOTexture[] = {-
328-
329-
330 7,-
331 0,-
332 0, 0,-
333 2, 14,-
334 0, 0,-
335 0, 0,-
336 0, 0,-
337 0,-
338 0,-
339-
340-
341 1, 1, 24, 2, 0x0a ,-
342 1, 0, 27, 2, 0x2a ,-
343-
344-
345 QMetaType::Void, QMetaType::QRectF, 3,-
346 QMetaType::Void,-
347-
348 0-
349};-
350-
351void QQuickContext2DFBOTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
352{-
353 if (_c == QMetaObject::InvokeMetaMethod) {-
354 QQuickContext2DFBOTexture *_t = static_cast<QQuickContext2DFBOTexture *>(_o);-
355 (void)_t;-
356 switch (_id) {-
357 case 0: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;-
358 case 1: _t->grabImage(); break;-
359 default: ;-
360 }-
361 }-
362}-
363-
364 const QMetaObject QQuickContext2DFBOTexture::staticMetaObject = {-
365 { &QQuickContext2DTexture::staticMetaObject, qt_meta_stringdata_QQuickContext2DFBOTexture.data,-
366 qt_meta_data_QQuickContext2DFBOTexture, qt_static_metacall, nullptr, nullptr}-
367};-
368-
369-
370const QMetaObject *QQuickContext2DFBOTexture::metaObject() const-
371{-
372 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
373}-
374-
375void *QQuickContext2DFBOTexture::qt_metacast(const char *_clname)-
376{-
377 if (!_clname) return nullptr;-
378 if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DFBOTexture.stringdata0))-
379 return static_cast<void*>(this);-
380 return QQuickContext2DTexture::qt_metacast(_clname);-
381}-
382-
383int QQuickContext2DFBOTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
384{-
385 _id = QQuickContext2DTexture::qt_metacall(_c, _id, _a);-
386 if (_id < 0)-
387 return _id;-
388 if (_c == QMetaObject::InvokeMetaMethod) {-
389 if (_id < 2)-
390 qt_static_metacall(this, _c, _id, _a);-
391 _id -= 2;-
392 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
393 if (_id < 2)-
394 *reinterpret_cast<int*>(_a[0]) = -1;-
395 _id -= 2;-
396 }-
397 return _id;-
398}-
399struct qt_meta_stringdata_QQuickContext2DImageTexture_t {-
400 QByteArrayData data[4];-
401 char stringdata0[46];-
402};-
403-
404-
405-
406-
407-
408static const qt_meta_stringdata_QQuickContext2DImageTexture_t qt_meta_stringdata_QQuickContext2DImageTexture = {-
409 {-
410{ { { -1 } }, 27, 0, 0, qptrdiff(-
411__builtin_offsetof (-
412qt_meta_stringdata_QQuickContext2DImageTexture_t-
413, -
414stringdata0-
415) -
416+ 0 - 0 * sizeof(QByteArrayData)) },-
417{ { { -1 } }, 9, 0, 0, qptrdiff(-
418__builtin_offsetof (-
419qt_meta_stringdata_QQuickContext2DImageTexture_t-
420, -
421stringdata0-
422) -
423+ 28 - 1 * sizeof(QByteArrayData)) },-
424{ { { -1 } }, 0, 0, 0, qptrdiff(-
425__builtin_offsetof (-
426qt_meta_stringdata_QQuickContext2DImageTexture_t-
427, -
428stringdata0-
429) -
430+ 38 - 2 * sizeof(QByteArrayData)) },-
431{ { { -1 } }, 6, 0, 0, qptrdiff(-
432__builtin_offsetof (-
433qt_meta_stringdata_QQuickContext2DImageTexture_t-
434, -
435stringdata0-
436) -
437+ 39 - 3 * sizeof(QByteArrayData)) }-
438-
439 },-
440 "QQuickContext2DImageTexture\0grabImage\0"-
441 "\0region"-
442};-
443-
444-
445static const uint qt_meta_data_QQuickContext2DImageTexture[] = {-
446-
447-
448 7,-
449 0,-
450 0, 0,-
451 2, 14,-
452 0, 0,-
453 0, 0,-
454 0, 0,-
455 0,-
456 0,-
457-
458-
459 1, 1, 24, 2, 0x0a ,-
460 1, 0, 27, 2, 0x2a ,-
461-
462-
463 QMetaType::Void, QMetaType::QRectF, 3,-
464 QMetaType::Void,-
465-
466 0-
467};-
468-
469void QQuickContext2DImageTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
470{-
471 if (_c == QMetaObject::InvokeMetaMethod) {-
472 QQuickContext2DImageTexture *_t = static_cast<QQuickContext2DImageTexture *>(_o);-
473 (void)_t;-
474 switch (_id) {-
475 case 0: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;-
476 case 1: _t->grabImage(); break;-
477 default: ;-
478 }-
479 }-
480}-
481-
482 const QMetaObject QQuickContext2DImageTexture::staticMetaObject = {-
483 { &QQuickContext2DTexture::staticMetaObject, qt_meta_stringdata_QQuickContext2DImageTexture.data,-
484 qt_meta_data_QQuickContext2DImageTexture, qt_static_metacall, nullptr, nullptr}-
485};-
486-
487-
488const QMetaObject *QQuickContext2DImageTexture::metaObject() const-
489{-
490 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
491}-
492-
493void *QQuickContext2DImageTexture::qt_metacast(const char *_clname)-
494{-
495 if (!_clname) return nullptr;-
496 if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DImageTexture.stringdata0))-
497 return static_cast<void*>(this);-
498 return QQuickContext2DTexture::qt_metacast(_clname);-
499}-
500-
501int QQuickContext2DImageTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
502{-
503 _id = QQuickContext2DTexture::qt_metacall(_c, _id, _a);-
504 if (_id < 0)-
505 return _id;-
506 if (_c == QMetaObject::InvokeMetaMethod) {-
507 if (_id < 2)-
508 qt_static_metacall(this, _c, _id, _a);-
509 _id -= 2;-
510 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
511 if (_id < 2)-
512 *reinterpret_cast<int*>(_a[0]) = -1;-
513 _id -= 2;-
514 }-
515 return _id;-
516}-
517-
518#pragma GCC diagnostic pop-
519-
520-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0