| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | static bool qmlUseGlyphCacheWorkaround() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown| TRUE | evaluated 48 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 |
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_USE_GLYPHCACHE_WORKAROUND")), false)| TRUE | never evaluated | | FALSE | evaluated 48 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
|
) { const QByteArray v = qgetenv("QML_USE_GLYPHCACHE_WORKAROUND"); if (v != "0"| TRUE | never evaluated | | FALSE | never evaluated |
&& v != "false"| TRUE | never evaluated | | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 48 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
returnexecuted 48 times by 24 tests: return status == Yes;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
status == Yes;executed 48 times by 24 tests: return status == Yes;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
} | 0-48 |
| 9 | static bool qsgPreferFullSizeGlyphCacheTextures() { static enum { Yes, No, Unknown } status = Unknown; if (status == Unknown| TRUE | evaluated 48 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 1572 times by 18 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QSG_PREFER_FULLSIZE_GLYPHCACHE_TEXTURES")), false)| TRUE | never evaluated | | FALSE | evaluated 48 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
|
) { const QByteArray v = qgetenv("QSG_PREFER_FULLSIZE_GLYPHCACHE_TEXTURES"); if (v != "0"| TRUE | never evaluated | | FALSE | never evaluated |
&& v != "false"| TRUE | never evaluated | | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 48 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
returnexecuted 1620 times by 24 tests: return status == Yes;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
status == Yes;executed 1620 times by 24 tests: return status == Yes;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
} | 0-1620 |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | QSGDefaultDistanceFieldGlyphCache::QSGDefaultDistanceFieldGlyphCache(QOpenGLContext *c, const QRawFont &font) | - |
| 16 | : QSGDistanceFieldGlyphCache(c, font) | - |
| 17 | , m_maxTextureSize(0) | - |
| 18 | , m_maxTextureCount(3) | - |
| 19 | , m_blitProgram(nullptr) | - |
| 20 | , m_blitBuffer(QOpenGLBuffer::VertexBuffer) | - |
| 21 | , m_fboGuard(nullptr) | - |
| 22 | , m_funcs(c->functions()) | - |
| 23 | | - |
| 24 | , m_coreFuncs(nullptr) | - |
| 25 | | - |
| 26 | { | - |
| 27 | if (__builtin_expect(!!(m_blitBuffer.create()), true)| TRUE | evaluated 1622 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-1622 |
| 28 | m_blitBuffer.bind(); | - |
| 29 | static const GLfloat buffer[16] = {-1.0f, -1.0f, 1.0f, -1.0f, 1.0f, 1.0f, -1.0f, 1.0f, | - |
| 30 | 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f, 0.0f, 1.0f}; | - |
| 31 | m_blitBuffer.allocate(buffer, sizeof(buffer)); | - |
| 32 | m_blitBuffer.release(); | - |
| 33 | }executed 1622 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
else { | 1622 |
| 34 | QMessageLogger(__FILE__, 81, __PRETTY_FUNCTION__).warning("Buffer creation failed"); | - |
| 35 | } never executed: end of block | 0 |
| 36 | | - |
| 37 | m_areaAllocator = new QSGAreaAllocator(QSize(maxTextureSize(), m_maxTextureCount * maxTextureSize())); | - |
| 38 | }executed 1622 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
| 1622 |
| 39 | | - |
| 40 | QSGDefaultDistanceFieldGlyphCache::~QSGDefaultDistanceFieldGlyphCache() | - |
| 41 | { | - |
| 42 | for (int i = 0; i < m_textures.count()| TRUE | evaluated 1620 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 1622 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) | 1620-1622 |
| 43 | m_funcs->glDeleteTextures(1, &m_textures[i].texture);executed 1620 times by 24 tests: m_funcs->glDeleteTextures(1, &m_textures[i].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
| 1620 |
| 44 | | - |
| 45 | if (m_fboGuard != nullptr| TRUE | evaluated 453 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | evaluated 1169 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
|
) | 453-1169 |
| 46 | m_fboGuard->free();executed 453 times by 11 tests: m_fboGuard->free();Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 453 |
| 47 | | - |
| 48 | delete m_blitProgram; | - |
| 49 | delete m_areaAllocator; | - |
| 50 | }executed 1622 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
| 1622 |
| 51 | | - |
| 52 | void QSGDefaultDistanceFieldGlyphCache::requestGlyphs(const QSet<glyph_t> &glyphs) | - |
| 53 | { | - |
| 54 | QList<GlyphPosition> glyphPositions; | - |
| 55 | QVector<glyph_t> glyphsToRender; | - |
| 56 | | - |
| 57 | for (QSet<glyph_t>::const_iterator it = glyphs.constBegin(); it != glyphs.constEnd()| TRUE | evaluated 28812 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 9494 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
|
; ++it) { | 9494-28812 |
| 58 | glyph_t glyphIndex = *it; | - |
| 59 | | - |
| 60 | int padding = 2; | - |
| 61 | QRectF boundingRect = glyphData(glyphIndex).boundingRect; | - |
| 62 | int glyphWidth = qCeil(boundingRect.width()) + distanceFieldRadius() * 2; | - |
| 63 | int glyphHeight = qCeil(boundingRect.height()) + distanceFieldRadius() * 2; | - |
| 64 | QSize glyphSize(glyphWidth + padding * 2, glyphHeight + padding * 2); | - |
| 65 | QRect alloc = m_areaAllocator->allocate(glyphSize); | - |
| 66 | | - |
| 67 | if (alloc.isNull()| TRUE | never evaluated | | FALSE | evaluated 28812 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-28812 |
| 68 | | - |
| 69 | while (alloc.isNull()| TRUE | never evaluated | | FALSE | never evaluated |
&& !m_unusedGlyphs.isEmpty()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 70 | glyph_t unusedGlyph = *m_unusedGlyphs.constBegin(); | - |
| 71 | | - |
| 72 | TexCoord unusedCoord = glyphTexCoord(unusedGlyph); | - |
| 73 | QRectF unusedGlyphBoundingRect = glyphData(unusedGlyph).boundingRect; | - |
| 74 | int unusedGlyphWidth = qCeil(unusedGlyphBoundingRect.width()) + distanceFieldRadius() * 2; | - |
| 75 | int unusedGlyphHeight = qCeil(unusedGlyphBoundingRect.height()) + distanceFieldRadius() * 2; | - |
| 76 | m_areaAllocator->deallocate(QRect(unusedCoord.x - padding, | - |
| 77 | unusedCoord.y - padding, | - |
| 78 | padding * 2 + unusedGlyphWidth, | - |
| 79 | padding * 2 + unusedGlyphHeight)); | - |
| 80 | | - |
| 81 | m_unusedGlyphs.remove(unusedGlyph); | - |
| 82 | m_glyphsTexture.remove(unusedGlyph); | - |
| 83 | removeGlyph(unusedGlyph); | - |
| 84 | | - |
| 85 | alloc = m_areaAllocator->allocate(glyphSize); | - |
| 86 | } never executed: end of block | 0 |
| 87 | | - |
| 88 | | - |
| 89 | if (alloc.isNull()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 90 | continue; never executed: continue; | 0 |
| 91 | } never executed: end of block | 0 |
| 92 | | - |
| 93 | TextureInfo *tex = textureInfo(alloc.y() / maxTextureSize()); | - |
| 94 | alloc = QRect(alloc.x(), alloc.y() % maxTextureSize(), alloc.width(), alloc.height()); | - |
| 95 | | - |
| 96 | tex->allocatedArea |= alloc; | - |
| 97 | ((tex->padding == padding || tex->padding < 0) ? static_cast<void>(0) : qt_assert("tex->padding == padding || tex->padding < 0", __FILE__, 144)); | - |
| 98 | tex->padding = padding; | - |
| 99 | | - |
| 100 | GlyphPosition p; | - |
| 101 | p.glyph = glyphIndex; | - |
| 102 | p.position = alloc.topLeft() + QPoint(padding, padding); | - |
| 103 | | - |
| 104 | glyphPositions.append(p); | - |
| 105 | glyphsToRender.append(glyphIndex); | - |
| 106 | m_glyphsTexture.insert(glyphIndex, tex); | - |
| 107 | }executed 28812 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
| 28812 |
| 108 | | - |
| 109 | setGlyphsPosition(glyphPositions); | - |
| 110 | markGlyphsToRender(glyphsToRender); | - |
| 111 | }executed 9494 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
| 9494 |
| 112 | | - |
| 113 | void QSGDefaultDistanceFieldGlyphCache::storeGlyphs(const QList<QDistanceField> &glyphs) | - |
| 114 | { | - |
| 115 | typedef QHash<TextureInfo *, QVector<glyph_t> > GlyphTextureHash; | - |
| 116 | typedef GlyphTextureHash::const_iterator GlyphTextureHashConstIt; | - |
| 117 | | - |
| 118 | GlyphTextureHash glyphTextures; | - |
| 119 | | - |
| 120 | GLint alignment = 4; | - |
| 121 | m_funcs->glGetIntegerv( | - |
| 122 | 0x0CF5 | - |
| 123 | , &alignment); | - |
| 124 | | - |
| 125 | | - |
| 126 | m_funcs->glPixelStorei( | - |
| 127 | 0x0CF5 | - |
| 128 | , 1); | - |
| 129 | | - |
| 130 | for (int i = 0; i < glyphs.size()| TRUE | evaluated 28568 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 2343 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) { | 2343-28568 |
| 131 | QDistanceField glyph = glyphs.at(i); | - |
| 132 | glyph_t glyphIndex = glyph.glyph(); | - |
| 133 | TexCoord c = glyphTexCoord(glyphIndex); | - |
| 134 | TextureInfo *texInfo = m_glyphsTexture.value(glyphIndex); | - |
| 135 | | - |
| 136 | resizeTexture(texInfo, texInfo->allocatedArea.width(), texInfo->allocatedArea.height()); | - |
| 137 | m_funcs->glBindTexture( | - |
| 138 | 0x0DE1 | - |
| 139 | , texInfo->texture); | - |
| 140 | | - |
| 141 | glyphTextures[texInfo].append(glyphIndex); | - |
| 142 | | - |
| 143 | int padding = texInfo->padding; | - |
| 144 | int expectedWidth = qCeil(c.width + c.xMargin * 2); | - |
| 145 | glyph = glyph.copy(-padding, -padding, | - |
| 146 | expectedWidth + padding * 2, glyph.height() + padding * 2); | - |
| 147 | | - |
| 148 | if (useTextureResizeWorkaround()| TRUE | never evaluated | | FALSE | evaluated 28568 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-28568 |
| 149 | uchar *inBits = glyph.scanLine(0); | - |
| 150 | uchar *outBits = texInfo->image.scanLine(int(c.y) - padding) + int(c.x) - padding; | - |
| 151 | for (int y = 0; y < glyph.height()| TRUE | never evaluated | | FALSE | never evaluated |
; ++y) { | 0 |
| 152 | memcpy(outBits, inBits, glyph.width()); | - |
| 153 | inBits += glyph.width(); | - |
| 154 | outBits += texInfo->image.width(); | - |
| 155 | } never executed: end of block | 0 |
| 156 | } never executed: end of block | 0 |
| 157 | | - |
| 158 | | - |
| 159 | const GLenum format = isCoreProfile()| TRUE | never evaluated | | FALSE | evaluated 28568 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-28568 |
| 160 | 0x1903 | - |
| 161 | : | - |
| 162 | 0x1906 | - |
| 163 | ; | - |
| 164 | | - |
| 165 | | - |
| 166 | | - |
| 167 | if (useTextureUploadWorkaround()| TRUE | never evaluated | | FALSE | evaluated 28568 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-28568 |
| 168 | for (int i = 0; i < glyph.height()| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 169 | m_funcs->glTexSubImage2D( | - |
| 170 | 0x0DE1 | - |
| 171 | , 0, | - |
| 172 | c.x - padding, c.y + i - padding, glyph.width(),1, | - |
| 173 | format, | - |
| 174 | 0x1401 | - |
| 175 | , | - |
| 176 | glyph.scanLine(i)); | - |
| 177 | } never executed: end of block | 0 |
| 178 | } never executed: end of block else { | 0 |
| 179 | m_funcs->glTexSubImage2D( | - |
| 180 | 0x0DE1 | - |
| 181 | , 0, | - |
| 182 | c.x - padding, c.y - padding, glyph.width(), glyph.height(), | - |
| 183 | format, | - |
| 184 | 0x1401 | - |
| 185 | , | - |
| 186 | glyph.constBits()); | - |
| 187 | }executed 28568 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
| 28568 |
| 188 | } | - |
| 189 | | - |
| 190 | | - |
| 191 | m_funcs->glPixelStorei( | - |
| 192 | 0x0CF5 | - |
| 193 | , alignment); | - |
| 194 | | - |
| 195 | for (GlyphTextureHashConstIt i = glyphTextures.constBegin(), cend = glyphTextures.constEnd(); i != cend| TRUE | evaluated 2343 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 2343 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) { | 2343 |
| 196 | Texture t; | - |
| 197 | t.textureId = i.key()->texture; | - |
| 198 | t.size = i.key()->size; | - |
| 199 | setGlyphsTexture(i.value(), t); | - |
| 200 | }executed 2343 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
| 2343 |
| 201 | }executed 2343 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
| 2343 |
| 202 | | - |
| 203 | void QSGDefaultDistanceFieldGlyphCache::referenceGlyphs(const QSet<glyph_t> &glyphs) | - |
| 204 | { | - |
| 205 | m_unusedGlyphs -= glyphs; | - |
| 206 | }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 |
| 207 | | - |
| 208 | void QSGDefaultDistanceFieldGlyphCache::releaseGlyphs(const QSet<glyph_t> &glyphs) | - |
| 209 | { | - |
| 210 | m_unusedGlyphs += glyphs; | - |
| 211 | }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 |
| 212 | | - |
| 213 | void QSGDefaultDistanceFieldGlyphCache::createTexture(TextureInfo *texInfo, int width, int height) | - |
| 214 | { | - |
| 215 | if (useTextureResizeWorkaround()| TRUE | never evaluated | | FALSE | evaluated 2195 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
|
&& texInfo->image.isNull()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-2195 |
| 216 | texInfo->image = QDistanceField(width, height); never executed: texInfo->image = QDistanceField(width, height); | 0 |
| 217 | | - |
| 218 | while (m_funcs->glGetError() != | TRUE | never evaluated | | FALSE | evaluated 2195 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-2195 |
| 219 | 0| TRUE | never evaluated | | FALSE | evaluated 2195 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-2195 |
| 220 | ) { } never executed: end of block | 0 |
| 221 | | - |
| 222 | m_funcs->glGenTextures(1, &texInfo->texture); | - |
| 223 | m_funcs->glBindTexture( | - |
| 224 | 0x0DE1 | - |
| 225 | , texInfo->texture); | - |
| 226 | | - |
| 227 | m_funcs->glTexParameteri( | - |
| 228 | 0x0DE1 | - |
| 229 | , | - |
| 230 | 0x2800 | - |
| 231 | , | - |
| 232 | 0x2600 | - |
| 233 | ); | - |
| 234 | m_funcs->glTexParameteri( | - |
| 235 | 0x0DE1 | - |
| 236 | , | - |
| 237 | 0x2801 | - |
| 238 | , | - |
| 239 | 0x2600 | - |
| 240 | ); | - |
| 241 | m_funcs->glTexParameteri( | - |
| 242 | 0x0DE1 | - |
| 243 | , | - |
| 244 | 0x2802 | - |
| 245 | , | - |
| 246 | 0x812F | - |
| 247 | ); | - |
| 248 | m_funcs->glTexParameteri( | - |
| 249 | 0x0DE1 | - |
| 250 | , | - |
| 251 | 0x2803 | - |
| 252 | , | - |
| 253 | 0x812F | - |
| 254 | ); | - |
| 255 | | - |
| 256 | if (!QOpenGLContext::currentContext()->isOpenGLES()| TRUE | evaluated 2195 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-2195 |
| 257 | m_funcs->glTexParameteri(executed 2195 times by 24 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);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
| 2195 |
| 258 | 0x0DE1executed 2195 times by 24 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);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
| 2195 |
| 259 | , executed 2195 times by 24 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);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
| 2195 |
| 260 | 0x813Dexecuted 2195 times by 24 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);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
| 2195 |
| 261 | , 0);executed 2195 times by 24 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);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
| 2195 |
| 262 | const GLint internalFormat = isCoreProfile()| TRUE | never evaluated | | FALSE | evaluated 2195 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
|
? 0x8229 : | 0-2195 |
| 263 | 0x1906 | - |
| 264 | ; | - |
| 265 | const GLenum format = isCoreProfile()| TRUE | never evaluated | | FALSE | evaluated 2195 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-2195 |
| 266 | 0x1903 | - |
| 267 | : | - |
| 268 | 0x1906 | - |
| 269 | ; | - |
| 270 | | - |
| 271 | | - |
| 272 | | - |
| 273 | | - |
| 274 | | - |
| 275 | QByteArray zeroBuf(width * height, 0); | - |
| 276 | m_funcs->glTexImage2D( | - |
| 277 | 0x0DE1 | - |
| 278 | , 0, internalFormat, width, height, 0, format, | - |
| 279 | 0x1401 | - |
| 280 | , zeroBuf.constData()); | - |
| 281 | | - |
| 282 | texInfo->size = QSize(width, height); | - |
| 283 | | - |
| 284 | GLuint error = m_funcs->glGetError(); | - |
| 285 | if (error != | TRUE | never evaluated | | FALSE | evaluated 2195 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-2195 |
| 286 | 0| TRUE | never evaluated | | FALSE | evaluated 2195 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-2195 |
| 287 | ) { | - |
| 288 | m_funcs->glBindTexture( | - |
| 289 | 0x0DE1 | - |
| 290 | , 0); | - |
| 291 | m_funcs->glDeleteTextures(1, &texInfo->texture); | - |
| 292 | texInfo->texture = 0; | - |
| 293 | } never executed: end of block | 0 |
| 294 | | - |
| 295 | }executed 2195 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
| 2195 |
| 296 | | - |
| 297 | static void freeFramebufferFunc(QOpenGLFunctions *funcs, GLuint id) | - |
| 298 | { | - |
| 299 | funcs->glDeleteFramebuffers(1, &id); | - |
| 300 | }executed 453 times by 11 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 453 |
| 301 | | - |
| 302 | void QSGDefaultDistanceFieldGlyphCache::resizeTexture(TextureInfo *texInfo, int width, int height) | - |
| 303 | { | - |
| 304 | QOpenGLContext *ctx = QOpenGLContext::currentContext(); | - |
| 305 | ((ctx) ? static_cast<void>(0) : qt_assert("ctx", __FILE__, 286)); | - |
| 306 | | - |
| 307 | int oldWidth = texInfo->size.width(); | - |
| 308 | int oldHeight = texInfo->size.height(); | - |
| 309 | if (width == oldWidth| TRUE | evaluated 26380 times by 23 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_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 2188 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
|
&& height == oldHeight| TRUE | evaluated 26373 times by 23 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_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicktextedit
|
) | 7-26380 |
| 310 | return;executed 26373 times by 23 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_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
- tst_touchmouse
| 26373 |
| 311 | | - |
| 312 | GLuint oldTexture = texInfo->texture; | - |
| 313 | createTexture(texInfo, width, height); | - |
| 314 | | - |
| 315 | if (!oldTexture| TRUE | evaluated 1604 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 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 591-1604 |
| 316 | return;executed 1604 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
| 1604 |
| 317 | | - |
| 318 | updateTexture(oldTexture, texInfo->texture, texInfo->size); | - |
| 319 | | - |
| 320 | | - |
| 321 | if (isCoreProfile()| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !useTextureResizeWorkaround()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-591 |
| 322 | | - |
| 323 | | - |
| 324 | | - |
| 325 | if (!m_coreFuncs| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 326 | m_coreFuncs = ctx->versionFunctions<QOpenGLFunctions_3_2_Core>(); | - |
| 327 | ((m_coreFuncs) ? static_cast<void>(0) : qt_assert("m_coreFuncs", __FILE__, 308)); | - |
| 328 | m_coreFuncs->initializeOpenGLFunctions(); | - |
| 329 | } never executed: end of block | 0 |
| 330 | | - |
| 331 | | - |
| 332 | | - |
| 333 | if (!m_fboGuard| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 334 | GLuint fbo; | - |
| 335 | m_coreFuncs->glGenFramebuffers(1, &fbo); | - |
| 336 | m_fboGuard = new QOpenGLSharedResourceGuard(ctx, fbo, freeFramebufferFunc); | - |
| 337 | } never executed: end of block | 0 |
| 338 | | - |
| 339 | | - |
| 340 | m_coreFuncs->glBindFramebuffer(0x8D40, m_fboGuard->id()); | - |
| 341 | | - |
| 342 | | - |
| 343 | m_coreFuncs->glFramebufferTexture2D(0x8D40, 0x8CE0, | - |
| 344 | | - |
| 345 | 0x0DE1 | - |
| 346 | , oldTexture, 0); | - |
| 347 | | - |
| 348 | | - |
| 349 | m_coreFuncs->glFramebufferTexture2D(0x8D40, 0x8CE1, | - |
| 350 | | - |
| 351 | 0x0DE1 | - |
| 352 | , texInfo->texture, 0); | - |
| 353 | | - |
| 354 | | - |
| 355 | m_coreFuncs->glReadBuffer(0x8CE0); | - |
| 356 | m_coreFuncs->glDrawBuffer(0x8CE1); | - |
| 357 | | - |
| 358 | | - |
| 359 | m_coreFuncs->glBlitFramebuffer(0, 0, oldWidth, oldHeight, | - |
| 360 | 0, 0, oldWidth, oldHeight, | - |
| 361 | | - |
| 362 | 0x00004000 | - |
| 363 | , | - |
| 364 | 0x2600 | - |
| 365 | ); | - |
| 366 | | - |
| 367 | | - |
| 368 | QOpenGLFramebufferObject::bindDefault(); | - |
| 369 | | - |
| 370 | return; never executed: return; | 0 |
| 371 | } else if (useTextureResizeWorkaround()| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-591 |
| 372 | | - |
| 373 | | - |
| 374 | | - |
| 375 | GLint alignment = 4; | - |
| 376 | m_funcs->glGetIntegerv( | - |
| 377 | 0x0CF5 | - |
| 378 | , &alignment); | - |
| 379 | m_funcs->glPixelStorei( | - |
| 380 | 0x0CF5 | - |
| 381 | , 1); | - |
| 382 | | - |
| 383 | | - |
| 384 | const GLenum format = isCoreProfile()| TRUE | never evaluated | | FALSE | never evaluated |
? | 0 |
| 385 | 0x1903 | - |
| 386 | : | - |
| 387 | 0x1906 | - |
| 388 | ; | - |
| 389 | | - |
| 390 | | - |
| 391 | | - |
| 392 | | - |
| 393 | if (useTextureUploadWorkaround()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 394 | for (int i = 0; i < texInfo->image.height()| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) { | 0 |
| 395 | m_funcs->glTexSubImage2D( | - |
| 396 | 0x0DE1 | - |
| 397 | , 0, | - |
| 398 | 0, i, oldWidth, 1, | - |
| 399 | format, | - |
| 400 | 0x1401 | - |
| 401 | , | - |
| 402 | texInfo->image.scanLine(i)); | - |
| 403 | } never executed: end of block | 0 |
| 404 | } never executed: end of block else { | 0 |
| 405 | m_funcs->glTexSubImage2D( | - |
| 406 | 0x0DE1 | - |
| 407 | , 0, | - |
| 408 | 0, 0, oldWidth, oldHeight, | - |
| 409 | format, | - |
| 410 | 0x1401 | - |
| 411 | , | - |
| 412 | texInfo->image.constBits()); | - |
| 413 | } never executed: end of block | 0 |
| 414 | | - |
| 415 | m_funcs->glPixelStorei( | - |
| 416 | 0x0CF5 | - |
| 417 | , alignment); | - |
| 418 | | - |
| 419 | texInfo->image = texInfo->image.copy(0, 0, width, height); | - |
| 420 | m_funcs->glDeleteTextures(1, &oldTexture); | - |
| 421 | return; never executed: return; | 0 |
| 422 | } | - |
| 423 | | - |
| 424 | if (!m_blitProgram| TRUE | evaluated 453 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | evaluated 138 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
|
) | 138-453 |
| 425 | createBlitProgram();executed 453 times by 11 tests: createBlitProgram();Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 453 |
| 426 | | - |
| 427 | ((m_blitProgram) ? static_cast<void>(0) : qt_assert("m_blitProgram", __FILE__, 382)); | - |
| 428 | | - |
| 429 | if (!m_fboGuard| TRUE | evaluated 453 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | evaluated 138 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
|
) { | 138-453 |
| 430 | GLuint fbo; | - |
| 431 | m_funcs->glGenFramebuffers(1, &fbo); | - |
| 432 | m_fboGuard = new QOpenGLSharedResourceGuard(ctx, fbo, freeFramebufferFunc); | - |
| 433 | }executed 453 times by 11 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 453 |
| 434 | m_funcs->glBindFramebuffer(0x8D40, m_fboGuard->id()); | - |
| 435 | | - |
| 436 | GLuint tmp_texture; | - |
| 437 | m_funcs->glGenTextures(1, &tmp_texture); | - |
| 438 | m_funcs->glBindTexture( | - |
| 439 | 0x0DE1 | - |
| 440 | , tmp_texture); | - |
| 441 | m_funcs->glTexParameteri( | - |
| 442 | 0x0DE1 | - |
| 443 | , | - |
| 444 | 0x2801 | - |
| 445 | , | - |
| 446 | 0x2600 | - |
| 447 | ); | - |
| 448 | m_funcs->glTexParameteri( | - |
| 449 | 0x0DE1 | - |
| 450 | , | - |
| 451 | 0x2800 | - |
| 452 | , | - |
| 453 | 0x2600 | - |
| 454 | ); | - |
| 455 | m_funcs->glTexParameteri( | - |
| 456 | 0x0DE1 | - |
| 457 | , | - |
| 458 | 0x2802 | - |
| 459 | , | - |
| 460 | 0x812F | - |
| 461 | ); | - |
| 462 | m_funcs->glTexParameteri( | - |
| 463 | 0x0DE1 | - |
| 464 | , | - |
| 465 | 0x2803 | - |
| 466 | , | - |
| 467 | 0x812F | - |
| 468 | ); | - |
| 469 | | - |
| 470 | if (!ctx->isOpenGLES()| TRUE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | never evaluated |
) | 0-591 |
| 471 | m_funcs->glTexParameteri(executed 591 times by 11 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 472 | 0x0DE1executed 591 times by 11 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 473 | , executed 591 times by 11 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 474 | 0x813Dexecuted 591 times by 11 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 475 | , 0);executed 591 times by 11 tests: m_funcs->glTexParameteri( 0x0DE1 , 0x813D , 0);Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 476 | | - |
| 477 | m_funcs->glTexImage2D( | - |
| 478 | 0x0DE1 | - |
| 479 | , 0, | - |
| 480 | 0x1908 | - |
| 481 | , oldWidth, oldHeight, 0, | - |
| 482 | | - |
| 483 | 0x1908 | - |
| 484 | , | - |
| 485 | 0x1401 | - |
| 486 | , nullptr); | - |
| 487 | m_funcs->glBindTexture( | - |
| 488 | 0x0DE1 | - |
| 489 | , 0); | - |
| 490 | m_funcs->glFramebufferTexture2D(0x8D40, 0x8CE0, | - |
| 491 | | - |
| 492 | 0x0DE1 | - |
| 493 | , tmp_texture, 0); | - |
| 494 | | - |
| 495 | m_funcs->glActiveTexture( | - |
| 496 | 0x84C0 | - |
| 497 | ); | - |
| 498 | m_funcs->glBindTexture( | - |
| 499 | 0x0DE1 | - |
| 500 | , oldTexture); | - |
| 501 | | - |
| 502 | | - |
| 503 | GLboolean stencilTestEnabled; | - |
| 504 | GLboolean depthTestEnabled; | - |
| 505 | GLboolean scissorTestEnabled; | - |
| 506 | GLboolean blendEnabled; | - |
| 507 | GLint viewport[4]; | - |
| 508 | GLint oldProgram; | - |
| 509 | m_funcs->glGetBooleanv( | - |
| 510 | 0x0B90 | - |
| 511 | , &stencilTestEnabled); | - |
| 512 | m_funcs->glGetBooleanv( | - |
| 513 | 0x0B71 | - |
| 514 | , &depthTestEnabled); | - |
| 515 | m_funcs->glGetBooleanv( | - |
| 516 | 0x0C11 | - |
| 517 | , &scissorTestEnabled); | - |
| 518 | m_funcs->glGetBooleanv( | - |
| 519 | 0x0BE2 | - |
| 520 | , &blendEnabled); | - |
| 521 | m_funcs->glGetIntegerv( | - |
| 522 | 0x0BA2 | - |
| 523 | , &viewport[0]); | - |
| 524 | m_funcs->glGetIntegerv(0x8B8D, &oldProgram); | - |
| 525 | | - |
| 526 | m_funcs->glDisable( | - |
| 527 | 0x0B90 | - |
| 528 | ); | - |
| 529 | m_funcs->glDisable( | - |
| 530 | 0x0B71 | - |
| 531 | ); | - |
| 532 | m_funcs->glDisable( | - |
| 533 | 0x0C11 | - |
| 534 | ); | - |
| 535 | m_funcs->glDisable( | - |
| 536 | 0x0BE2 | - |
| 537 | ); | - |
| 538 | | - |
| 539 | m_funcs->glViewport(0, 0, oldWidth, oldHeight); | - |
| 540 | | - |
| 541 | const bool vaoInit = m_vao.isCreated(); | - |
| 542 | if (isCoreProfile()| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-591 |
| 543 | if ( !vaoInit| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 544 | m_vao.create(); never executed: m_vao.create(); | 0 |
| 545 | m_vao.bind(); | - |
| 546 | } never executed: end of block | 0 |
| 547 | m_blitProgram->bind(); | - |
| 548 | if (!vaoInit| TRUE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | never evaluated |
|| !isCoreProfile()| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0-591 |
| 549 | m_blitBuffer.bind(); | - |
| 550 | | - |
| 551 | m_blitProgram->enableAttributeArray(int(QT_VERTEX_COORDS_ATTR)); | - |
| 552 | m_blitProgram->enableAttributeArray(int(QT_TEXTURE_COORDS_ATTR)); | - |
| 553 | m_blitProgram->setAttributeBuffer(int(QT_VERTEX_COORDS_ATTR), | - |
| 554 | 0x1406 | - |
| 555 | , 0, 2); | - |
| 556 | m_blitProgram->setAttributeBuffer(int(QT_TEXTURE_COORDS_ATTR), | - |
| 557 | 0x1406 | - |
| 558 | , 32, 2); | - |
| 559 | }executed 591 times by 11 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 560 | m_blitProgram->disableAttributeArray(int(QT_OPACITY_ATTR)); | - |
| 561 | m_blitProgram->setUniformValue("imageTexture", GLuint(0)); | - |
| 562 | | - |
| 563 | m_funcs->glDrawArrays( | - |
| 564 | 0x0006 | - |
| 565 | , 0, 4); | - |
| 566 | | - |
| 567 | m_funcs->glBindTexture( | - |
| 568 | 0x0DE1 | - |
| 569 | , texInfo->texture); | - |
| 570 | | - |
| 571 | if (useTextureUploadWorkaround()| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-591 |
| 572 | for (int i = 0; i < oldHeight| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) | 0 |
| 573 | m_funcs->glCopyTexSubImage2D( never executed: m_funcs->glCopyTexSubImage2D( 0x0DE1 , 0, 0, i, 0, i, oldWidth, 1); | 0 |
| 574 | 0x0DE1 never executed: m_funcs->glCopyTexSubImage2D( 0x0DE1 , 0, 0, i, 0, i, oldWidth, 1); | 0 |
| 575 | , 0, 0, i, 0, i, oldWidth, 1); never executed: m_funcs->glCopyTexSubImage2D( 0x0DE1 , 0, 0, i, 0, i, oldWidth, 1); | 0 |
| 576 | } never executed: end of block else { | 0 |
| 577 | m_funcs->glCopyTexSubImage2D( | - |
| 578 | 0x0DE1 | - |
| 579 | , 0, 0, 0, 0, 0, oldWidth, oldHeight); | - |
| 580 | }executed 591 times by 11 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 581 | | - |
| 582 | m_funcs->glFramebufferRenderbuffer(0x8D40, 0x8CE0, | - |
| 583 | 0x8D41, 0); | - |
| 584 | m_funcs->glDeleteTextures(1, &tmp_texture); | - |
| 585 | m_funcs->glDeleteTextures(1, &oldTexture); | - |
| 586 | | - |
| 587 | QOpenGLFramebufferObject::bindDefault(); | - |
| 588 | | - |
| 589 | | - |
| 590 | if (stencilTestEnabled| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-591 |
| 591 | m_funcs->glEnable( never executed: m_funcs->glEnable( 0x0B90 ); | 0 |
| 592 | 0x0B90 never executed: m_funcs->glEnable( 0x0B90 ); | 0 |
| 593 | ); never executed: m_funcs->glEnable( 0x0B90 ); | 0 |
| 594 | if (depthTestEnabled| TRUE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | never evaluated |
) | 0-591 |
| 595 | m_funcs->glEnable(executed 591 times by 11 tests: m_funcs->glEnable( 0x0B71 );Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 596 | 0x0B71executed 591 times by 11 tests: m_funcs->glEnable( 0x0B71 );Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 597 | );executed 591 times by 11 tests: m_funcs->glEnable( 0x0B71 );Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 598 | if (scissorTestEnabled| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-591 |
| 599 | m_funcs->glEnable( never executed: m_funcs->glEnable( 0x0C11 ); | 0 |
| 600 | 0x0C11 never executed: m_funcs->glEnable( 0x0C11 ); | 0 |
| 601 | ); never executed: m_funcs->glEnable( 0x0C11 ); | 0 |
| 602 | if (blendEnabled| TRUE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| | FALSE | never evaluated |
) | 0-591 |
| 603 | m_funcs->glEnable(executed 591 times by 11 tests: m_funcs->glEnable( 0x0BE2 );Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 604 | 0x0BE2executed 591 times by 11 tests: m_funcs->glEnable( 0x0BE2 );Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 605 | );executed 591 times by 11 tests: m_funcs->glEnable( 0x0BE2 );Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 606 | m_funcs->glViewport(viewport[0], viewport[1], viewport[2], viewport[3]); | - |
| 607 | m_funcs->glUseProgram(oldProgram); | - |
| 608 | | - |
| 609 | m_blitProgram->disableAttributeArray(int(QT_VERTEX_COORDS_ATTR)); | - |
| 610 | m_blitProgram->disableAttributeArray(int(QT_TEXTURE_COORDS_ATTR)); | - |
| 611 | if (isCoreProfile()| TRUE | never evaluated | | FALSE | evaluated 591 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-591 |
| 612 | m_vao.release(); never executed: m_vao.release(); | 0 |
| 613 | }executed 591 times by 11 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 591 |
| 614 | | - |
| 615 | bool QSGDefaultDistanceFieldGlyphCache::useTextureResizeWorkaround() const | - |
| 616 | { | - |
| 617 | static bool set = false; | - |
| 618 | static bool useWorkaround = false; | - |
| 619 | if (!set| TRUE | evaluated 48 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 31306 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
|
) { | 48-31306 |
| 620 | QOpenGLContextPrivate *ctx_p = static_cast<QOpenGLContextPrivate *>(QOpenGLContextPrivate::get(QOpenGLContext::currentContext())); | - |
| 621 | useWorkaround = ctx_p->workaround_brokenFBOReadBack| TRUE | never evaluated | | FALSE | evaluated 48 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-48 |
| 622 | || qmlUseGlyphCacheWorkaround()| TRUE | never evaluated | | FALSE | evaluated 48 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-48 |
| 623 | set = true; | - |
| 624 | }executed 48 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
| 48 |
| 625 | returnexecuted 31354 times by 24 tests: return useWorkaround;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
useWorkaround;executed 31354 times by 24 tests: return useWorkaround;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
| 31354 |
| 626 | } | - |
| 627 | | - |
| 628 | bool QSGDefaultDistanceFieldGlyphCache::useTextureUploadWorkaround() const | - |
| 629 | { | - |
| 630 | static bool set = false; | - |
| 631 | static bool useWorkaround = false; | - |
| 632 | if (!set| TRUE | evaluated 48 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 29111 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
|
) { | 48-29111 |
| 633 | useWorkaround = qstrcmp(reinterpret_cast<const char*>(m_funcs->glGetString( | - |
| 634 | 0x1F01 | - |
| 635 | )), | - |
| 636 | "Mali-400 MP") == 0; | - |
| 637 | set = true; | - |
| 638 | }executed 48 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
| 48 |
| 639 | returnexecuted 29159 times by 24 tests: return useWorkaround;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
useWorkaround;executed 29159 times by 24 tests: return useWorkaround;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
| 29159 |
| 640 | } | - |
| 641 | | - |
| 642 | bool QSGDefaultDistanceFieldGlyphCache::createFullSizeTextures() const | - |
| 643 | { | - |
| 644 | returnexecuted 1620 times by 24 tests: return qsgPreferFullSizeGlyphCacheTextures() && glyphCount() > QT_DISTANCEFIELD_HIGHGLYPHCOUNT();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
qsgPreferFullSizeGlyphCacheTextures() && glyphCount() > QT_DISTANCEFIELD_HIGHGLYPHCOUNT();executed 1620 times by 24 tests: return qsgPreferFullSizeGlyphCacheTextures() && glyphCount() > QT_DISTANCEFIELD_HIGHGLYPHCOUNT();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
| 1620 |
| 645 | } | - |
| 646 | | - |
| 647 | int QSGDefaultDistanceFieldGlyphCache::maxTextureSize() const | - |
| 648 | { | - |
| 649 | if (!m_maxTextureSize| TRUE | evaluated 1622 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 59246 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
|
) | 1622-59246 |
| 650 | m_funcs->glGetIntegerv(executed 1622 times by 24 tests: m_funcs->glGetIntegerv( 0x0D33 , &m_maxTextureSize);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
| 1622 |
| 651 | 0x0D33executed 1622 times by 24 tests: m_funcs->glGetIntegerv( 0x0D33 , &m_maxTextureSize);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
| 1622 |
| 652 | , &m_maxTextureSize);executed 1622 times by 24 tests: m_funcs->glGetIntegerv( 0x0D33 , &m_maxTextureSize);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
| 1622 |
| 653 | returnexecuted 60868 times by 24 tests: return m_maxTextureSize;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
m_maxTextureSize;executed 60868 times by 24 tests: return m_maxTextureSize;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
| 60868 |
| 654 | } | - |
| 655 | | - |
| 656 | | - |
| | |