| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | class QOpenGLVertexArrayObject; | - |
| 7 | | - |
| 8 | namespace QSGBatchRenderer | - |
| 9 | { | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | struct Vec; | - |
| 14 | struct Rect; | - |
| 15 | struct Buffer; | - |
| 16 | struct Chunk; | - |
| 17 | struct Batch; | - |
| 18 | struct Node; | - |
| 19 | class Updater; | - |
| 20 | class Renderer; | - |
| 21 | class ShaderManager; | - |
| 22 | | - |
| 23 | template <typename Type, int PageSize> class AllocatorPage | - |
| 24 | { | - |
| 25 | public: | - |
| 26 | | - |
| 27 | char data[sizeof(Type) * PageSize]; | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | int blocks[PageSize]; | - |
| 32 | | - |
| 33 | | - |
| 34 | int available; | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | QBitArray allocated; | - |
| 39 | | - |
| 40 | AllocatorPage() | - |
| 41 | : available(PageSize) | - |
| 42 | , allocated(PageSize) | - |
| 43 | { | - |
| 44 | for (int i=0; i<PageSize| TRUE | evaluated 1742336 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 12827 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
; ++i) | 12827-1742336 |
| 45 | blocks[i] = i;executed 1742336 times by 76 tests: blocks[i] = i;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1742336 |
| 46 | | - |
| 47 | | - |
| 48 | memset(data, 0, sizeof(data)); | - |
| 49 | }executed 12827 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 12827 |
| 50 | | - |
| 51 | const Type *at(uint index) const | - |
| 52 | { | - |
| 53 | return never executed: return (Type *) &data[index * sizeof(Type)]; (Type *) &data[index * sizeof(Type)];never executed: return (Type *) &data[index * sizeof(Type)]; | 0 |
| 54 | } | - |
| 55 | | - |
| 56 | Type *at(uint index) | - |
| 57 | { | - |
| 58 | returnexecuted 3209514 times by 76 tests: return (Type *) &data[index * sizeof(Type)];Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
(Type *) &data[index * sizeof(Type)];executed 3209514 times by 76 tests: return (Type *) &data[index * sizeof(Type)];Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 3209514 |
| 59 | } | - |
| 60 | }; | - |
| 61 | | - |
| 62 | template <typename Type, int PageSize> class Allocator | - |
| 63 | { | - |
| 64 | public: | - |
| 65 | Allocator() | - |
| 66 | { | - |
| 67 | pages.push_back(new AllocatorPage<Type, PageSize>()); | - |
| 68 | }executed 7166 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 7166 |
| 69 | | - |
| 70 | ~Allocator() | - |
| 71 | { | - |
| 72 | qDeleteAll(pages); | - |
| 73 | }executed 7166 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 7166 |
| 74 | | - |
| 75 | Type *allocate() | - |
| 76 | { | - |
| 77 | AllocatorPage<Type, PageSize> *p = 0; | - |
| 78 | for (int i = m_freePage; i < pages.size()| TRUE | evaluated 1614977 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 5661 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
|
; i++) { | 5661-1614977 |
| 79 | if (pages.at(i)->available > 0| TRUE | evaluated 1599102 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 15875 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 15875-1599102 |
| 80 | p = pages.at(i); | - |
| 81 | m_freePage = i; | - |
| 82 | break;executed 1599102 times by 76 tests: break;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1599102 |
| 83 | } | - |
| 84 | }executed 15875 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| 15875 |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | | - |
| 89 | | - |
| 90 | if (!p| TRUE | evaluated 5661 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| | FALSE | evaluated 1599102 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
) { | 5661-1599102 |
| 91 | p = new AllocatorPage<Type, PageSize>(); | - |
| 92 | m_freePage = pages.count(); | - |
| 93 | pages.push_back(p); | - |
| 94 | }executed 5661 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| 5661 |
| 95 | uint pos = p->blocks[PageSize - p->available]; | - |
| 96 | void *mem = p->at(pos); | - |
| 97 | p->available--; | - |
| 98 | p->allocated.setBit(pos); | - |
| 99 | Type *t = (Type*)mem; | - |
| 100 | returnexecuted 1604763 times by 76 tests: return t;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
t;executed 1604763 times by 76 tests: return t;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1604763 |
| 101 | } | - |
| 102 | | - |
| 103 | void releaseExplicit(uint pageIndex, uint index) | - |
| 104 | { | - |
| 105 | AllocatorPage<Type, PageSize> *page = pages.at(pageIndex); | - |
| 106 | if (!page->allocated.testBit(index)| TRUE | never evaluated | | FALSE | evaluated 1604751 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
) | 0-1604751 |
| 107 | QMessageLogger(__FILE__, 169, __PRETTY_FUNCTION__).fatal("Double delete in allocator: page=%d, index=%d", pageIndex , index); never executed: QMessageLogger(__FILE__, 169, __PRETTY_FUNCTION__).fatal("Double delete in allocator: page=%d, index=%d", pageIndex , index); | 0 |
| 108 | | - |
| 109 | | - |
| 110 | void *mem = page->at(index); | - |
| 111 | memset(mem, 0, sizeof(Type)); | - |
| 112 | | - |
| 113 | page->allocated[index] = false; | - |
| 114 | page->available++; | - |
| 115 | page->blocks[PageSize - page->available] = index; | - |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | while (page->available == PageSize| TRUE | evaluated 16911 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 1593501 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
&& pages.size() > 1| TRUE | evaluated 10291 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| | FALSE | evaluated 6620 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
&& pages.back() == page| TRUE | evaluated 5661 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| | FALSE | evaluated 4630 times by 6 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 4630-1593501 |
| 121 | pages.pop_back(); | - |
| 122 | delete page; | - |
| 123 | page = pages.back(); | - |
| 124 | }executed 5661 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| 5661 |
| 125 | | - |
| 126 | | - |
| 127 | m_freePage = 0; | - |
| 128 | }executed 1604751 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1604751 |
| 129 | | - |
| 130 | void release(Type *t) | - |
| 131 | { | - |
| 132 | int pageIndex = -1; | - |
| 133 | for (int i=0; i<pages.size()| TRUE | evaluated 196971726 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | never evaluated |
; ++i) { | 0-196971726 |
| 134 | AllocatorPage<Type, PageSize> *p = pages.at(i); | - |
| 135 | if ((| TRUE | evaluated 191829294 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 5142432 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
|
Type *) (&p->data[0]) <= t| TRUE | evaluated 191829294 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 5142432 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
|
&& (| TRUE | evaluated 1604751 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 190224543 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
|
Type *) (&p->data[PageSize * sizeof(Type)]) > t| TRUE | evaluated 1604751 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 190224543 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
|
) { | 1604751-191829294 |
| 136 | pageIndex = i; | - |
| 137 | break;executed 1604751 times by 76 tests: break;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1604751 |
| 138 | } | - |
| 139 | }executed 195366975 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_scenegraph
| 195366975 |
| 140 | ((pageIndex >= 0) ? static_cast<void>(0) : qt_assert("pageIndex >= 0", __FILE__, 202)); | - |
| 141 | | - |
| 142 | AllocatorPage<Type, PageSize> *page = pages.at(pageIndex); | - |
| 143 | int index = (quint64(t) - quint64(&page->data[0])) / sizeof(Type); | - |
| 144 | | - |
| 145 | releaseExplicit(pageIndex, index); | - |
| 146 | }executed 1604751 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1604751 |
| 147 | | - |
| 148 | QVector<AllocatorPage<Type, PageSize> *> pages; | - |
| 149 | int m_freePage = 0; | - |
| 150 | }; | - |
| 151 | | - |
| 152 | | - |
| 153 | inline bool hasMaterialWithBlending(QSGGeometryNode *n) | - |
| 154 | { | - |
| 155 | returnexecuted 545089 times by 71 tests: return (n->opaqueMaterial() ? n->opaqueMaterial()->flags() & QSGMaterial::Blending : n->material()->flags() & QSGMaterial::Blending);Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
(n->opaqueMaterial() ? n->opaqueMaterial()->flags() & QSGMaterial::Blendingexecuted 545089 times by 71 tests: return (n->opaqueMaterial() ? n->opaqueMaterial()->flags() & QSGMaterial::Blending : n->material()->flags() & QSGMaterial::Blending);Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| 545089 |
| 156 | : n->material()->flags() & QSGMaterial::Blending);executed 545089 times by 71 tests: return (n->opaqueMaterial() ? n->opaqueMaterial()->flags() & QSGMaterial::Blending : n->material()->flags() & QSGMaterial::Blending);Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| 545089 |
| 157 | } | - |
| 158 | | - |
| 159 | struct Pt { | - |
| 160 | float x, y; | - |
| 161 | | - |
| 162 | void map(const QMatrix4x4 &mat) { | - |
| 163 | Pt r; | - |
| 164 | const float *m = mat.constData(); | - |
| 165 | r.x = x * m[0] + y * m[4] + m[12]; | - |
| 166 | r.y = x * m[1] + y * m[5] + m[13]; | - |
| 167 | x = r.x; | - |
| 168 | y = r.y; | - |
| 169 | }executed 7194 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickspritesequence
- tst_scenegraph
| 7194 |
| 170 | | - |
| 171 | void set(float nx, float ny) { | - |
| 172 | x = nx; | - |
| 173 | y = ny; | - |
| 174 | }executed 1002724 times by 59 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 1002724 |
| 175 | }; | - |
| 176 | | - |
| 177 | inline QDebug operator << (QDebug d, const Pt &p) { | - |
| 178 | d << "Pt(" << p.x << p.y << ")"; | - |
| 179 | return never executed: return d; d;never executed: return d; | 0 |
| 180 | } | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | struct Rect { | - |
| 185 | Pt tl, br; | - |
| 186 | | - |
| 187 | void operator |= (const Pt &pt) { | - |
| 188 | if (pt.x < tl.x| TRUE | evaluated 531834 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 10682545 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 531834-10682545 |
| 189 | tl.x = pt.x;executed 531834 times by 58 tests: tl.x = pt.x;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 531834 |
| 190 | if (pt.x > br.x| TRUE | evaluated 3171979 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 8042400 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 3171979-8042400 |
| 191 | br.x = pt.x;executed 3171979 times by 58 tests: br.x = pt.x;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 3171979 |
| 192 | if (pt.y < tl.y| TRUE | evaluated 667317 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 10547062 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 667317-10547062 |
| 193 | tl.y = pt.y;executed 667317 times by 58 tests: tl.y = pt.y;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 667317 |
| 194 | if (pt.y > br.y| TRUE | evaluated 1345546 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 9868833 times by 58 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 1345546-9868833 |
| 195 | br.y = pt.y;executed 1345546 times by 58 tests: br.y = pt.y;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 1345546 |
| 196 | }executed 11214379 times by 58 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 11214379 |
| 197 | | - |
| 198 | void operator |= (const Rect &r) { | - |
| 199 | if (r.tl.x < tl.x| TRUE | evaluated 16821 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 1437885 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_scenegraph
|
) | 16821-1437885 |
| 200 | tl.x = r.tl.x;executed 16821 times by 16 tests: tl.x = r.tl.x;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| 16821 |
| 201 | if (r.tl.y < tl.y| TRUE | evaluated 16215 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 1438491 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_scenegraph
|
) | 16215-1438491 |
| 202 | tl.y = r.tl.y;executed 16215 times by 16 tests: tl.y = r.tl.y;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| 16215 |
| 203 | if (r.br.x > br.x| TRUE | evaluated 18743 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 1435963 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_scenegraph
|
) | 18743-1435963 |
| 204 | br.x = r.br.x;executed 18743 times by 16 tests: br.x = r.br.x;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| 18743 |
| 205 | if (r.br.y > br.y| TRUE | evaluated 19070 times by 16 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 1435636 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktaphandler
- tst_scenegraph
|
) | 19070-1435636 |
| 206 | br.y = r.br.y;executed 19070 times by 16 tests: br.y = r.br.y;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| 19070 |
| 207 | }executed 1454706 times by 16 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| 1454706 |
| 208 | | - |
| 209 | void map(const QMatrix4x4 &m); | - |
| 210 | | - |
| 211 | void set(float left, float top, float right, float bottom) { | - |
| 212 | tl.set(left, top); | - |
| 213 | br.set(right, bottom); | - |
| 214 | }executed 501362 times by 59 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 501362 |
| 215 | | - |
| 216 | bool intersects(const Rect &r) { | - |
| 217 | bool xOverlap = r.tl.x < br.x| TRUE | evaluated 9852 times by 11 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 546963 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrectangleextruder
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquicktrailemitter
- ...
|
&& r.br.x > tl.x| TRUE | evaluated 6924 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 2928 times by 3 testsEvaluated by:- tst_examples
- tst_qquickdraghandler
- tst_qquickfocusscope
|
; | 2928-546963 |
| 218 | bool yOverlap = r.tl.y < br.y| TRUE | evaluated 7283 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_scenegraph
| | FALSE | evaluated 549532 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrectangleextruder
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
- ...
|
&& r.br.y > tl.y| TRUE | evaluated 5105 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_scenegraph
| | FALSE | evaluated 2178 times by 4 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquicklistview
|
; | 2178-549532 |
| 219 | returnexecuted 556815 times by 29 tests: return xOverlap && yOverlap;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrectangleextruder
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
- ...
xOverlap && yOverlap;executed 556815 times by 29 tests: return xOverlap && yOverlap;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrectangleextruder
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
- ...
| 556815 |
| 220 | } | - |
| 221 | | - |
| 222 | bool isOutsideFloatRange() const { | - |
| 223 | returnexecuted 452122 times by 58 tests: return tl.x < -1000000.0f || tl.y < -1000000.0f || br.x > 1000000.0f || br.y > 1000000.0f;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
tl.x < -1000000.0fexecuted 452122 times by 58 tests: return tl.x < -1000000.0f || tl.y < -1000000.0f || br.x > 1000000.0f || br.y > 1000000.0f;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 452122 |
| 224 | || tl.y < -1000000.0fexecuted 452122 times by 58 tests: return tl.x < -1000000.0f || tl.y < -1000000.0f || br.x > 1000000.0f || br.y > 1000000.0f;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 452122 |
| 225 | || br.x > 1000000.0fexecuted 452122 times by 58 tests: return tl.x < -1000000.0f || tl.y < -1000000.0f || br.x > 1000000.0f || br.y > 1000000.0f;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 452122 |
| 226 | || br.y > 1000000.0f;executed 452122 times by 58 tests: return tl.x < -1000000.0f || tl.y < -1000000.0f || br.x > 1000000.0f || br.y > 1000000.0f;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 452122 |
| 227 | } | - |
| 228 | }; | - |
| 229 | | - |
| 230 | inline QDebug operator << (QDebug d, const Rect &r) { | - |
| 231 | d << "Rect(" << r.tl.x << r.tl.y << r.br.x << r.br.y << ")"; | - |
| 232 | return never executed: return d; d;never executed: return d; | 0 |
| 233 | } | - |
| 234 | | - |
| 235 | struct Buffer { | - |
| 236 | uint id; | - |
| 237 | int size; | - |
| 238 | | - |
| 239 | | - |
| 240 | char *data; | - |
| 241 | }; | - |
| 242 | | - |
| 243 | struct Element { | - |
| 244 | | - |
| 245 | Element() | - |
| 246 | : boundsComputed(false) | - |
| 247 | , boundsOutsideFloatRange(false) | - |
| 248 | , translateOnlyToRoot(false) | - |
| 249 | , removed(false) | - |
| 250 | , orphaned(false) | - |
| 251 | , isRenderNode(false) | - |
| 252 | , isMaterialBlended(false) | - |
| 253 | { | - |
| 254 | }executed 22 times by 1 test: end of block | 22 |
| 255 | | - |
| 256 | void setNode(QSGGeometryNode *n) { | - |
| 257 | node = n; | - |
| 258 | isMaterialBlended = hasMaterialWithBlending(n); | - |
| 259 | }executed 534603 times by 71 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| 534603 |
| 260 | | - |
| 261 | inline void ensureBoundsValid() { | - |
| 262 | if (!boundsComputed| TRUE | evaluated 452822 times by 59 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 138997 times by 17 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
- tst_scenegraph
|
) | 138997-452822 |
| 263 | computeBounds();executed 452822 times by 59 tests: computeBounds();Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 452822 |
| 264 | }executed 591819 times by 59 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 591819 |
| 265 | void computeBounds(); | - |
| 266 | | - |
| 267 | QSGGeometryNode *node = nullptr; | - |
| 268 | Batch *batch = nullptr; | - |
| 269 | Element *nextInBatch = nullptr; | - |
| 270 | Node *root = nullptr; | - |
| 271 | | - |
| 272 | Rect bounds; | - |
| 273 | | - |
| 274 | int order = 0; | - |
| 275 | | - |
| 276 | uint boundsComputed : 1; | - |
| 277 | uint boundsOutsideFloatRange : 1; | - |
| 278 | uint translateOnlyToRoot : 1; | - |
| 279 | uint removed : 1; | - |
| 280 | uint orphaned : 1; | - |
| 281 | uint isRenderNode : 1; | - |
| 282 | uint isMaterialBlended : 1; | - |
| 283 | }; | - |
| 284 | | - |
| 285 | struct RenderNodeElement : public Element { | - |
| 286 | | - |
| 287 | RenderNodeElement(QSGRenderNode *rn) | - |
| 288 | : renderNode(rn) | - |
| 289 | { | - |
| 290 | isRenderNode = true; | - |
| 291 | }executed 22 times by 1 test: end of block | 22 |
| 292 | | - |
| 293 | QSGRenderNode *renderNode; | - |
| 294 | }; | - |
| 295 | | - |
| 296 | struct BatchRootInfo { | - |
| 297 | BatchRootInfo() {} | - |
| 298 | QSet<Node *> subRoots; | - |
| 299 | Node *parentRoot = nullptr; | - |
| 300 | int lastOrder = -1; | - |
| 301 | int firstOrder = -1; | - |
| 302 | int availableOrders = 0; | - |
| 303 | }; | - |
| 304 | | - |
| 305 | struct ClipBatchRootInfo : public BatchRootInfo | - |
| 306 | { | - |
| 307 | QMatrix4x4 matrix; | - |
| 308 | }; | - |
| 309 | | - |
| 310 | struct DrawSet | - |
| 311 | { | - |
| 312 | DrawSet(int v, int z, int i) | - |
| 313 | : vertices(v) | - |
| 314 | , zorders(z) | - |
| 315 | , indices(i) | - |
| 316 | { | - |
| 317 | }executed 77853 times by 70 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 77853 |
| 318 | DrawSet() {} | - |
| 319 | int vertices = 0; | - |
| 320 | int zorders = 0; | - |
| 321 | int indices = 0; | - |
| 322 | int indexCount = 0; | - |
| 323 | }; | - |
| 324 | | - |
| 325 | enum BatchCompatibility | - |
| 326 | { | - |
| 327 | BatchBreaksOnCompare, | - |
| 328 | BatchIsCompatible | - |
| 329 | }; | - |
| 330 | | - |
| 331 | struct Batch | - |
| 332 | { | - |
| 333 | Batch() : drawSets(1) {}executed 6621 times by 70 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 6621 |
| 334 | bool geometryWasChanged(QSGGeometryNode *gn); | - |
| 335 | BatchCompatibility isMaterialCompatible(Element *e) const; | - |
| 336 | void invalidate(); | - |
| 337 | void cleanupRemovedElements(); | - |
| 338 | | - |
| 339 | bool isTranslateOnlyToRoot() const; | - |
| 340 | bool isSafeToBatch() const; | - |
| 341 | | - |
| 342 | | - |
| 343 | void init() { | - |
| 344 | first = nullptr; | - |
| 345 | root = nullptr; | - |
| 346 | vertexCount = 0; | - |
| 347 | indexCount = 0; | - |
| 348 | isOpaque = false; | - |
| 349 | needsUpload = false; | - |
| 350 | merged = false; | - |
| 351 | positionAttribute = -1; | - |
| 352 | uploadedThisFrame = false; | - |
| 353 | isRenderNode = false; | - |
| 354 | }executed 71944 times by 70 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 71944 |
| 355 | | - |
| 356 | Element *first; | - |
| 357 | Node *root; | - |
| 358 | | - |
| 359 | int positionAttribute; | - |
| 360 | | - |
| 361 | int vertexCount; | - |
| 362 | int indexCount; | - |
| 363 | | - |
| 364 | int lastOrderInBatch; | - |
| 365 | | - |
| 366 | uint isOpaque : 1; | - |
| 367 | uint needsUpload : 1; | - |
| 368 | uint merged : 1; | - |
| 369 | uint isRenderNode : 1; | - |
| 370 | | - |
| 371 | mutable uint uploadedThisFrame : 1; | - |
| 372 | | - |
| 373 | Buffer vbo; | - |
| 374 | Buffer ibo; | - |
| 375 | | - |
| 376 | QDataBuffer<DrawSet> drawSets; | - |
| 377 | }; | - |
| 378 | | - |
| 379 | | - |
| 380 | struct Node | - |
| 381 | { | - |
| 382 | QSGNode *sgNode; | - |
| 383 | void *data; | - |
| 384 | | - |
| 385 | Node *m_parent; | - |
| 386 | Node *m_child; | - |
| 387 | Node *m_next; | - |
| 388 | Node *m_prev; | - |
| 389 | | - |
| 390 | Node *parent() const { returnexecuted 2933415 times by 76 tests: return m_parent;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_parent;executed 2933415 times by 76 tests: return m_parent;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 2933415 |
| 391 | | - |
| 392 | void append(Node *child) { | - |
| 393 | ((child) ? static_cast<void>(0) : qt_assert("child", __FILE__, 455)); | - |
| 394 | ((!hasChild(child)) ? static_cast<void>(0) : qt_assert("!hasChild(child)", __FILE__, 456)); | - |
| 395 | ((child->m_parent == nullptr) ? static_cast<void>(0) : qt_assert("child->m_parent == nullptr", __FILE__, 457)); | - |
| 396 | ((child->m_next == nullptr) ? static_cast<void>(0) : qt_assert("child->m_next == nullptr", __FILE__, 458)); | - |
| 397 | ((child->m_prev == nullptr) ? static_cast<void>(0) : qt_assert("child->m_prev == nullptr", __FILE__, 459)); | - |
| 398 | | - |
| 399 | if (!m_child| TRUE | evaluated 561650 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 504927 times by 64 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 504927-561650 |
| 400 | child->m_next = child; | - |
| 401 | child->m_prev = child; | - |
| 402 | m_child = child; | - |
| 403 | }executed 561650 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
else { | 561650 |
| 404 | m_child->m_prev->m_next = child; | - |
| 405 | child->m_prev = m_child->m_prev; | - |
| 406 | m_child->m_prev = child; | - |
| 407 | child->m_next = m_child; | - |
| 408 | }executed 504927 times by 64 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 504927 |
| 409 | child->setParent(this); | - |
| 410 | }executed 1066577 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1066577 |
| 411 | | - |
| 412 | void remove(Node *child) { | - |
| 413 | ((child) ? static_cast<void>(0) : qt_assert("child", __FILE__, 475)); | - |
| 414 | ((hasChild(child)) ? static_cast<void>(0) : qt_assert("hasChild(child)", __FILE__, 476)); | - |
| 415 | | - |
| 416 | | - |
| 417 | if (child->m_next == child| TRUE | evaluated 561618 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 504923 times by 64 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 504923-561618 |
| 418 | m_child = nullptr; | - |
| 419 | }executed 561618 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
else { | 561618 |
| 420 | if (m_child == child| TRUE | evaluated 487188 times by 64 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 17735 times by 17 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
) | 17735-487188 |
| 421 | m_child = child->m_next;executed 487188 times by 64 tests: m_child = child->m_next;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 487188 |
| 422 | child->m_next->m_prev = child->m_prev; | - |
| 423 | child->m_prev->m_next = child->m_next; | - |
| 424 | }executed 504923 times by 64 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 504923 |
| 425 | child->m_next = nullptr; | - |
| 426 | child->m_prev = nullptr; | - |
| 427 | child->setParent(nullptr); | - |
| 428 | }executed 1066541 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 1066541 |
| 429 | | - |
| 430 | Node *firstChild() const { returnexecuted 6273188 times by 76 tests: return m_child;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_child;executed 6273188 times by 76 tests: return m_child;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 6273188 |
| 431 | | - |
| 432 | Node *sibling() const { | - |
| 433 | ((m_parent) ? static_cast<void>(0) : qt_assert("m_parent", __FILE__, 495)); | - |
| 434 | returnexecuted 2147483647 times by 76 tests: return m_next == m_parent->m_child ? nullptr : m_next;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
m_next == m_parent->m_child ? nullptr : m_next;executed 2147483647 times by 76 tests: return m_next == m_parent->m_child ? nullptr : m_next;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| Inf |
| 435 | } | - |
| 436 | | - |
| 437 | void setParent(Node *p) { | - |
| 438 | ((m_parent == nullptr || p == nullptr) ? static_cast<void>(0) : qt_assert("m_parent == nullptr || p == nullptr", __FILE__, 500)); | - |
| 439 | m_parent = p; | - |
| 440 | }executed 2133118 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 2133118 |
| 441 | | - |
| 442 | bool hasChild(Node *child) const { | - |
| 443 | Node *n = m_child; | - |
| 444 | while (n| TRUE | evaluated 2147483647 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| | FALSE | evaluated 1066577 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
&& n != child| TRUE | evaluated 2147483647 times by 64 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 1066541 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
|
) | 1066541-Inf |
| 445 | n = n->sibling();executed 2147483647 times by 64 tests: n = n->sibling();Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| Inf |
| 446 | returnexecuted 2133118 times by 76 tests: return n;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
n;executed 2133118 times by 76 tests: return n;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 2133118 |
| 447 | } | - |
| 448 | | - |
| 449 | | - |
| 450 | | - |
| 451 | QSGNode::DirtyState dirtyState; | - |
| 452 | | - |
| 453 | uint isOpaque : 1; | - |
| 454 | uint isBatchRoot : 1; | - |
| 455 | uint becameBatchRoot : 1; | - |
| 456 | | - |
| 457 | inline QSGNode::NodeType type() const { returnexecuted 6571193 times by 76 tests: return sgNode->type();Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
sgNode->type();executed 6571193 times by 76 tests: return sgNode->type();Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
} | 6571193 |
| 458 | | - |
| 459 | inline Element *element() const { | - |
| 460 | ((sgNode->type() == QSGNode::GeometryNodeType) ? static_cast<void>(0) : qt_assert("sgNode->type() == QSGNode::GeometryNodeType", __FILE__, 522)); | - |
| 461 | returnexecuted 4229836 times by 71 tests: return (Element *) data;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
(Element *) data;executed 4229836 times by 71 tests: return (Element *) data;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| 4229836 |
| 462 | } | - |
| 463 | | - |
| 464 | inline RenderNodeElement *renderNodeElement() const { | - |
| 465 | ((sgNode->type() == QSGNode::RenderNodeType) ? static_cast<void>(0) : qt_assert("sgNode->type() == QSGNode::RenderNodeType", __FILE__, 527)); | - |
| 466 | returnexecuted 44 times by 1 test: return (RenderNodeElement *) data; (RenderNodeElement *) data;executed 44 times by 1 test: return (RenderNodeElement *) data; | 44 |
| 467 | } | - |
| 468 | | - |
| 469 | inline ClipBatchRootInfo *clipInfo() const { | - |
| 470 | ((sgNode->type() == QSGNode::ClipNodeType) ? static_cast<void>(0) : qt_assert("sgNode->type() == QSGNode::ClipNodeType", __FILE__, 532)); | - |
| 471 | returnexecuted 817 times by 9 tests: return (ClipBatchRootInfo *) data;Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
(ClipBatchRootInfo *) data;executed 817 times by 9 tests: return (ClipBatchRootInfo *) data;Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
| 817 |
| 472 | } | - |
| 473 | | - |
| 474 | inline BatchRootInfo *rootInfo() const { | - |
| 475 | ((sgNode->type() == QSGNode::ClipNodeType || (sgNode->type() == QSGNode::TransformNodeType && isBatchRoot)) ? static_cast<void>(0) : qt_assert("sgNode->type() == QSGNode::ClipNodeType || (sgNode->type() == QSGNode::TransformNodeType && isBatchRoot)", | - |
| 476 | __FILE__ | - |
| 477 | , | - |
| 478 | 538 | - |
| 479 | )) | - |
| 480 | ; | - |
| 481 | returnexecuted 343780 times by 10 tests: return (BatchRootInfo *) data;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
(BatchRootInfo *) data;executed 343780 times by 10 tests: return (BatchRootInfo *) data;Executed by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_rendernode
- tst_scenegraph
| 343780 |
| 482 | } | - |
| 483 | }; | - |
| 484 | | - |
| 485 | class Updater : public QSGNodeUpdater | - |
| 486 | { | - |
| 487 | public: | - |
| 488 | Updater(Renderer *r); | - |
| 489 | | - |
| 490 | void visitOpacityNode(Node *n); | - |
| 491 | void visitTransformNode(Node *n); | - |
| 492 | void visitGeometryNode(Node *n); | - |
| 493 | void visitClipNode(Node *n); | - |
| 494 | void updateRootTransforms(Node *n); | - |
| 495 | void updateRootTransforms(Node *n, Node *root, const QMatrix4x4 &combined); | - |
| 496 | | - |
| 497 | void updateStates(QSGNode *n) override; | - |
| 498 | void visitNode(Node *n); | - |
| 499 | void registerWithParentRoot(QSGNode *subRoot, QSGNode *parentRoot); | - |
| 500 | | - |
| 501 | private: | - |
| 502 | Renderer *renderer; | - |
| 503 | | - |
| 504 | QDataBuffer<Node *> m_roots; | - |
| 505 | QDataBuffer<QMatrix4x4> m_rootMatrices; | - |
| 506 | | - |
| 507 | int m_added; | - |
| 508 | int m_transformChange; | - |
| 509 | int m_opacityChange; | - |
| 510 | | - |
| 511 | QMatrix4x4 m_identityMatrix; | - |
| 512 | }; | - |
| 513 | | - |
| 514 | class ShaderManager : public QObject | - |
| 515 | { | - |
| 516 | public: | - |
| 517 | #pragma GCC diagnostic push | - |
| 518 | | - |
| 519 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 520 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
| 521 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 522 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 523 | #pragma GCC diagnostic pop | - |
| 524 | struct QPrivateSignal {}; | - |
| 525 | public: | - |
| 526 | struct Shader { | - |
| 527 | ~Shader() { delete program; }executed 4504 times by 70 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 4504 |
| 528 | int id_zRange; | - |
| 529 | int pos_order; | - |
| 530 | QSGMaterialShader *program; | - |
| 531 | | - |
| 532 | float lastOpacity; | - |
| 533 | }; | - |
| 534 | | - |
| 535 | ShaderManager(QSGDefaultRenderContext *ctx) : visualizeProgram(nullptr), blitProgram(nullptr), context(ctx) { }executed 260 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 260 |
| 536 | ~ShaderManager() { | - |
| 537 | qDeleteAll(rewrittenShaders); | - |
| 538 | qDeleteAll(stockShaders); | - |
| 539 | }executed 260 times by 76 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- ...
| 260 |
| 540 | | - |
| 541 | public : | - |
| 542 | void invalidated(); | - |
| 543 | | - |
| 544 | public: | - |
| 545 | Shader *prepareMaterial(QSGMaterial *material); | - |
| 546 | Shader *prepareMaterialNoRewrite(QSGMaterial *material); | - |
| 547 | | - |
| 548 | QOpenGLShaderProgram *visualizeProgram; | - |
| 549 | | - |
| 550 | private: | - |
| 551 | QHash<QSGMaterialType *, Shader *> rewrittenShaders; | - |
| 552 | QHash<QSGMaterialType *, Shader *> stockShaders; | - |
| 553 | | - |
| 554 | QOpenGLShaderProgram *blitProgram; | - |
| 555 | QSGDefaultRenderContext *context; | - |
| 556 | }; | - |
| 557 | | - |
| 558 | class __attribute__((visibility("default"))) Renderer : public QSGRenderer, public QOpenGLFunctions | - |
| 559 | { | - |
| 560 | public: | - |
| 561 | Renderer(QSGDefaultRenderContext *); | - |
| 562 | ~Renderer(); | - |
| 563 | | - |
| 564 | enum VisualizeMode { | - |
| 565 | VisualizeNothing, | - |
| 566 | VisualizeBatches, | - |
| 567 | VisualizeClipping, | - |
| 568 | VisualizeChanges, | - |
| 569 | VisualizeOverdraw | - |
| 570 | }; | - |
| 571 | | - |
| 572 | protected: | - |
| 573 | void nodeChanged(QSGNode *node, QSGNode::DirtyState state) override; | - |
| 574 | void render() override; | - |
| 575 | void releaseCachedResources() override; | - |
| 576 | | - |
| 577 | private: | - |
| 578 | enum ClipTypeBit | - |
| 579 | { | - |
| 580 | NoClip = 0x00, | - |
| 581 | ScissorClip = 0x01, | - |
| 582 | StencilClip = 0x02 | - |
| 583 | }; | - |
| 584 | typedef QFlags<ClipTypeBit> ClipType; | - |
| 585 | | - |
| 586 | enum RebuildFlag { | - |
| 587 | BuildRenderListsForTaggedRoots = 0x0001, | - |
| 588 | BuildRenderLists = 0x0002, | - |
| 589 | BuildBatches = 0x0004, | - |
| 590 | FullRebuild = 0xffff | - |
| 591 | }; | - |
| 592 | | - |
| 593 | friend class Updater; | - |
| 594 | | - |
| 595 | void map(Buffer *buffer, int size, bool isIndexBuf = false); | - |
| 596 | void unmap(Buffer *buffer, bool isIndexBuf = false); | - |
| 597 | | - |
| 598 | void buildRenderListsFromScratch(); | - |
| 599 | void buildRenderListsForTaggedRoots(); | - |
| 600 | void tagSubRoots(Node *node); | - |
| 601 | void buildRenderLists(QSGNode *node); | - |
| 602 | | - |
| 603 | void deleteRemovedElements(); | - |
| 604 | void cleanupBatches(QDataBuffer<Batch *> *batches); | - |
| 605 | void prepareOpaqueBatches(); | - |
| 606 | bool checkOverlap(int first, int last, const Rect &bounds); | - |
| 607 | void prepareAlphaBatches(); | - |
| 608 | void invalidateBatchAndOverlappingRenderOrders(Batch *batch); | - |
| 609 | | - |
| 610 | void uploadBatch(Batch *b); | - |
| 611 | void uploadMergedElement(Element *e, int vaOffset, char **vertexData, char **zData, char **indexData, quint16 *iBase, int *indexCount); | - |
| 612 | | - |
| 613 | void renderBatches(); | - |
| 614 | void renderMergedBatch(const Batch *batch); | - |
| 615 | void renderUnmergedBatch(const Batch *batch); | - |
| 616 | ClipType updateStencilClip(const QSGClipNode *clip); | - |
| 617 | void updateClip(const QSGClipNode *clipList, const Batch *batch); | - |
| 618 | const QMatrix4x4 &matrixForRoot(Node *node); | - |
| 619 | void renderRenderNode(Batch *batch); | - |
| 620 | void setActiveShader(QSGMaterialShader *program, ShaderManager::Shader *shader); | - |
| 621 | | - |
| 622 | bool changeBatchRoot(Node *node, Node *newRoot); | - |
| 623 | void registerBatchRoot(Node *childRoot, Node *parentRoot); | - |
| 624 | void removeBatchRootFromParent(Node *childRoot); | - |
| 625 | void nodeChangedBatchRoot(Node *node, Node *root); | - |
| 626 | void turnNodeIntoBatchRoot(Node *node); | - |
| 627 | void nodeWasTransformed(Node *node, int *vertexCount); | - |
| 628 | void nodeWasRemoved(Node *node); | - |
| 629 | void nodeWasAdded(QSGNode *node, Node *shadowParent); | - |
| 630 | BatchRootInfo *batchRootInfo(Node *node); | - |
| 631 | void updateLineWidth(QSGGeometry *g); | - |
| 632 | | - |
| 633 | inline Batch *newBatch(); | - |
| 634 | void invalidateAndRecycleBatch(Batch *b); | - |
| 635 | | - |
| 636 | void visualize(); | - |
| 637 | void visualizeBatch(Batch *b); | - |
| 638 | void visualizeClipping(QSGNode *node); | - |
| 639 | void visualizeChangesPrepare(Node *n, uint parentChanges = 0); | - |
| 640 | void visualizeChanges(Node *n); | - |
| 641 | void visualizeOverdraw(); | - |
| 642 | void visualizeOverdraw_helper(Node *node); | - |
| 643 | void visualizeDrawGeometry(const QSGGeometry *g); | - |
| 644 | void setCustomRenderMode(const QByteArray &mode) override; | - |
| 645 | | - |
| 646 | QSGDefaultRenderContext *m_context; | - |
| 647 | QSet<Node *> m_taggedRoots; | - |
| 648 | QDataBuffer<Element *> m_opaqueRenderList; | - |
| 649 | QDataBuffer<Element *> m_alphaRenderList; | - |
| 650 | int m_nextRenderOrder; | - |
| 651 | bool m_partialRebuild; | - |
| 652 | QSGNode *m_partialRebuildRoot; | - |
| 653 | | - |
| 654 | bool m_useDepthBuffer; | - |
| 655 | | - |
| 656 | QHash<QSGRenderNode *, RenderNodeElement *> m_renderNodeElements; | - |
| 657 | QDataBuffer<Batch *> m_opaqueBatches; | - |
| 658 | QDataBuffer<Batch *> m_alphaBatches; | - |
| 659 | QHash<QSGNode *, Node *> m_nodes; | - |
| 660 | | - |
| 661 | QDataBuffer<Batch *> m_batchPool; | - |
| 662 | QDataBuffer<Element *> m_elementsToDelete; | - |
| 663 | QDataBuffer<Element *> m_tmpAlphaElements; | - |
| 664 | QDataBuffer<Element *> m_tmpOpaqueElements; | - |
| 665 | | - |
| 666 | uint m_rebuild; | - |
| 667 | qreal m_zRange; | - |
| 668 | int m_renderOrderRebuildLower; | - |
| 669 | int m_renderOrderRebuildUpper; | - |
| 670 | | - |
| 671 | uint m_bufferStrategy; | - |
| 672 | int m_batchNodeThreshold; | - |
| 673 | int m_batchVertexThreshold; | - |
| 674 | | - |
| 675 | | - |
| 676 | ShaderManager *m_shaderManager; | - |
| 677 | QSGMaterial *m_currentMaterial; | - |
| 678 | QSGMaterialShader *m_currentProgram; | - |
| 679 | ShaderManager::Shader *m_currentShader; | - |
| 680 | | - |
| 681 | QRect m_currentScissorRect; | - |
| 682 | int m_currentStencilValue; | - |
| 683 | QOpenGLShaderProgram m_clipProgram; | - |
| 684 | int m_clipMatrixId; | - |
| 685 | const QSGClipNode *m_currentClip; | - |
| 686 | ClipType m_currentClipType; | - |
| 687 | | - |
| 688 | QDataBuffer<char> m_vertexUploadPool; | - |
| 689 | QDataBuffer<char> m_indexUploadPool; | - |
| 690 | | - |
| 691 | QOpenGLVertexArrayObject *m_vao; | - |
| 692 | | - |
| 693 | QHash<Node *, uint> m_visualizeChanceSet; | - |
| 694 | VisualizeMode m_visualizeMode; | - |
| 695 | | - |
| 696 | Allocator<Node, 256> m_nodeAllocator; | - |
| 697 | Allocator<Element, 64> m_elementAllocator; | - |
| 698 | }; | - |
| 699 | | - |
| 700 | Batch *Renderer::newBatch() | - |
| 701 | { | - |
| 702 | Batch *b; | - |
| 703 | int size = m_batchPool.size(); | - |
| 704 | if (size| TRUE | evaluated 65323 times by 51 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- ...
| | FALSE | evaluated 6621 times by 70 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
) { | 6621-65323 |
| 705 | b = m_batchPool.at(size - 1); | - |
| 706 | m_batchPool.resize(size - 1); | - |
| 707 | }executed 65323 times by 51 tests: end of blockExecuted by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- ...
else { | 65323 |
| 708 | b = new Batch(); | - |
| 709 | (( | - |
| 710 | __builtin_offsetof ( | - |
| 711 | Batch | - |
| 712 | , | - |
| 713 | ibo | - |
| 714 | ) | - |
| 715 | == sizeof(Buffer) + | - |
| 716 | __builtin_offsetof ( | - |
| 717 | Batch | - |
| 718 | , | - |
| 719 | vbo | - |
| 720 | ) | - |
| 721 | ) ? static_cast<void>(0) : qt_assert("offsetof(Batch, ibo) == sizeof(Buffer) + offsetof(Batch, vbo)", __FILE__, 759)); | - |
| 722 | memset(&b->vbo, 0, sizeof(Buffer) * 2); | - |
| 723 | }executed 6621 times by 70 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 6621 |
| 724 | b->init(); | - |
| 725 | returnexecuted 71944 times by 70 tests: return b;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
b;executed 71944 times by 70 tests: return b;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 71944 |
| 726 | } | - |
| 727 | | - |
| 728 | } | - |
| 729 | | - |
| 730 | | - |
| | |