OpenCoverage

qsgrendernode.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgrendernode.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3QSGRenderNode::QSGRenderNode()-
4 : QSGNode(RenderNodeType),-
5 d(new QSGRenderNodePrivate)-
6{-
7}
executed 30 times by 2 tests: end of block
Executed by:
  • tst_qquickshape
  • tst_rendernode
30
8QSGRenderNode::~QSGRenderNode()-
9{-
10 delete d;-
11}
executed 30 times by 2 tests: end of block
Executed by:
  • tst_qquickshape
  • tst_rendernode
30
12-
13QSGRenderNodePrivate::QSGRenderNodePrivate()-
14 : m_matrix(nullptr)-
15 , m_clip_list(nullptr)-
16 , m_opacity(1)-
17{-
18}
executed 30 times by 2 tests: end of block
Executed by:
  • tst_qquickshape
  • tst_rendernode
30
19QSGRenderNode::StateFlags QSGRenderNode::changedStates() const-
20{-
21 return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
0
22}-
23void QSGRenderNode::releaseResources()-
24{-
25}-
26QSGRenderNode::RenderingFlags QSGRenderNode::flags() const-
27{-
28 return
executed 22 times by 1 test: return nullptr;
Executed by:
  • tst_rendernode
nullptr;
executed 22 times by 1 test: return nullptr;
Executed by:
  • tst_rendernode
22
29}-
30QRectF QSGRenderNode::rect() const-
31{-
32 return
never executed: return QRectF();
QRectF();
never executed: return QRectF();
0
33}-
34-
35-
36-
37-
38const QMatrix4x4 *QSGRenderNode::matrix() const-
39{-
40 return
executed 62 times by 2 tests: return d->m_matrix;
Executed by:
  • tst_qquickshape
  • tst_rendernode
d->m_matrix;
executed 62 times by 2 tests: return d->m_matrix;
Executed by:
  • tst_qquickshape
  • tst_rendernode
62
41}-
42-
43-
44-
45-
46const QSGClipNode *QSGRenderNode::clipList() const-
47{-
48 return
never executed: return d->m_clip_list;
d->m_clip_list;
never executed: return d->m_clip_list;
0
49}-
50-
51-
52-
53-
54qreal QSGRenderNode::inheritedOpacity() const-
55{-
56 return
executed 8 times by 1 test: return d->m_opacity;
Executed by:
  • tst_qquickshape
d->m_opacity;
executed 8 times by 1 test: return d->m_opacity;
Executed by:
  • tst_qquickshape
8
57}-
58-
59QSGRenderNode::RenderState::~RenderState()-
60{-
61}-
62void *QSGRenderNode::RenderState::get(const char *state) const-
63{-
64 (void)state;;-
65 return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
0
66}-
67-
68-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0