1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qplatformgraphicsbuffer.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "kernel/qplatformgraphicsbuffer.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qplatformgraphicsbuffer.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QPlatformGraphicsBuffer_t { |
25 | const uint offsetsAndSize[28]; |
26 | char stringdata0[174]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QPlatformGraphicsBuffer_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QPlatformGraphicsBuffer_t qt_meta_stringdata_QPlatformGraphicsBuffer = { |
31 | { |
32 | QT_MOC_LITERAL(0, 23), // "QPlatformGraphicsBuffer" |
33 | QT_MOC_LITERAL(24, 8), // "unlocked" |
34 | QT_MOC_LITERAL(33, 0), // "" |
35 | QT_MOC_LITERAL(34, 11), // "AccessTypes" |
36 | QT_MOC_LITERAL(46, 19), // "previousAccessTypes" |
37 | QT_MOC_LITERAL(66, 10), // "AccessType" |
38 | QT_MOC_LITERAL(77, 4), // "None" |
39 | QT_MOC_LITERAL(82, 12), // "SWReadAccess" |
40 | QT_MOC_LITERAL(95, 13), // "SWWriteAccess" |
41 | QT_MOC_LITERAL(109, 13), // "TextureAccess" |
42 | QT_MOC_LITERAL(123, 12), // "HWCompositor" |
43 | QT_MOC_LITERAL(136, 6), // "Origin" |
44 | QT_MOC_LITERAL(143, 16), // "OriginBottomLeft" |
45 | QT_MOC_LITERAL(160, 13) // "OriginTopLeft" |
46 | |
47 | }, |
48 | "QPlatformGraphicsBuffer\0unlocked\0\0" |
49 | "AccessTypes\0previousAccessTypes\0" |
50 | "AccessType\0None\0SWReadAccess\0SWWriteAccess\0" |
51 | "TextureAccess\0HWCompositor\0Origin\0" |
52 | "OriginBottomLeft\0OriginTopLeft" |
53 | }; |
54 | #undef QT_MOC_LITERAL |
55 | |
56 | static const uint qt_meta_data_QPlatformGraphicsBuffer[] = { |
57 | |
58 | // content: |
59 | 9, // revision |
60 | 0, // classname |
61 | 0, 0, // classinfo |
62 | 1, 14, // methods |
63 | 0, 0, // properties |
64 | 2, 23, // enums/sets |
65 | 0, 0, // constructors |
66 | 0, // flags |
67 | 1, // signalCount |
68 | |
69 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
70 | 1, 1, 20, 2, 0x06, 0 /* Public */, |
71 | |
72 | // signals: parameters |
73 | QMetaType::Void, 0x80000000 | 3, 4, |
74 | |
75 | // enums: name, alias, flags, count, data |
76 | 5, 5, 0x0, 5, 33, |
77 | 11, 11, 0x0, 2, 43, |
78 | |
79 | // enum data: key, value |
80 | 6, uint(QPlatformGraphicsBuffer::None), |
81 | 7, uint(QPlatformGraphicsBuffer::SWReadAccess), |
82 | 8, uint(QPlatformGraphicsBuffer::SWWriteAccess), |
83 | 9, uint(QPlatformGraphicsBuffer::TextureAccess), |
84 | 10, uint(QPlatformGraphicsBuffer::HWCompositor), |
85 | 12, uint(QPlatformGraphicsBuffer::OriginBottomLeft), |
86 | 13, uint(QPlatformGraphicsBuffer::OriginTopLeft), |
87 | |
88 | 0 // eod |
89 | }; |
90 | |
91 | void QPlatformGraphicsBuffer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
92 | { |
93 | if (_c == QMetaObject::InvokeMetaMethod) { |
94 | Q_ASSERT(staticMetaObject.cast(_o)); |
95 | auto *_t = static_cast<QPlatformGraphicsBuffer *>(_o); |
96 | Q_UNUSED(_t) |
97 | switch (_id) { |
98 | case 0: _t->unlocked((*reinterpret_cast< AccessTypes(*)>(_a[1]))); break; |
99 | default: ; |
100 | } |
101 | } else if (_c == QMetaObject::IndexOfMethod) { |
102 | int *result = reinterpret_cast<int *>(_a[0]); |
103 | { |
104 | using _t = void (QPlatformGraphicsBuffer::*)(AccessTypes ); |
105 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlatformGraphicsBuffer::unlocked)) { |
106 | *result = 0; |
107 | return; |
108 | } |
109 | } |
110 | } |
111 | } |
112 | |
113 | const QMetaObject QPlatformGraphicsBuffer::staticMetaObject = { { |
114 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
115 | qt_meta_stringdata_QPlatformGraphicsBuffer.offsetsAndSize, |
116 | qt_meta_data_QPlatformGraphicsBuffer, |
117 | qt_static_metacall, |
118 | nullptr, |
119 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QPlatformGraphicsBuffer_t |
120 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<AccessTypes, std::false_type> |
121 | |
122 | |
123 | |
124 | >, |
125 | nullptr |
126 | } }; |
127 | |
128 | |
129 | const QMetaObject *QPlatformGraphicsBuffer::metaObject() const |
130 | { |
131 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
132 | } |
133 | |
134 | void *QPlatformGraphicsBuffer::qt_metacast(const char *_clname) |
135 | { |
136 | if (!_clname) return nullptr; |
137 | if (!strcmp(_clname, qt_meta_stringdata_QPlatformGraphicsBuffer.stringdata0)) |
138 | return static_cast<void*>(this); |
139 | return QObject::qt_metacast(_clname); |
140 | } |
141 | |
142 | int QPlatformGraphicsBuffer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
143 | { |
144 | _id = QObject::qt_metacall(_c, _id, _a); |
145 | if (_id < 0) |
146 | return _id; |
147 | if (_c == QMetaObject::InvokeMetaMethod) { |
148 | if (_id < 1) |
149 | qt_static_metacall(this, _c, _id, _a); |
150 | _id -= 1; |
151 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
152 | if (_id < 1) |
153 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
154 | _id -= 1; |
155 | } |
156 | return _id; |
157 | } |
158 | |
159 | // SIGNAL 0 |
160 | void QPlatformGraphicsBuffer::unlocked(AccessTypes _t1) |
161 | { |
162 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
163 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
164 | } |
165 | QT_WARNING_POP |
166 | QT_END_MOC_NAMESPACE |
167 | |