OpenCoverage

qsgdefaultrendercontext_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgdefaultrendercontext_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4class QOpenGLContext;-
5class QSGMaterialShader;-
6class QOpenGLFramebufferObject;-
7-
8namespace QSGAtlasTexture {-
9 class Manager;-
10}-
11-
12class __attribute__((visibility("default"))) QSGDefaultRenderContext : 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 {};-
23public:-
24 QSGDefaultRenderContext(QSGContext *context);-
25-
26 QOpenGLContext *openglContext() const { return
executed 268535 times by 76 tests: return m_gl;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • ...
m_gl;
executed 268535 times by 76 tests: return m_gl;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • ...
}
268535
27 bool isValid() const override { return
executed 6091 times by 17 tests: return m_gl;
Executed by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickgraphicsinfo
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickopenglinfo
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickspritesequence
  • tst_qquickwidget
  • tst_scenegraph
m_gl;
executed 6091 times by 17 tests: return m_gl;
Executed by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickgraphicsinfo
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickopenglinfo
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickspritesequence
  • tst_qquickwidget
  • tst_scenegraph
}
6091
28-
29 void initialize(void *context) override;-
30 void invalidate() override;-
31 void renderNextFrame(QSGRenderer *renderer, uint fboId) override;-
32-
33 QSGDistanceFieldGlyphCache *distanceFieldGlyphCache(const QRawFont &font) override;-
34-
35 virtual QSharedPointer<QSGDepthStencilBuffer> depthStencilBufferForFbo(QOpenGLFramebufferObject *fbo);-
36 QSGDepthStencilBufferManager *depthStencilBufferManager();-
37-
38 QSGTexture *createTexture(const QImage &image, uint flags) const override;-
39 QSGRenderer *createRenderer() override;-
40 QSGTexture *compressedTextureForFactory(const QSGCompressedTextureFactory *factory) const override;-
41-
42 virtual void compileShader(QSGMaterialShader *shader, QSGMaterial *material, const char *vertexCode = nullptr, const char *fragmentCode = nullptr);-
43 virtual void initializeShader(QSGMaterialShader *shader);-
44-
45 void setAttachToGraphicsContext(bool attach) override;-
46-
47 static QSGDefaultRenderContext *from(QOpenGLContext *context);-
48-
49 bool hasBrokenIndexBufferObjects() const { return
executed 275449 times by 70 tests: return m_brokenIBOs;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
m_brokenIBOs;
executed 275449 times by 70 tests: return m_brokenIBOs;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
}
275449
50 int maxTextureSize() const override { return
executed 327 times by 28 tests: return m_maxTextureSize;
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickpainteditem
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquickspritesequence
  • tst_qquicktargetdirection
  • tst_qquicktext
  • tst_qquicktrailemitter
  • ...
m_maxTextureSize;
executed 327 times by 28 tests: return m_maxTextureSize;
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickpainteditem
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquickspritesequence
  • tst_qquicktargetdirection
  • tst_qquicktext
  • tst_qquicktrailemitter
  • ...
}
327
51 bool separateIndexBuffer() const;-
52-
53protected:-
54 static QString fontKey(const QRawFont &font);-
55-
56 QOpenGLContext *m_gl;-
57 QSGDepthStencilBufferManager *m_depthStencilManager;-
58 int m_maxTextureSize;-
59 bool m_brokenIBOs;-
60 bool m_serializedRender;-
61 bool m_attachToGLContext;-
62 QSGAtlasTexture::Manager *m_atlasManager;-
63};-
64-
65-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0