OpenCoverage

qsgengine.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/util/qsgengine.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QOpenGLContext;-
5class QSGAbstractRenderer;-
6class QSGEnginePrivate;-
7class QSGTexture;-
8class QSGRendererInterface;-
9class QSGRectangleNode;-
10class QSGImageNode;-
11class QSGNinePatchNode;-
12-
13class __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: return reinterpret_cast<QSGEnginePrivate *>(qGetPtrHelper(d_ptr));
reinterpret_cast<QSGEnginePrivate *>(qGetPtrHelper(d_ptr));
never executed: return reinterpret_cast<QSGEnginePrivate *>(qGetPtrHelper(d_ptr));
} inline const QSGEnginePrivate* d_func() const { return
never executed: return reinterpret_cast<const QSGEnginePrivate *>(qGetPtrHelper(d_ptr));
reinterpret_cast<const QSGEnginePrivate *>(qGetPtrHelper(d_ptr));
never executed: return reinterpret_cast<const QSGEnginePrivate *>(qGetPtrHelper(d_ptr));
} friend class QSGEnginePrivate;
0
25public:-
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 codePreprocessed file

Generated by Squish Coco 4.2.0