Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgwindowsrenderloop_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | - | |
7 | class QSGRenderContext; | - |
8 | class QSGDefaultRenderContext; | - |
9 | - | |
10 | class QSGWindowsRenderLoop : public QSGRenderLoop | - |
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 | public: | - |
22 | explicit QSGWindowsRenderLoop(); | - |
23 | ~QSGWindowsRenderLoop(); | - |
24 | - | |
25 | void show(QQuickWindow *window) override; | - |
26 | void hide(QQuickWindow *window) override; | - |
27 | - | |
28 | void windowDestroyed(QQuickWindow *window) override; | - |
29 | - | |
30 | void exposureChanged(QQuickWindow *window) override; | - |
31 | QImage grab(QQuickWindow *window) override; | - |
32 | - | |
33 | void update(QQuickWindow *window) override; | - |
34 | void maybeUpdate(QQuickWindow *window) override; | - |
35 | - | |
36 | QAnimationDriver *animationDriver() const override { return never executed: m_animationDriver;return m_animationDriver; never executed: }return m_animationDriver; | 0 |
37 | - | |
38 | QSGContext *sceneGraphContext() const override { return never executed: m_sg;return m_sg; never executed: }return m_sg; | 0 |
39 | QSGRenderContext *createRenderContext(QSGContext *) const override; | - |
40 | - | |
41 | void releaseResources(QQuickWindow *) override; | - |
42 | - | |
43 | void render(); | - |
44 | void renderWindow(QQuickWindow *window); | - |
45 | - | |
46 | bool event(QEvent *event) override; | - |
47 | bool anyoneShowing() const; | - |
48 | - | |
49 | bool interleaveIncubation() const override; | - |
50 | - | |
51 | public : | - |
52 | void started(); | - |
53 | void stopped(); | - |
54 | - | |
55 | private: | - |
56 | struct WindowData { | - |
57 | QQuickWindow *window; | - |
58 | bool pendingUpdate; | - |
59 | }; | - |
60 | - | |
61 | void handleObscurity(); | - |
62 | void maybePostUpdateTimer(); | - |
63 | WindowData *windowData(QQuickWindow *window); | - |
64 | - | |
65 | QList<WindowData> m_windows; | - |
66 | - | |
67 | QOpenGLContext *m_gl; | - |
68 | QSGContext *m_sg; | - |
69 | QSGDefaultRenderContext *m_rc; | - |
70 | - | |
71 | QAnimationDriver *m_animationDriver; | - |
72 | - | |
73 | int m_updateTimer; | - |
74 | int m_animationTimer; | - |
75 | - | |
76 | int m_vsyncDelta; | - |
77 | }; | - |
78 | - | |
79 | - | |
Switch to Source code | Preprocessed file |