| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderloop_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QBackingStore; | - |
| 5 | - | |
| 6 | class QSGSoftwareRenderLoop : public QSGRenderLoop | - |
| 7 | { | - |
| 8 | public: | - |
| 9 | #pragma GCC diagnostic push | - |
| 10 | - | |
| 11 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 12 | 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: | - |
| 13 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 14 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 15 | #pragma GCC diagnostic pop | - |
| 16 | struct QPrivateSignal {}; | - |
| 17 | public: | - |
| 18 | QSGSoftwareRenderLoop(); | - |
| 19 | ~QSGSoftwareRenderLoop(); | - |
| 20 | - | |
| 21 | void show(QQuickWindow *window) override; | - |
| 22 | void hide(QQuickWindow *window) override; | - |
| 23 | - | |
| 24 | void windowDestroyed(QQuickWindow *window) override; | - |
| 25 | - | |
| 26 | void renderWindow(QQuickWindow *window, bool isNewExpose = false); | - |
| 27 | void exposureChanged(QQuickWindow *window) override; | - |
| 28 | QImage grab(QQuickWindow *window) override; | - |
| 29 | - | |
| 30 | void maybeUpdate(QQuickWindow *window) override; | - |
| 31 | void update(QQuickWindow *window) override { maybeUpdate(window); } never executed: end of block | 0 |
| 32 | void handleUpdateRequest(QQuickWindow *) override; | - |
| 33 | - | |
| 34 | void releaseResources(QQuickWindow *) override { } | - |
| 35 | - | |
| 36 | QSurface::SurfaceType windowSurfaceType() const override; | - |
| 37 | - | |
| 38 | QAnimationDriver *animationDriver() const override { return executed 12 times by 1 test: 0;return 0;Executed by:
executed 12 times by 1 test: }return 0;Executed by:
| 12 |
| 39 | - | |
| 40 | QSGContext *sceneGraphContext() const override; | - |
| 41 | QSGRenderContext *createRenderContext(QSGContext *) const override { return executed 12 times by 1 test: rc;return rc;Executed by:
executed 12 times by 1 test: }return rc;Executed by:
| 12 |
| 42 | - | |
| 43 | struct WindowData { | - |
| 44 | bool updatePending : 1; | - |
| 45 | bool grabOnly : 1; | - |
| 46 | }; | - |
| 47 | - | |
| 48 | QHash<QQuickWindow *, WindowData> m_windows; | - |
| 49 | QHash<QQuickWindow *, QBackingStore *> m_backingStores; | - |
| 50 | - | |
| 51 | QSGContext *sg; | - |
| 52 | QSGRenderContext *rc; | - |
| 53 | - | |
| 54 | QImage grabContent; | - |
| 55 | }; | - |
| 56 | - | |
| 57 | - | |
| Switch to Source code | Preprocessed file |