| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgrenderloop_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQuickWindow; | - |
| 5 | class QSGContext; | - |
| 6 | class QSGRenderContext; | - |
| 7 | class QAnimationDriver; | - |
| 8 | class QRunnable; | - |
| 9 | - | |
| 10 | class __attribute__((visibility("default"))) QSGRenderLoop : public QObject | - |
| 11 | { | - |
| 12 | public: | - |
| 13 | #pragma GCC diagnostic push | - |
| 14 | - | |
| 15 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 16 | 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: | - |
| 17 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 18 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 19 | #pragma GCC diagnostic pop | - |
| 20 | struct QPrivateSignal {}; | - |
| 21 | - | |
| 22 | public: | - |
| 23 | enum RenderLoopFlags { | - |
| 24 | SupportsGrabWithoutExpose = 0x01 | - |
| 25 | }; | - |
| 26 | - | |
| 27 | virtual ~QSGRenderLoop(); | - |
| 28 | - | |
| 29 | virtual void show(QQuickWindow *window) = 0; | - |
| 30 | virtual void hide(QQuickWindow *window) = 0; | - |
| 31 | virtual void resize(QQuickWindow *) {}; | - |
| 32 | - | |
| 33 | virtual void windowDestroyed(QQuickWindow *window) = 0; | - |
| 34 | - | |
| 35 | virtual void exposureChanged(QQuickWindow *window) = 0; | - |
| 36 | virtual QImage grab(QQuickWindow *window) = 0; | - |
| 37 | - | |
| 38 | virtual void update(QQuickWindow *window) = 0; | - |
| 39 | virtual void maybeUpdate(QQuickWindow *window) = 0; | - |
| 40 | virtual void handleUpdateRequest(QQuickWindow *) { } | - |
| 41 | - | |
| 42 | virtual QAnimationDriver *animationDriver() const = 0; | - |
| 43 | - | |
| 44 | virtual QSGContext *sceneGraphContext() const = 0; | - |
| 45 | virtual QSGRenderContext *createRenderContext(QSGContext *) const = 0; | - |
| 46 | - | |
| 47 | virtual void releaseResources(QQuickWindow *window) = 0; | - |
| 48 | virtual void postJob(QQuickWindow *window, QRunnable *job); | - |
| 49 | - | |
| 50 | void addWindow(QQuickWindow *win) { m_windows.insert(win); } executed 5248 times by 89 tests: end of blockExecuted by:
| 5248 |
| 51 | void removeWindow(QQuickWindow *win) { m_windows.remove(win); } executed 5212 times by 88 tests: end of blockExecuted by:
| 5212 |
| 52 | QSet<QQuickWindow *> windows() const { return executed 198 times by 90 tests: m_windows;return m_windows;Executed by:
executed 198 times by 90 tests: }return m_windows;Executed by:
| 198 |
| 53 | - | |
| 54 | virtual QSurface::SurfaceType windowSurfaceType() const; | - |
| 55 | - | |
| 56 | - | |
| 57 | static QSGRenderLoop *instance(); | - |
| 58 | static void setInstance(QSGRenderLoop *instance); | - |
| 59 | - | |
| 60 | virtual bool interleaveIncubation() const { return executed 3738 times by 7 tests: false;return false;Executed by:
executed 3738 times by 7 tests: }return false;Executed by:
| 3738 |
| 61 | - | |
| 62 | virtual int flags() const { return executed 6 times by 2 tests: 0;return 0;Executed by:
executed 6 times by 2 tests: }return 0;Executed by:
| 6 |
| 63 | - | |
| 64 | static void cleanup(); | - |
| 65 | - | |
| 66 | public : | - |
| 67 | void timeToIncubate(); | - |
| 68 | - | |
| 69 | protected: | - |
| 70 | void handleContextCreationFailure(QQuickWindow *window, bool isEs); | - |
| 71 | - | |
| 72 | private: | - |
| 73 | static QSGRenderLoop *s_instance; | - |
| 74 | - | |
| 75 | QSet<QQuickWindow *> m_windows; | - |
| 76 | }; | - |
| 77 | - | |
| 78 | - | |
| Switch to Source code | Preprocessed file |