OpenCoverage

qsgsoftwarerenderloop_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/adaptations/software/qsgsoftwarerenderloop_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QBackingStore;-
5-
6class 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 {};-
17public:-
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: return 0;
Executed by:
  • tst_qquickshape
0;
executed 12 times by 1 test: return 0;
Executed by:
  • tst_qquickshape
}
12
39-
40 QSGContext *sceneGraphContext() const override;-
41 QSGRenderContext *createRenderContext(QSGContext *) const override { return
executed 12 times by 1 test: return rc;
Executed by:
  • tst_qquickshape
rc;
executed 12 times by 1 test: return rc;
Executed by:
  • tst_qquickshape
}
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 codePreprocessed file

Generated by Squish Coco 4.2.0