Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgraphicsinfo_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_QQuickGraphicsInfo_t { | - |
9 | QByteArrayData data[46]; | - |
10 | char stringdata0[707]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQuickGraphicsInfo_t qt_meta_stringdata_QQuickGraphicsInfo = { | - |
18 | { | - |
19 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 19 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 30 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 31 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 28, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 49 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 23, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 78 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 102 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 122 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 142 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 21, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 157 - 9 * sizeof(QByteArrayData)) }, | - |
89 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
90 | __builtin_offsetof ( | - |
91 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
92 | , | - |
93 | stringdata0 | - |
94 | ) | - |
95 | + 179 - 10 * sizeof(QByteArrayData)) }, | - |
96 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
97 | __builtin_offsetof ( | - |
98 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
99 | , | - |
100 | stringdata0 | - |
101 | ) | - |
102 | + 190 - 11 * sizeof(QByteArrayData)) }, | - |
103 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
104 | __builtin_offsetof ( | - |
105 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
106 | , | - |
107 | stringdata0 | - |
108 | ) | - |
109 | + 200 - 12 * sizeof(QByteArrayData)) }, | - |
110 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
111 | __builtin_offsetof ( | - |
112 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
113 | , | - |
114 | stringdata0 | - |
115 | ) | - |
116 | + 214 - 13 * sizeof(QByteArrayData)) }, | - |
117 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
118 | __builtin_offsetof ( | - |
119 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
120 | , | - |
121 | stringdata0 | - |
122 | ) | - |
123 | + 221 - 14 * sizeof(QByteArrayData)) }, | - |
124 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
125 | __builtin_offsetof ( | - |
126 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
127 | , | - |
128 | stringdata0 | - |
129 | ) | - |
130 | + 225 - 15 * sizeof(QByteArrayData)) }, | - |
131 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
132 | __builtin_offsetof ( | - |
133 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
134 | , | - |
135 | stringdata0 | - |
136 | ) | - |
137 | + 237 - 16 * sizeof(QByteArrayData)) }, | - |
138 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
139 | __builtin_offsetof ( | - |
140 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
141 | , | - |
142 | stringdata0 | - |
143 | ) | - |
144 | + 248 - 17 * sizeof(QByteArrayData)) }, | - |
145 | { { { -1 } }, 21, 0, 0, qptrdiff( | - |
146 | __builtin_offsetof ( | - |
147 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
148 | , | - |
149 | stringdata0 | - |
150 | ) | - |
151 | + 259 - 18 * sizeof(QByteArrayData)) }, | - |
152 | { { { -1 } }, 21, 0, 0, qptrdiff( | - |
153 | __builtin_offsetof ( | - |
154 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
155 | , | - |
156 | stringdata0 | - |
157 | ) | - |
158 | + 281 - 19 * sizeof(QByteArrayData)) }, | - |
159 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
160 | __builtin_offsetof ( | - |
161 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
162 | , | - |
163 | stringdata0 | - |
164 | ) | - |
165 | + 303 - 20 * sizeof(QByteArrayData)) }, | - |
166 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
167 | __builtin_offsetof ( | - |
168 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
169 | , | - |
170 | stringdata0 | - |
171 | ) | - |
172 | + 320 - 21 * sizeof(QByteArrayData)) }, | - |
173 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
174 | __builtin_offsetof ( | - |
175 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
176 | , | - |
177 | stringdata0 | - |
178 | ) | - |
179 | + 337 - 22 * sizeof(QByteArrayData)) }, | - |
180 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
181 | __builtin_offsetof ( | - |
182 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
183 | , | - |
184 | stringdata0 | - |
185 | ) | - |
186 | + 350 - 23 * sizeof(QByteArrayData)) }, | - |
187 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
188 | __builtin_offsetof ( | - |
189 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
190 | , | - |
191 | stringdata0 | - |
192 | ) | - |
193 | + 363 - 24 * sizeof(QByteArrayData)) }, | - |
194 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
195 | __builtin_offsetof ( | - |
196 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
197 | , | - |
198 | stringdata0 | - |
199 | ) | - |
200 | + 371 - 25 * sizeof(QByteArrayData)) }, | - |
201 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
202 | __builtin_offsetof ( | - |
203 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
204 | , | - |
205 | stringdata0 | - |
206 | ) | - |
207 | + 392 - 26 * sizeof(QByteArrayData)) }, | - |
208 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
209 | __builtin_offsetof ( | - |
210 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
211 | , | - |
212 | stringdata0 | - |
213 | ) | - |
214 | + 407 - 27 * sizeof(QByteArrayData)) }, | - |
215 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
216 | __builtin_offsetof ( | - |
217 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
218 | , | - |
219 | stringdata0 | - |
220 | ) | - |
221 | + 422 - 28 * sizeof(QByteArrayData)) }, | - |
222 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
223 | __builtin_offsetof ( | - |
224 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
225 | , | - |
226 | stringdata0 | - |
227 | ) | - |
228 | + 430 - 29 * sizeof(QByteArrayData)) }, | - |
229 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
230 | __builtin_offsetof ( | - |
231 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
232 | , | - |
233 | stringdata0 | - |
234 | ) | - |
235 | + 439 - 30 * sizeof(QByteArrayData)) }, | - |
236 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
237 | __builtin_offsetof ( | - |
238 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
239 | , | - |
240 | stringdata0 | - |
241 | ) | - |
242 | + 446 - 31 * sizeof(QByteArrayData)) }, | - |
243 | { { { -1 } }, 22, 0, 0, qptrdiff( | - |
244 | __builtin_offsetof ( | - |
245 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
246 | , | - |
247 | stringdata0 | - |
248 | ) | - |
249 | + 457 - 32 * sizeof(QByteArrayData)) }, | - |
250 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
251 | __builtin_offsetof ( | - |
252 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
253 | , | - |
254 | stringdata0 | - |
255 | ) | - |
256 | + 480 - 33 * sizeof(QByteArrayData)) }, | - |
257 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
258 | __builtin_offsetof ( | - |
259 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
260 | , | - |
261 | stringdata0 | - |
262 | ) | - |
263 | + 485 - 34 * sizeof(QByteArrayData)) }, | - |
264 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
265 | __builtin_offsetof ( | - |
266 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
267 | , | - |
268 | stringdata0 | - |
269 | ) | - |
270 | + 490 - 35 * sizeof(QByteArrayData)) }, | - |
271 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
272 | __builtin_offsetof ( | - |
273 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
274 | , | - |
275 | stringdata0 | - |
276 | ) | - |
277 | + 509 - 36 * sizeof(QByteArrayData)) }, | - |
278 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
279 | __builtin_offsetof ( | - |
280 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
281 | , | - |
282 | stringdata0 | - |
283 | ) | - |
284 | + 528 - 37 * sizeof(QByteArrayData)) }, | - |
285 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
286 | __builtin_offsetof ( | - |
287 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
288 | , | - |
289 | stringdata0 | - |
290 | ) | - |
291 | + 547 - 38 * sizeof(QByteArrayData)) }, | - |
292 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
293 | __builtin_offsetof ( | - |
294 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
295 | , | - |
296 | stringdata0 | - |
297 | ) | - |
298 | + 564 - 39 * sizeof(QByteArrayData)) }, | - |
299 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
300 | __builtin_offsetof ( | - |
301 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
302 | , | - |
303 | stringdata0 | - |
304 | ) | - |
305 | + 579 - 40 * sizeof(QByteArrayData)) }, | - |
306 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
307 | __builtin_offsetof ( | - |
308 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
309 | , | - |
310 | stringdata0 | - |
311 | ) | - |
312 | + 595 - 41 * sizeof(QByteArrayData)) }, | - |
313 | { { { -1 } }, 26, 0, 0, qptrdiff( | - |
314 | __builtin_offsetof ( | - |
315 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
316 | , | - |
317 | stringdata0 | - |
318 | ) | - |
319 | + 613 - 42 * sizeof(QByteArrayData)) }, | - |
320 | { { { -1 } }, 24, 0, 0, qptrdiff( | - |
321 | __builtin_offsetof ( | - |
322 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
323 | , | - |
324 | stringdata0 | - |
325 | ) | - |
326 | + 640 - 43 * sizeof(QByteArrayData)) }, | - |
327 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
328 | __builtin_offsetof ( | - |
329 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
330 | , | - |
331 | stringdata0 | - |
332 | ) | - |
333 | + 665 - 44 * sizeof(QByteArrayData)) }, | - |
334 | { { { -1 } }, 21, 0, 0, qptrdiff( | - |
335 | __builtin_offsetof ( | - |
336 | qt_meta_stringdata_QQuickGraphicsInfo_t | - |
337 | , | - |
338 | stringdata0 | - |
339 | ) | - |
340 | + 685 - 45 * sizeof(QByteArrayData)) } | - |
341 | - | |
342 | }, | - |
343 | "QQuickGraphicsInfo\0apiChanged\0\0" | - |
344 | "shaderTypeChanged\0shaderCompilationTypeChanged\0" | - |
345 | "shaderSourceTypeChanged\0majorVersionChanged\0" | - |
346 | "minorVersionChanged\0profileChanged\0" | - |
347 | "renderableTypeChanged\0updateInfo\0" | - |
348 | "setWindow\0QQuickWindow*\0window\0api\0" | - |
349 | "GraphicsApi\0shaderType\0ShaderType\0" | - |
350 | "shaderCompilationType\0ShaderCompilationType\0" | - |
351 | "shaderSourceType\0ShaderSourceType\0" | - |
352 | "majorVersion\0minorVersion\0profile\0" | - |
353 | "OpenGLContextProfile\0renderableType\0" | - |
354 | "RenderableType\0Unknown\0Software\0OpenGL\0" | - |
355 | "Direct3D12\0UnknownShadingLanguage\0" | - |
356 | "GLSL\0HLSL\0RuntimeCompilation\0" | - |
357 | "OfflineCompilation\0ShaderSourceString\0" | - |
358 | "ShaderSourceFile\0ShaderByteCode\0" | - |
359 | "OpenGLNoProfile\0OpenGLCoreProfile\0" | - |
360 | "OpenGLCompatibilityProfile\0" | - |
361 | "SurfaceFormatUnspecified\0SurfaceFormatOpenGL\0" | - |
362 | "SurfaceFormatOpenGLES" | - |
363 | }; | - |
364 | - | |
365 | - | |
366 | static const uint qt_meta_data_QQuickGraphicsInfo[] = { | - |
367 | - | |
368 | - | |
369 | 7, | - |
370 | 0, | - |
371 | 0, 0, | - |
372 | 10, 14, | - |
373 | 8, 76, | - |
374 | 6, 108, | - |
375 | 0, 0, | - |
376 | 0, | - |
377 | 8, | - |
378 | - | |
379 | - | |
380 | 1, 0, 64, 2, 0x06 , | - |
381 | 3, 0, 65, 2, 0x06 , | - |
382 | 4, 0, 66, 2, 0x06 , | - |
383 | 5, 0, 67, 2, 0x06 , | - |
384 | 6, 0, 68, 2, 0x06 , | - |
385 | 7, 0, 69, 2, 0x06 , | - |
386 | 8, 0, 70, 2, 0x06 , | - |
387 | 9, 0, 71, 2, 0x06 , | - |
388 | - | |
389 | - | |
390 | 10, 0, 72, 2, 0x08 , | - |
391 | 11, 1, 73, 2, 0x08 , | - |
392 | - | |
393 | - | |
394 | QMetaType::Void, | - |
395 | QMetaType::Void, | - |
396 | QMetaType::Void, | - |
397 | QMetaType::Void, | - |
398 | QMetaType::Void, | - |
399 | QMetaType::Void, | - |
400 | QMetaType::Void, | - |
401 | QMetaType::Void, | - |
402 | - | |
403 | - | |
404 | QMetaType::Void, | - |
405 | QMetaType::Void, 0x80000000 | 12, 13, | - |
406 | - | |
407 | - | |
408 | 14, 0x80000000 | 15, 0x00495809, | - |
409 | 16, 0x80000000 | 17, 0x00495809, | - |
410 | 18, 0x80000000 | 19, 0x00495809, | - |
411 | 20, 0x80000000 | 21, 0x00495809, | - |
412 | 22, QMetaType::Int, 0x00495801, | - |
413 | 23, QMetaType::Int, 0x00495801, | - |
414 | 24, 0x80000000 | 25, 0x00495809, | - |
415 | 26, 0x80000000 | 27, 0x00495809, | - |
416 | - | |
417 | - | |
418 | 0, | - |
419 | 1, | - |
420 | 2, | - |
421 | 3, | - |
422 | 4, | - |
423 | 5, | - |
424 | 6, | - |
425 | 7, | - |
426 | - | |
427 | - | |
428 | 15, 0x0, 4, 132, | - |
429 | 17, 0x0, 3, 140, | - |
430 | 19, 0x0, 2, 146, | - |
431 | 21, 0x0, 3, 150, | - |
432 | 25, 0x0, 3, 156, | - |
433 | 27, 0x0, 3, 162, | - |
434 | - | |
435 | - | |
436 | 28, uint(QQuickGraphicsInfo::Unknown), | - |
437 | 29, uint(QQuickGraphicsInfo::Software), | - |
438 | 30, uint(QQuickGraphicsInfo::OpenGL), | - |
439 | 31, uint(QQuickGraphicsInfo::Direct3D12), | - |
440 | 32, uint(QQuickGraphicsInfo::UnknownShadingLanguage), | - |
441 | 33, uint(QQuickGraphicsInfo::GLSL), | - |
442 | 34, uint(QQuickGraphicsInfo::HLSL), | - |
443 | 35, uint(QQuickGraphicsInfo::RuntimeCompilation), | - |
444 | 36, uint(QQuickGraphicsInfo::OfflineCompilation), | - |
445 | 37, uint(QQuickGraphicsInfo::ShaderSourceString), | - |
446 | 38, uint(QQuickGraphicsInfo::ShaderSourceFile), | - |
447 | 39, uint(QQuickGraphicsInfo::ShaderByteCode), | - |
448 | 40, uint(QQuickGraphicsInfo::OpenGLNoProfile), | - |
449 | 41, uint(QQuickGraphicsInfo::OpenGLCoreProfile), | - |
450 | 42, uint(QQuickGraphicsInfo::OpenGLCompatibilityProfile), | - |
451 | 43, uint(QQuickGraphicsInfo::SurfaceFormatUnspecified), | - |
452 | 44, uint(QQuickGraphicsInfo::SurfaceFormatOpenGL), | - |
453 | 45, uint(QQuickGraphicsInfo::SurfaceFormatOpenGLES), | - |
454 | - | |
455 | 0 | - |
456 | }; | - |
457 | - | |
458 | void QQuickGraphicsInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
459 | { | - |
460 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
461 | QQuickGraphicsInfo *_t = static_cast<QQuickGraphicsInfo *>(_o); | - |
462 | (void)_t; | - |
463 | switch (_id) { | - |
464 | case 0: _t->apiChanged(); break; | - |
465 | case 1: _t->shaderTypeChanged(); break; | - |
466 | case 2: _t->shaderCompilationTypeChanged(); break; | - |
467 | case 3: _t->shaderSourceTypeChanged(); break; | - |
468 | case 4: _t->majorVersionChanged(); break; | - |
469 | case 5: _t->minorVersionChanged(); break; | - |
470 | case 6: _t->profileChanged(); break; | - |
471 | case 7: _t->renderableTypeChanged(); break; | - |
472 | case 8: _t->updateInfo(); break; | - |
473 | case 9: _t->setWindow((*reinterpret_cast< QQuickWindow*(*)>(_a[1]))); break; | - |
474 | default: ; | - |
475 | } | - |
476 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
477 | int *result = reinterpret_cast<int *>(_a[0]); | - |
478 | { | - |
479 | using _t = void (QQuickGraphicsInfo::*)(); | - |
480 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::apiChanged)) { | - |
481 | *result = 0; | - |
482 | return; | - |
483 | } | - |
484 | } | - |
485 | { | - |
486 | using _t = void (QQuickGraphicsInfo::*)(); | - |
487 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::shaderTypeChanged)) { | - |
488 | *result = 1; | - |
489 | return; | - |
490 | } | - |
491 | } | - |
492 | { | - |
493 | using _t = void (QQuickGraphicsInfo::*)(); | - |
494 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::shaderCompilationTypeChanged)) { | - |
495 | *result = 2; | - |
496 | return; | - |
497 | } | - |
498 | } | - |
499 | { | - |
500 | using _t = void (QQuickGraphicsInfo::*)(); | - |
501 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::shaderSourceTypeChanged)) { | - |
502 | *result = 3; | - |
503 | return; | - |
504 | } | - |
505 | } | - |
506 | { | - |
507 | using _t = void (QQuickGraphicsInfo::*)(); | - |
508 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::majorVersionChanged)) { | - |
509 | *result = 4; | - |
510 | return; | - |
511 | } | - |
512 | } | - |
513 | { | - |
514 | using _t = void (QQuickGraphicsInfo::*)(); | - |
515 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::minorVersionChanged)) { | - |
516 | *result = 5; | - |
517 | return; | - |
518 | } | - |
519 | } | - |
520 | { | - |
521 | using _t = void (QQuickGraphicsInfo::*)(); | - |
522 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::profileChanged)) { | - |
523 | *result = 6; | - |
524 | return; | - |
525 | } | - |
526 | } | - |
527 | { | - |
528 | using _t = void (QQuickGraphicsInfo::*)(); | - |
529 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGraphicsInfo::renderableTypeChanged)) { | - |
530 | *result = 7; | - |
531 | return; | - |
532 | } | - |
533 | } | - |
534 | } | - |
535 | - | |
536 | else if (_c == QMetaObject::ReadProperty) { | - |
537 | QQuickGraphicsInfo *_t = static_cast<QQuickGraphicsInfo *>(_o); | - |
538 | (void)_t; | - |
539 | void *_v = _a[0]; | - |
540 | switch (_id) { | - |
541 | case 0: *reinterpret_cast< GraphicsApi*>(_v) = _t->api(); break; | - |
542 | case 1: *reinterpret_cast< ShaderType*>(_v) = _t->shaderType(); break; | - |
543 | case 2: *reinterpret_cast< ShaderCompilationType*>(_v) = _t->shaderCompilationType(); break; | - |
544 | case 3: *reinterpret_cast< ShaderSourceType*>(_v) = _t->shaderSourceType(); break; | - |
545 | case 4: *reinterpret_cast< int*>(_v) = _t->majorVersion(); break; | - |
546 | case 5: *reinterpret_cast< int*>(_v) = _t->minorVersion(); break; | - |
547 | case 6: *reinterpret_cast< OpenGLContextProfile*>(_v) = _t->profile(); break; | - |
548 | case 7: *reinterpret_cast< RenderableType*>(_v) = _t->renderableType(); break; | - |
549 | default: break; | - |
550 | } | - |
551 | } else if (_c == QMetaObject::WriteProperty) { | - |
552 | } else if (_c == QMetaObject::ResetProperty) { | - |
553 | } | - |
554 | - | |
555 | } | - |
556 | - | |
557 | const QMetaObject QQuickGraphicsInfo::staticMetaObject = { | - |
558 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickGraphicsInfo.data, | - |
559 | qt_meta_data_QQuickGraphicsInfo, qt_static_metacall, nullptr, nullptr} | - |
560 | }; | - |
561 | - | |
562 | - | |
563 | const QMetaObject *QQuickGraphicsInfo::metaObject() const | - |
564 | { | - |
565 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
566 | } | - |
567 | - | |
568 | void *QQuickGraphicsInfo::qt_metacast(const char *_clname) | - |
569 | { | - |
570 | if (!_clname) return nullptr; | - |
571 | if (!strcmp(_clname, qt_meta_stringdata_QQuickGraphicsInfo.stringdata0)) | - |
572 | return static_cast<void*>(this); | - |
573 | return QObject::qt_metacast(_clname); | - |
574 | } | - |
575 | - | |
576 | int QQuickGraphicsInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
577 | { | - |
578 | _id = QObject::qt_metacall(_c, _id, _a); | - |
579 | if (_id < 0) | - |
580 | return _id; | - |
581 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
582 | if (_id < 10) | - |
583 | qt_static_metacall(this, _c, _id, _a); | - |
584 | _id -= 10; | - |
585 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
586 | if (_id < 10) | - |
587 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
588 | _id -= 10; | - |
589 | } | - |
590 | - | |
591 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
592 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
593 | qt_static_metacall(this, _c, _id, _a); | - |
594 | _id -= 8; | - |
595 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
596 | _id -= 8; | - |
597 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
598 | _id -= 8; | - |
599 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
600 | _id -= 8; | - |
601 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
602 | _id -= 8; | - |
603 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
604 | _id -= 8; | - |
605 | } | - |
606 | - | |
607 | return _id; | - |
608 | } | - |
609 | - | |
610 | - | |
611 | void QQuickGraphicsInfo::apiChanged() | - |
612 | { | - |
613 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
614 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
615 | - | |
616 | - | |
617 | void QQuickGraphicsInfo::shaderTypeChanged() | - |
618 | { | - |
619 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
620 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
621 | - | |
622 | - | |
623 | void QQuickGraphicsInfo::shaderCompilationTypeChanged() | - |
624 | { | - |
625 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
626 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
627 | - | |
628 | - | |
629 | void QQuickGraphicsInfo::shaderSourceTypeChanged() | - |
630 | { | - |
631 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
632 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
633 | - | |
634 | - | |
635 | void QQuickGraphicsInfo::majorVersionChanged() | - |
636 | { | - |
637 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
638 | } never executed: end of block | 0 |
639 | - | |
640 | - | |
641 | void QQuickGraphicsInfo::minorVersionChanged() | - |
642 | { | - |
643 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
644 | } never executed: end of block | 0 |
645 | - | |
646 | - | |
647 | void QQuickGraphicsInfo::profileChanged() | - |
648 | { | - |
649 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
650 | } never executed: end of block | 0 |
651 | - | |
652 | - | |
653 | void QQuickGraphicsInfo::renderableTypeChanged() | - |
654 | { | - |
655 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
656 | } never executed: end of block | 0 |
657 | - | |
658 | #pragma GCC diagnostic pop | - |
659 | - | |
660 | - | |
Switch to Source code | Preprocessed file |