OpenCoverage

qsgabstractsoftwarerenderer_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/adaptations/software/qsgabstractsoftwarerenderer_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QSGSimpleRectNode;-
6-
7class QSGSoftwareRenderableNode;-
8class QSGSoftwareRenderableNodeUpdater;-
9-
10class __attribute__((visibility("default"))) QSGAbstractSoftwareRenderer : public QSGRenderer-
11{-
12public:-
13 QSGAbstractSoftwareRenderer(QSGRenderContext *context);-
14 virtual ~QSGAbstractSoftwareRenderer();-
15-
16 QSGSoftwareRenderableNode *renderableNode(QSGNode *node) const;-
17 void addNodeMapping(QSGNode *node, QSGSoftwareRenderableNode *renderableNode);-
18 void appendRenderableNode(QSGSoftwareRenderableNode *node);-
19-
20 void nodeChanged(QSGNode *node, QSGNode::DirtyState state) override;-
21-
22 void markDirty();-
23-
24protected:-
25 QRegion renderNodes(QPainter *painter);-
26 void buildRenderList();-
27 QRegion optimizeRenderList();-
28-
29 void setBackgroundColor(const QColor &color);-
30 void setBackgroundRect(const QRect &rect);-
31 QColor backgroundColor();-
32 QRect backgroundRect();-
33-
34 bool isOpaque() const { return
never executed: return m_isOpaque;
m_isOpaque;
never executed: return m_isOpaque;
}
0
35 const QLinkedList<QSGSoftwareRenderableNode*> &renderableNodes() const;-
36-
37private:-
38 void nodeAdded(QSGNode *node);-
39 void nodeRemoved(QSGNode *node);-
40 void nodeGeometryUpdated(QSGNode *node);-
41 void nodeMaterialUpdated(QSGNode *node);-
42 void nodeMatrixUpdated(QSGNode *node);-
43 void nodeOpacityUpdated(QSGNode *node);-
44-
45 QHash<QSGNode*, QSGSoftwareRenderableNode*> m_nodes;-
46 QLinkedList<QSGSoftwareRenderableNode*> m_renderableNodes;-
47-
48 QSGSimpleRectNode *m_background;-
49-
50 QRegion m_dirtyRegion;-
51 QRegion m_obscuredRegion;-
52 bool m_isOpaque = false;-
53-
54 QSGSoftwareRenderableNodeUpdater *m_nodeUpdater;-
55};-
56-
57-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0