Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgengine.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | class QOpenGLContext; | - |
5 | class QSGAbstractRenderer; | - |
6 | class QSGEnginePrivate; | - |
7 | class QSGTexture; | - |
8 | class QSGRendererInterface; | - |
9 | class QSGRectangleNode; | - |
10 | class QSGImageNode; | - |
11 | class QSGNinePatchNode; | - |
12 | - | |
13 | class __attribute__((visibility("default"))) QSGEngine : public QObject | - |
14 | { | - |
15 | public: | - |
16 | #pragma GCC diagnostic push | - |
17 | - | |
18 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
19 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
20 | #pragma GCC diagnostic ignored "-Wattributes" | - |
21 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
22 | #pragma GCC diagnostic pop | - |
23 | struct QPrivateSignal {}; | - |
24 | inline QSGEnginePrivate* d_func() { return never executed: reinterpret_cast<QSGEnginePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QSGEnginePrivate *>(qGetPtrHelper(d_ptr)); never executed: } inline const QSGEnginePrivate* d_func() const { returnreturn reinterpret_cast<QSGEnginePrivate *>(qGetPtrHelper(d_ptr)); never executed: reinterpret_cast<const QSGEnginePrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QSGEnginePrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QSGEnginePrivate;return reinterpret_cast<const QSGEnginePrivate *>(qGetPtrHelper(d_ptr)); | 0 |
25 | public: | - |
26 | enum CreateTextureOption { | - |
27 | TextureHasAlphaChannel = 0x0001, | - |
28 | TextureOwnsGLTexture = 0x0004, | - |
29 | TextureCanUseAtlas = 0x0008, | - |
30 | TextureIsOpaque = 0x0010 | - |
31 | }; | - |
32 | typedef QFlags<CreateTextureOption> CreateTextureOptions; | - |
33 | - | |
34 | explicit QSGEngine(QObject *parent = nullptr); | - |
35 | ~QSGEngine() override; | - |
36 | - | |
37 | void initialize(QOpenGLContext *context); | - |
38 | void invalidate(); | - |
39 | - | |
40 | QSGAbstractRenderer *createRenderer() const; | - |
41 | QSGTexture *createTextureFromImage(const QImage &image, CreateTextureOptions options = CreateTextureOption()) const; | - |
42 | QSGTexture *createTextureFromId(uint id, const QSize &size, CreateTextureOptions options = CreateTextureOption()) const; | - |
43 | QSGRendererInterface *rendererInterface() const; | - |
44 | QSGRectangleNode *createRectangleNode() const; | - |
45 | QSGImageNode *createImageNode() const; | - |
46 | QSGNinePatchNode *createNinePatchNode() const; | - |
47 | }; | - |
48 | - | |
49 | - | |
Switch to Source code | Preprocessed file |