| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickframebufferobject.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | class QOpenGLFramebufferObject; | - |
| 6 | class QQuickFramebufferObjectPrivate; | - |
| 7 | class QSGFramebufferObjectNode; | - |
| 8 | - | |
| 9 | class __attribute__((visibility("default"))) QQuickFramebufferObject : public QQuickItem | - |
| 10 | { | - |
| 11 | public: | - |
| 12 | #pragma GCC diagnostic push | - |
| 13 | - | |
| 14 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 15 | 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: | - |
| 16 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 17 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 18 | #pragma GCC diagnostic pop | - |
| 19 | struct QPrivateSignal {}; | - |
| 20 | inline QQuickFramebufferObjectPrivate* d_func() { return executed 64 times by 1 test: reinterpret_cast<QQuickFramebufferObjectPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickFramebufferObjectPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 64 times by 1 test: } inline const QQuickFramebufferObjectPrivate* d_func() const { returnreturn reinterpret_cast<QQuickFramebufferObjectPrivate *>(qGetPtrHelper(d_ptr));Executed by:
never executed: reinterpret_cast<const QQuickFramebufferObjectPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickFramebufferObjectPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickFramebufferObjectPrivate;return reinterpret_cast<const QQuickFramebufferObjectPrivate *>(qGetPtrHelper(d_ptr)); | 0-64 |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | public: | - |
| 26 | - | |
| 27 | class __attribute__((visibility("default"))) Renderer { | - |
| 28 | protected: | - |
| 29 | Renderer(); | - |
| 30 | virtual ~Renderer(); | - |
| 31 | virtual void render() = 0; | - |
| 32 | virtual QOpenGLFramebufferObject *createFramebufferObject(const QSize &size); | - |
| 33 | virtual void synchronize(QQuickFramebufferObject *); | - |
| 34 | QOpenGLFramebufferObject *framebufferObject() const; | - |
| 35 | void update(); | - |
| 36 | void invalidateFramebufferObject(); | - |
| 37 | private: | - |
| 38 | friend class QSGFramebufferObjectNode; | - |
| 39 | friend class QQuickFramebufferObject; | - |
| 40 | void *data; | - |
| 41 | }; | - |
| 42 | - | |
| 43 | QQuickFramebufferObject(QQuickItem *parent = nullptr); | - |
| 44 | - | |
| 45 | bool textureFollowsItemSize() const; | - |
| 46 | void setTextureFollowsItemSize(bool follows); | - |
| 47 | - | |
| 48 | bool mirrorVertically() const; | - |
| 49 | void setMirrorVertically(bool enable); | - |
| 50 | - | |
| 51 | virtual Renderer *createRenderer() const = 0; | - |
| 52 | - | |
| 53 | bool isTextureProvider() const override; | - |
| 54 | QSGTextureProvider *textureProvider() const override; | - |
| 55 | void releaseResources() override; | - |
| 56 | - | |
| 57 | protected: | - |
| 58 | void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) override; | - |
| 59 | - | |
| 60 | protected: | - |
| 61 | QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *) override; | - |
| 62 | - | |
| 63 | public : | - |
| 64 | void textureFollowsItemSizeChanged(bool); | - |
| 65 | void mirrorVerticallyChanged(bool); | - |
| 66 | - | |
| 67 | private : | - |
| 68 | void invalidateSceneGraph(); | - |
| 69 | }; | - |
| 70 | - | |
| 71 | - | |
| Switch to Source code | Preprocessed file |