| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | extern const QLoggingCategory &QSG_RASTER_LOG_TIME_RENDERLOOP(); | - |
| 3 | extern const QLoggingCategory &QSG_RASTER_LOG_TIME_COMPILATION(); | - |
| 4 | extern const QLoggingCategory &QSG_RASTER_LOG_TIME_TEXTURE(); | - |
| 5 | extern const QLoggingCategory &QSG_RASTER_LOG_TIME_GLYPH(); | - |
| 6 | extern const QLoggingCategory &QSG_RASTER_LOG_TIME_RENDERER(); | - |
| 7 | extern const QLoggingCategory &QSG_RASTER_LOG_INFO(); | - |
| 8 | extern const QLoggingCategory &QSG_RASTER_LOG_RENDERLOOP(); | - |
| 9 | - | |
| 10 | - | |
| 11 | - | |
| 12 | class QSGSoftwareRenderContext : public QSGRenderContext | - |
| 13 | { | - |
| 14 | public: | - |
| 15 | #pragma GCC diagnostic push | - |
| 16 | - | |
| 17 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 18 | 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: | - |
| 19 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 20 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 21 | #pragma GCC diagnostic pop | - |
| 22 | struct QPrivateSignal {}; | - |
| 23 | public: | - |
| 24 | QSGSoftwareRenderContext(QSGContext *ctx); | - |
| 25 | void initializeIfNeeded(); | - |
| 26 | void invalidate() override; | - |
| 27 | void renderNextFrame(QSGRenderer *renderer, uint fbo) override; | - |
| 28 | QSGTexture *createTexture(const QImage &image, uint flags = CreateTexture_Alpha) const override; | - |
| 29 | QSGRenderer *createRenderer() override; | - |
| 30 | int maxTextureSize() const override; | - |
| 31 | - | |
| 32 | bool m_initialized; | - |
| 33 | QPainter *m_activePainter; | - |
| 34 | }; | - |
| 35 | - | |
| 36 | class QSGSoftwareContext : public QSGContext, public QSGRendererInterface | - |
| 37 | { | - |
| 38 | public: | - |
| 39 | #pragma GCC diagnostic push | - |
| 40 | - | |
| 41 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 42 | 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: | - |
| 43 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 44 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 45 | #pragma GCC diagnostic pop | - |
| 46 | struct QPrivateSignal {}; | - |
| 47 | public: | - |
| 48 | explicit QSGSoftwareContext(QObject *parent = nullptr); | - |
| 49 | - | |
| 50 | QSGRenderContext *createRenderContext() override { return executed 2 times by 1 test: new QSGSoftwareRenderContext(this);return new QSGSoftwareRenderContext(this);Executed by:
executed 2 times by 1 test: }return new QSGSoftwareRenderContext(this);Executed by:
| 2 |
| 51 | QSGInternalRectangleNode *createInternalRectangleNode() override; | - |
| 52 | QSGInternalImageNode *createInternalImageNode() override; | - |
| 53 | QSGPainterNode *createPainterNode(QQuickPaintedItem *item) override; | - |
| 54 | QSGGlyphNode *createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode) override; | - |
| 55 | QSGLayer *createLayer(QSGRenderContext *renderContext) override; | - |
| 56 | QSurfaceFormat defaultSurfaceFormat() const override; | - |
| 57 | QSGRendererInterface *rendererInterface(QSGRenderContext *renderContext) override; | - |
| 58 | QSGRectangleNode *createRectangleNode() override; | - |
| 59 | QSGImageNode *createImageNode() override; | - |
| 60 | QSGNinePatchNode *createNinePatchNode() override; | - |
| 61 | - | |
| 62 | QSGSpriteNode *createSpriteNode() override; | - |
| 63 | - | |
| 64 | - | |
| 65 | GraphicsApi graphicsApi() const override; | - |
| 66 | ShaderType shaderType() const override; | - |
| 67 | ShaderCompilationTypes shaderCompilationType() const override; | - |
| 68 | ShaderSourceTypes shaderSourceType() const override; | - |
| 69 | void *getResource(QQuickWindow *window, Resource resource) const override; | - |
| 70 | }; | - |
| 71 | - | |
| 72 | - | |
| Switch to Source code | Preprocessed file |