| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | QSGDistanceFieldGlyphNode::QSGDistanceFieldGlyphNode(QSGRenderContext *context) | - |
| 5 | : m_glyphNodeType(RootGlyphNode) | - |
| 6 | , m_context(context) | - |
| 7 | , m_material(nullptr) | - |
| 8 | , m_glyph_cache(nullptr) | - |
| 9 | , m_geometry(QSGGeometry::defaultAttributes_TexturedPoint2D(), 0) | - |
| 10 | , m_style(QQuickText::Normal) | - |
| 11 | , m_antialiasingMode(GrayAntialiasing) | - |
| 12 | , m_texture(nullptr) | - |
| 13 | , m_dirtyGeometry(false) | - |
| 14 | , m_dirtyMaterial(false) | - |
| 15 | { | - |
| 16 | m_geometry.setDrawingMode( | - |
| 17 | 0x0004 | - |
| 18 | ); | - |
| 19 | setGeometry(&m_geometry); | - |
| 20 | setFlag(UsePreprocess); | - |
| 21 | | - |
| 22 | qsgnode_set_description(this, QLatin1String("glyphs")); | - |
| 23 | | - |
| 24 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 25 | | - |
| 26 | QSGDistanceFieldGlyphNode::~QSGDistanceFieldGlyphNode() | - |
| 27 | { | - |
| 28 | delete m_material; | - |
| 29 | | - |
| 30 | if (m_glyphNodeType == SubGlyphNode| TRUE | never evaluated | | FALSE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 0-249131 |
| 31 | return; never executed: return; | 0 |
| 32 | | - |
| 33 | if (m_glyph_cache| TRUE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
) { | 0-249131 |
| 34 | m_glyph_cache->release(m_glyphs.glyphIndexes()); | - |
| 35 | m_glyph_cache->unregisterGlyphNode(this); | - |
| 36 | m_glyph_cache->unregisterOwnerElement(ownerElement()); | - |
| 37 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 38 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 39 | | - |
| 40 | void QSGDistanceFieldGlyphNode::setColor(const QColor &color) | - |
| 41 | { | - |
| 42 | m_color = color; | - |
| 43 | if (m_material != nullptr| TRUE | never evaluated | | FALSE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) { | 0-249131 |
| 44 | m_material->setColor(color); | - |
| 45 | markDirty(DirtyMaterial); | - |
| 46 | } never executed: end of block else { | 0 |
| 47 | m_dirtyMaterial = true; | - |
| 48 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 49 | } | - |
| 50 | | - |
| 51 | void QSGDistanceFieldGlyphNode::setPreferredAntialiasingMode(AntialiasingMode mode) | - |
| 52 | { | - |
| 53 | if (mode == m_antialiasingMode| TRUE | never evaluated | | FALSE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 0-249131 |
| 54 | return; never executed: return; | 0 |
| 55 | m_antialiasingMode = mode; | - |
| 56 | m_dirtyMaterial = true; | - |
| 57 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 58 | | - |
| 59 | void QSGDistanceFieldGlyphNode::setGlyphs(const QPointF &position, const QGlyphRun &glyphs) | - |
| 60 | { | - |
| 61 | QRawFont font = glyphs.rawFont(); | - |
| 62 | m_originalPosition = position; | - |
| 63 | m_position = QPointF(position.x(), position.y() - font.ascent()); | - |
| 64 | m_glyphs = glyphs; | - |
| 65 | | - |
| 66 | m_dirtyGeometry = true; | - |
| 67 | m_dirtyMaterial = true; | - |
| 68 | | - |
| 69 | QSGDistanceFieldGlyphCache *oldCache = m_glyph_cache; | - |
| 70 | m_glyph_cache = m_context->distanceFieldGlyphCache(m_glyphs.rawFont()); | - |
| 71 | | - |
| 72 | if (m_glyphNodeType == SubGlyphNode| TRUE | never evaluated | | FALSE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 0-249131 |
| 73 | return; never executed: return; | 0 |
| 74 | | - |
| 75 | if (m_glyph_cache != oldCache| TRUE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
) { | 0-249131 |
| 76 | ((ownerElement() != nullptr) ? static_cast<void>(0) : qt_assert("ownerElement() != nullptr", __FILE__, 116)); | - |
| 77 | if (oldCache| TRUE | never evaluated | | FALSE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) { | 0-249131 |
| 78 | oldCache->unregisterGlyphNode(this); | - |
| 79 | oldCache->unregisterOwnerElement(ownerElement()); | - |
| 80 | } never executed: end of block | 0 |
| 81 | m_glyph_cache->registerGlyphNode(this); | - |
| 82 | m_glyph_cache->registerOwnerElement(ownerElement()); | - |
| 83 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 84 | m_glyph_cache->populate(glyphs.glyphIndexes()); | - |
| 85 | | - |
| 86 | const QVector<quint32> glyphIndexes = m_glyphs.glyphIndexes(); | - |
| 87 | for (int i = 0; i < glyphIndexes.count()| TRUE | evaluated 1379907 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
; ++i) | 249131-1379907 |
| 88 | m_allGlyphIndexesLookup.insert(glyphIndexes.at(i));executed 1379907 times by 24 tests: m_allGlyphIndexesLookup.insert(glyphIndexes.at(i));Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 1379907 |
| 89 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 90 | | - |
| 91 | void QSGDistanceFieldGlyphNode::setStyle(QQuickText::TextStyle style) | - |
| 92 | { | - |
| 93 | if (m_style == style| TRUE | evaluated 249097 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 34 times by 1 test |
) | 34-249097 |
| 94 | return;executed 249097 times by 24 tests: return;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249097 |
| 95 | m_style = style; | - |
| 96 | m_dirtyMaterial = true; | - |
| 97 | }executed 34 times by 1 test: end of block | 34 |
| 98 | | - |
| 99 | void QSGDistanceFieldGlyphNode::setStyleColor(const QColor &color) | - |
| 100 | { | - |
| 101 | if (m_styleColor == color| TRUE | evaluated 779 times by 6 testsEvaluated by:- tst_examples
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | evaluated 248352 times by 21 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_scenegraph
- tst_touchmouse
|
) | 779-248352 |
| 102 | return;executed 779 times by 6 tests: return;Executed by:- tst_examples
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| 779 |
| 103 | m_styleColor = color; | - |
| 104 | m_dirtyMaterial = true; | - |
| 105 | }executed 248352 times by 21 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_scenegraph
- tst_touchmouse
| 248352 |
| 106 | | - |
| 107 | void QSGDistanceFieldGlyphNode::update() | - |
| 108 | { | - |
| 109 | if (m_dirtyMaterial| TRUE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
) | 0-249131 |
| 110 | updateMaterial();executed 249131 times by 24 tests: updateMaterial();Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 111 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 112 | | - |
| 113 | void QSGDistanceFieldGlyphNode::preprocess() | - |
| 114 | { | - |
| 115 | ((m_glyph_cache) ? static_cast<void>(0) : qt_assert("m_glyph_cache", __FILE__, 155)); | - |
| 116 | | - |
| 117 | m_glyph_cache->processPendingGlyphs(); | - |
| 118 | m_glyph_cache->update(); | - |
| 119 | | - |
| 120 | if (m_dirtyGeometry| TRUE | evaluated 240904 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 488825 times by 22 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 240904-488825 |
| 121 | updateGeometry();executed 240904 times by 24 tests: updateGeometry();Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 240904 |
| 122 | }executed 729729 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 729729 |
| 123 | | - |
| 124 | void QSGDistanceFieldGlyphNode::invalidateGlyphs(const QVector<quint32> &glyphs) | - |
| 125 | { | - |
| 126 | if (m_dirtyGeometry| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 127 | return; never executed: return; | 0 |
| 128 | | - |
| 129 | for (int i = 0; i < glyphs.count()| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 130 | if (m_allGlyphIndexesLookup.contains(glyphs.at(i))| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 131 | m_dirtyGeometry = true; | - |
| 132 | return; never executed: return; | 0 |
| 133 | } | - |
| 134 | } never executed: end of block | 0 |
| 135 | } never executed: end of block | 0 |
| 136 | | - |
| 137 | void QSGDistanceFieldGlyphNode::updateGeometry() | - |
| 138 | { | - |
| 139 | ((m_glyph_cache) ? static_cast<void>(0) : qt_assert("m_glyph_cache", __FILE__, 179)); | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | QSGNode *subnode = firstChild(); | - |
| 144 | QSGNode *nextNode = nullptr; | - |
| 145 | while (subnode| TRUE | never evaluated | | FALSE | evaluated 240904 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) { | 0-240904 |
| 146 | nextNode = subnode->nextSibling(); | - |
| 147 | delete subnode; | - |
| 148 | subnode = nextNode; | - |
| 149 | } never executed: end of block | 0 |
| 150 | | - |
| 151 | QSGGeometry *g = geometry(); | - |
| 152 | | - |
| 153 | ((g->indexType() == | - |
| 154 | 0x1403 | - |
| 155 | ) ? static_cast<void>(0) : qt_assert("g->indexType() == GL_UNSIGNED_SHORT", __FILE__, 193)); | - |
| 156 | | - |
| 157 | QHash<const QSGDistanceFieldGlyphCache::Texture *, GlyphInfo> glyphsInOtherTextures; | - |
| 158 | | - |
| 159 | const QVector<quint32> indexes = m_glyphs.glyphIndexes(); | - |
| 160 | const QVector<QPointF> positions = m_glyphs.positions(); | - |
| 161 | qreal fontPixelSize = m_glyphs.rawFont().pixelSize(); | - |
| 162 | | - |
| 163 | | - |
| 164 | | - |
| 165 | QVarLengthArray<QSGGeometry::TexturedPoint2D, 256> vp; | - |
| 166 | vp.reserve(indexes.size() * 4); | - |
| 167 | QVarLengthArray<ushort, 384> ip; | - |
| 168 | ip.reserve(indexes.size() * 6); | - |
| 169 | | - |
| 170 | qreal maxTexMargin = m_glyph_cache->distanceFieldRadius(); | - |
| 171 | qreal fontScale = m_glyph_cache->fontScale(fontPixelSize); | - |
| 172 | qreal margin = 2; | - |
| 173 | qreal texMargin = margin / fontScale; | - |
| 174 | if (texMargin > maxTexMargin| TRUE | evaluated 240524 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 380 times by 6 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
|
) { | 380-240524 |
| 175 | texMargin = maxTexMargin; | - |
| 176 | margin = maxTexMargin * fontScale; | - |
| 177 | }executed 240524 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 240524 |
| 178 | | - |
| 179 | for (int i = 0; i < indexes.size()| TRUE | evaluated 1332008 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 240904 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
; ++i) { | 240904-1332008 |
| 180 | const int glyphIndex = indexes.at(i); | - |
| 181 | QSGDistanceFieldGlyphCache::TexCoord c = m_glyph_cache->glyphTexCoord(glyphIndex); | - |
| 182 | | - |
| 183 | if (c.isNull()| TRUE | evaluated 83855 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 1248153 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 83855-1248153 |
| 184 | continue;executed 83855 times by 18 tests: continue;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 83855 |
| 185 | | - |
| 186 | const QPointF position = positions.at(i); | - |
| 187 | | - |
| 188 | const QSGDistanceFieldGlyphCache::Texture *texture = m_glyph_cache->glyphTexture(glyphIndex); | - |
| 189 | if (texture->textureId| TRUE | evaluated 1248153 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
&& !m_texture| TRUE | evaluated 240900 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 1007253 times by 22 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 0-1248153 |
| 190 | m_texture = texture;executed 240900 times by 24 tests: m_texture = texture;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 240900 |
| 191 | | - |
| 192 | | - |
| 193 | | - |
| 194 | | - |
| 195 | | - |
| 196 | | - |
| 197 | if (m_texture != texture| TRUE | never evaluated | | FALSE | evaluated 1248153 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
|| vp.size() >= 65536| TRUE | never evaluated | | FALSE | evaluated 1248153 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) { | 0-1248153 |
| 198 | if (texture->textureId| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 199 | GlyphInfo &glyphInfo = glyphsInOtherTextures[texture]; | - |
| 200 | glyphInfo.indexes.append(glyphIndex); | - |
| 201 | glyphInfo.positions.append(position); | - |
| 202 | } never executed: end of block | 0 |
| 203 | continue; never executed: continue; | 0 |
| 204 | } | - |
| 205 | | - |
| 206 | QSGDistanceFieldGlyphCache::Metrics metrics = m_glyph_cache->glyphMetrics(glyphIndex, fontPixelSize); | - |
| 207 | | - |
| 208 | if (!metrics.isNull()| TRUE | evaluated 1248153 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
&& !c.isNull()| TRUE | evaluated 1248153 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
) { | 0-1248153 |
| 209 | metrics.width += margin * 2; | - |
| 210 | metrics.height += margin * 2; | - |
| 211 | metrics.baselineX -= margin; | - |
| 212 | metrics.baselineY += margin; | - |
| 213 | c.xMargin -= texMargin; | - |
| 214 | c.yMargin -= texMargin; | - |
| 215 | c.width += texMargin * 2; | - |
| 216 | c.height += texMargin * 2; | - |
| 217 | }executed 1248153 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 1248153 |
| 218 | | - |
| 219 | qreal x = position.x() + metrics.baselineX + m_position.x(); | - |
| 220 | qreal y = position.y() - metrics.baselineY + m_position.y(); | - |
| 221 | | - |
| 222 | m_boundingRect |= QRectF(x, y, metrics.width, metrics.height); | - |
| 223 | | - |
| 224 | float cx1 = x; | - |
| 225 | float cx2 = x + metrics.width; | - |
| 226 | float cy1 = y; | - |
| 227 | float cy2 = y + metrics.height; | - |
| 228 | | - |
| 229 | float tx1 = c.x + c.xMargin; | - |
| 230 | float tx2 = tx1 + c.width; | - |
| 231 | float ty1 = c.y + c.yMargin; | - |
| 232 | float ty2 = ty1 + c.height; | - |
| 233 | | - |
| 234 | if (m_baseLine.isNull()| TRUE | evaluated 240900 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 1007253 times by 22 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) | 240900-1007253 |
| 235 | m_baseLine = position;executed 240900 times by 24 tests: m_baseLine = position;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 240900 |
| 236 | | - |
| 237 | int o = vp.size(); | - |
| 238 | | - |
| 239 | QSGGeometry::TexturedPoint2D v1; | - |
| 240 | v1.set(cx1, cy1, tx1, ty1); | - |
| 241 | QSGGeometry::TexturedPoint2D v2; | - |
| 242 | v2.set(cx2, cy1, tx2, ty1); | - |
| 243 | QSGGeometry::TexturedPoint2D v3; | - |
| 244 | v3.set(cx1, cy2, tx1, ty2); | - |
| 245 | QSGGeometry::TexturedPoint2D v4; | - |
| 246 | v4.set(cx2, cy2, tx2, ty2); | - |
| 247 | vp.append(v1); | - |
| 248 | vp.append(v2); | - |
| 249 | vp.append(v3); | - |
| 250 | vp.append(v4); | - |
| 251 | | - |
| 252 | ip.append(o + 0); | - |
| 253 | ip.append(o + 2); | - |
| 254 | ip.append(o + 3); | - |
| 255 | ip.append(o + 3); | - |
| 256 | ip.append(o + 1); | - |
| 257 | ip.append(o + 0); | - |
| 258 | }executed 1248153 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 1248153 |
| 259 | | - |
| 260 | QHash<const QSGDistanceFieldGlyphCache::Texture *, GlyphInfo>::const_iterator ite = glyphsInOtherTextures.constBegin(); | - |
| 261 | while (ite != glyphsInOtherTextures.constEnd()| TRUE | never evaluated | | FALSE | evaluated 240904 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
|
) { | 0-240904 |
| 262 | QGlyphRun subNodeGlyphRun(m_glyphs); | - |
| 263 | subNodeGlyphRun.setGlyphIndexes(ite->indexes); | - |
| 264 | subNodeGlyphRun.setPositions(ite->positions); | - |
| 265 | | - |
| 266 | QSGDistanceFieldGlyphNode *subNode = new QSGDistanceFieldGlyphNode(m_context); | - |
| 267 | subNode->setGlyphNodeType(SubGlyphNode); | - |
| 268 | subNode->setColor(m_color); | - |
| 269 | subNode->setStyle(m_style); | - |
| 270 | subNode->setStyleColor(m_styleColor); | - |
| 271 | subNode->setPreferredAntialiasingMode(m_antialiasingMode); | - |
| 272 | subNode->setGlyphs(m_originalPosition, subNodeGlyphRun); | - |
| 273 | subNode->update(); | - |
| 274 | subNode->updateGeometry(); | - |
| 275 | appendChildNode(subNode); | - |
| 276 | | - |
| 277 | ++ite; | - |
| 278 | } never executed: end of block | 0 |
| 279 | | - |
| 280 | g->allocate(vp.size(), ip.size()); | - |
| 281 | memcpy(g->vertexDataAsTexturedPoint2D(), vp.constData(), vp.size() * sizeof(QSGGeometry::TexturedPoint2D)); | - |
| 282 | memcpy(g->indexDataAsUShort(), ip.constData(), ip.size() * sizeof(quint16)); | - |
| 283 | | - |
| 284 | setBoundingRect(m_boundingRect); | - |
| 285 | markDirty(DirtyGeometry); | - |
| 286 | m_dirtyGeometry = false; | - |
| 287 | | - |
| 288 | m_material->setTexture(m_texture); | - |
| 289 | }executed 240904 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 240904 |
| 290 | | - |
| 291 | void QSGDistanceFieldGlyphNode::updateMaterial() | - |
| 292 | { | - |
| 293 | delete m_material; | - |
| 294 | | - |
| 295 | if (m_style == QQuickText::Normal| TRUE | evaluated 249097 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 34 times by 1 test |
) { | 34-249097 |
| 296 | switch (m_antialiasingMode) { | - |
| 297 | caseexecuted 249097 times by 24 tests: case HighQualitySubPixelAntialiasing:Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
HighQualitySubPixelAntialiasing:executed 249097 times by 24 tests: case HighQualitySubPixelAntialiasing:Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249097 |
| 298 | m_material = new QSGHiQSubPixelDistanceFieldTextMaterial; | - |
| 299 | break;executed 249097 times by 24 tests: break;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249097 |
| 300 | case never executed: case LowQualitySubPixelAntialiasing: LowQualitySubPixelAntialiasing:never executed: case LowQualitySubPixelAntialiasing: | 0 |
| 301 | m_material = new QSGLoQSubPixelDistanceFieldTextMaterial; | - |
| 302 | break; never executed: break; | 0 |
| 303 | case never executed: case GrayAntialiasing: GrayAntialiasing:never executed: case GrayAntialiasing: | 0 |
| 304 | default never executed: default: :never executed: default: | 0 |
| 305 | m_material = new QSGDistanceFieldTextMaterial; | - |
| 306 | break; never executed: break; | 0 |
| 307 | } | - |
| 308 | } else { | - |
| 309 | QSGDistanceFieldStyledTextMaterial *material; | - |
| 310 | if (m_style == QQuickText::Outline| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 26 times by 1 test |
) { | 8-26 |
| 311 | material = new QSGDistanceFieldOutlineTextMaterial; | - |
| 312 | }executed 8 times by 1 test: end of block else { | 8 |
| 313 | QSGDistanceFieldShiftedStyleTextMaterial *sMaterial = new QSGDistanceFieldShiftedStyleTextMaterial; | - |
| 314 | if (m_style == QQuickText::Raised| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 10 times by 1 test |
) | 10-16 |
| 315 | sMaterial->setShift(QPointF(0.0, 1.0));executed 16 times by 1 test: sMaterial->setShift(QPointF(0.0, 1.0)); | 16 |
| 316 | else | - |
| 317 | sMaterial->setShift(QPointF(0.0, -1.0));executed 10 times by 1 test: sMaterial->setShift(QPointF(0.0, -1.0)); | 10 |
| 318 | material = sMaterial; | - |
| 319 | }executed 26 times by 1 test: end of block | 26 |
| 320 | material->setStyleColor(m_styleColor); | - |
| 321 | m_material = material; | - |
| 322 | }executed 34 times by 1 test: end of block | 34 |
| 323 | | - |
| 324 | m_material->setGlyphCache(m_glyph_cache); | - |
| 325 | if (m_glyph_cache| TRUE | evaluated 249131 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | never evaluated |
) | 0-249131 |
| 326 | m_material->setFontScale(m_glyph_cache->fontScale(m_glyphs.rawFont().pixelSize()));executed 249131 times by 24 tests: m_material->setFontScale(m_glyph_cache->fontScale(m_glyphs.rawFont().pixelSize()));Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 327 | m_material->setColor(m_color); | - |
| 328 | setMaterial(m_material); | - |
| 329 | m_dirtyMaterial = false; | - |
| 330 | }executed 249131 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 249131 |
| 331 | | - |
| 332 | | - |
| | |