| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickrendercontrol.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQuickWindow; | - |
| 5 | class QOpenGLContext; | - |
| 6 | class QQuickRenderControlPrivate; | - |
| 7 | class QThread; | - |
| 8 | - | |
| 9 | class __attribute__((visibility("default"))) QQuickRenderControl : public QObject | - |
| 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 | - | |
| 21 | public: | - |
| 22 | explicit QQuickRenderControl(QObject *parent = nullptr); | - |
| 23 | ~QQuickRenderControl() override; | - |
| 24 | - | |
| 25 | void prepareThread(QThread *targetThread); | - |
| 26 | void initialize(QOpenGLContext *gl); | - |
| 27 | void invalidate(); | - |
| 28 | - | |
| 29 | void polishItems(); | - |
| 30 | void render(); | - |
| 31 | bool sync(); | - |
| 32 | - | |
| 33 | QImage grab(); | - |
| 34 | - | |
| 35 | static QWindow *renderWindowFor(QQuickWindow *win, QPoint *offset = nullptr); | - |
| 36 | virtual QWindow *renderWindow(QPoint *offset) { (void)offset;; return never executed: nullptr;return nullptr;never executed: }return nullptr; | 0 |
| 37 | - | |
| 38 | public : | - |
| 39 | void renderRequested(); | - |
| 40 | void sceneChanged(); | - |
| 41 | - | |
| 42 | private: | - |
| 43 | inline QQuickRenderControlPrivate* d_func() { return executed 2978 times by 2 tests: reinterpret_cast<QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 2978 times by 2 tests: } inline const QQuickRenderControlPrivate* d_func() const { returnreturn reinterpret_cast<QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));Executed by:
never executed: reinterpret_cast<const QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickRenderControlPrivate;return reinterpret_cast<const QQuickRenderControlPrivate *>(qGetPtrHelper(d_ptr)); | 0-2978 |
| 44 | }; | - |
| 45 | - | |
| 46 | - | |
| Switch to Source code | Preprocessed file |