| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | | - |
| 35 | | - |
| 36 | | - |
| 37 | | - |
| 38 | | - |
| 39 | | - |
| 40 | #ifndef QSGSIMPLEMATERIAL_H | - |
| 41 | #define QSGSIMPLEMATERIAL_H | - |
| 42 | | - |
| 43 | #include <QtQuick/qsgmaterial.h> | - |
| 44 | | - |
| 45 | QT_BEGIN_NAMESPACE | - |
| 46 | | - |
| 47 | template <typename State> | - |
| 48 | class QSGSimpleMaterialShader : public QSGMaterialShader | - |
| 49 | { | - |
| 50 | public: | - |
| 51 | void initialize() override { | - |
| 52 | QSGMaterialShader::initialize(); | - |
| 53 | #if QT_CONFIG(opengl) | - |
| 54 | m_id_matrix = program()->uniformLocation(uniformMatrixName()); | - |
| 55 | if (m_id_matrix < 0) {| TRUE | never evaluated | | FALSE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-64 |
| 56 | qFatal("QSGSimpleMaterialShader does not implement 'uniform highp mat4 %s;' in its vertex shader", | - |
| 57 | uniformMatrixName()); | - |
| 58 | } never executed: end of block | 0 |
| 59 | | - |
| 60 | const char *opacity = uniformOpacityName(); | - |
| 61 | if (opacity) {| TRUE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-64 |
| 62 | m_id_opacity = program()->uniformLocation(uniformOpacityName()); | - |
| 63 | if (m_id_opacity < 0) {| TRUE | never evaluated | | FALSE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-64 |
| 64 | qFatal("QSGSimpleMaterialShader does not implement 'uniform lowp float %s' in its fragment shader", | - |
| 65 | uniformOpacityName()); | - |
| 66 | } never executed: end of block | 0 |
| 67 | } else {executed 64 times by 21 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 64 |
| 68 | m_id_opacity = -1; | - |
| 69 | } never executed: end of block | 0 |
| 70 | #endif | - |
| 71 | resolveUniforms(); | - |
| 72 | }executed 64 times by 21 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 64 |
| 73 | | - |
| 74 | | - |
| 75 | const char *uniformMatrixName() const { return "qt_Matrix"; }executed 64 times by 21 tests: return "qt_Matrix";Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 64 |
| 76 | const char *uniformOpacityName() const { return "qt_Opacity"; }executed 128 times by 21 tests: return "qt_Opacity";Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 128 |
| 77 | | - |
| 78 | void updateState(const RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial) override; | - |
| 79 | | - |
| 80 | virtual void updateState(const State *newState, const State *oldState) = 0; | - |
| 81 | | - |
| 82 | virtual void resolveUniforms() {} | - |
| 83 | | - |
| 84 | virtual QList<QByteArray> attributes() const = 0; | - |
| 85 | | - |
| 86 | char const *const *attributeNames() const override | - |
| 87 | { | - |
| 88 | if (m_attribute_pointers.size())| TRUE | evaluated 12413 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 64-12413 |
| 89 | return m_attribute_pointers.constData();executed 12413 times by 21 tests: return m_attribute_pointers.constData();Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 12413 |
| 90 | | - |
| 91 | QList<QByteArray> names = attributes(); | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | int total = 0; | - |
| 97 | for (int i=0; i<names.size(); ++i)| TRUE | evaluated 240 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 64-240 |
| 98 | total += names.at(i).size() + 1;executed 240 times by 21 tests: total += names.at(i).size() + 1;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 240 |
| 99 | m_attribute_name_data.reserve(total); | - |
| 100 | | - |
| 101 | | - |
| 102 | for (int i=0; i<names.size(); ++i) {| TRUE | evaluated 240 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 64-240 |
| 103 | m_attribute_pointers << m_attribute_name_data.constData() + m_attribute_name_data.size(); | - |
| 104 | m_attribute_name_data.append(names.at(i)); | - |
| 105 | m_attribute_name_data.append('\0'); | - |
| 106 | }executed 240 times by 21 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 240 |
| 107 | | - |
| 108 | | - |
| 109 | m_attribute_pointers << 0; | - |
| 110 | | - |
| 111 | return m_attribute_pointers.constData();executed 64 times by 21 tests: return m_attribute_pointers.constData();Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 64 |
| 112 | } | - |
| 113 | | - |
| 114 | private: | - |
| 115 | int m_id_matrix; | - |
| 116 | int m_id_opacity; | - |
| 117 | | - |
| 118 | mutable QByteArray m_attribute_name_data; | - |
| 119 | mutable QVector<const char *> m_attribute_pointers; | - |
| 120 | }; | - |
| 121 | | - |
| 122 | #define QSG_DECLARE_SIMPLE_SHADER(Shader, State) \ | - |
| 123 | static QSGMaterialShader *createShader() \ | - |
| 124 | { \ | - |
| 125 | return new Shader; \ | - |
| 126 | } \ | - |
| 127 | public: \ | - |
| 128 | static QSGSimpleMaterial<State> *createMaterial() \ | - |
| 129 | { \ | - |
| 130 | return new QSGSimpleMaterial<State>(createShader); \ | - |
| 131 | } | - |
| 132 | | - |
| 133 | | - |
| 134 | typedef QSGMaterialShader *(*PtrShaderCreateFunc)(); | - |
| 135 | | - |
| 136 | | - |
| 137 | template <typename State> | - |
| 138 | class QSGSimpleMaterial : public QSGMaterial | - |
| 139 | { | - |
| 140 | public: | - |
| 141 | #ifndef Q_CLANG_QDOC | - |
| 142 | QSGSimpleMaterial(const State &aState, PtrShaderCreateFunc func) | - |
| 143 | : m_state(aState) | - |
| 144 | , m_func(func) | - |
| 145 | { | - |
| 146 | } never executed: end of block | 0 |
| 147 | | - |
| 148 | QSGSimpleMaterial(PtrShaderCreateFunc func) | - |
| 149 | : m_func(func) | - |
| 150 | { | - |
| 151 | }executed 99 times by 21 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 99 |
| 152 | | - |
| 153 | QSGMaterialShader *createShader() const override { return m_func(); }executed 64 times by 21 tests: return m_func();Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 64 |
| 154 | QSGMaterialType *type() const override { return &m_type; }executed 12010 times by 21 tests: return &m_type;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 12010 |
| 155 | | - |
| 156 | State *state() { return &m_state; }executed 145005 times by 21 tests: return &m_state;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 145005 |
| 157 | const State *state() const { return &m_state; } never executed: return &m_state; | 0 |
| 158 | #endif | - |
| 159 | | - |
| 160 | private: | - |
| 161 | static QSGMaterialType m_type; | - |
| 162 | State m_state; | - |
| 163 | PtrShaderCreateFunc m_func; | - |
| 164 | }; | - |
| 165 | | - |
| 166 | #define QSG_DECLARE_SIMPLE_COMPARABLE_SHADER(Shader, State) \ | - |
| 167 | static QSGMaterialShader *createShader() \ | - |
| 168 | { \ | - |
| 169 | return new Shader; \ | - |
| 170 | } \ | - |
| 171 | public: \ | - |
| 172 | static QSGSimpleMaterialComparableMaterial<State> *createMaterial() \ | - |
| 173 | { \ | - |
| 174 | return new QSGSimpleMaterialComparableMaterial<State>(createShader); \ | - |
| 175 | } | - |
| 176 | | - |
| 177 | template <typename State> | - |
| 178 | class QSGSimpleMaterialComparableMaterial : public QSGSimpleMaterial<State> | - |
| 179 | { | - |
| 180 | | - |
| 181 | public: | - |
| 182 | QSGSimpleMaterialComparableMaterial(const State &state, PtrShaderCreateFunc func) | - |
| 183 | : QSGSimpleMaterial<State>(state, func) {} never executed: end of block | 0 |
| 184 | | - |
| 185 | QSGSimpleMaterialComparableMaterial(PtrShaderCreateFunc func) | - |
| 186 | : QSGSimpleMaterial<State>(func) {} never executed: end of block | 0 |
| 187 | | - |
| 188 | int compare(const QSGMaterial *other) const override { | - |
| 189 | return QSGSimpleMaterialComparableMaterial<State>::state()->compare(static_cast<const QSGSimpleMaterialComparableMaterial<State> *>(other)->state()); never executed: return QSGSimpleMaterialComparableMaterial<State>::state()->compare(static_cast<const QSGSimpleMaterialComparableMaterial<State> *>(other)->state()); | 0 |
| 190 | } | - |
| 191 | }; | - |
| 192 | | - |
| 193 | | - |
| 194 | template <typename State> | - |
| 195 | QSGMaterialType QSGSimpleMaterial<State>::m_type; | - |
| 196 | | - |
| 197 | | - |
| 198 | template <typename State> | - |
| 199 | Q_INLINE_TEMPLATE void QSGSimpleMaterialShader<State>::updateState(const RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial) | - |
| 200 | { | - |
| 201 | #if QT_CONFIG(opengl) | - |
| 202 | if (state.isMatrixDirty())| TRUE | evaluated 4593 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-4593 |
| 203 | program()->setUniformValue(m_id_matrix, state.combinedMatrix());executed 4593 times by 21 tests: program()->setUniformValue(m_id_matrix, state.combinedMatrix());Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 4593 |
| 204 | if (state.isOpacityDirty() && m_id_opacity >= 0)| TRUE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 4529 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 64 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-4529 |
| 205 | program()->setUniformValue(m_id_opacity, state.opacity());executed 64 times by 21 tests: program()->setUniformValue(m_id_opacity, state.opacity());Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 64 |
| 206 | #else | - |
| 207 | Q_UNUSED(state) | - |
| 208 | #endif | - |
| 209 | State *ns = static_cast<QSGSimpleMaterial<State> *>(newMaterial)->state(); | - |
| 210 | State *old = nullptr; | - |
| 211 | if (oldMaterial)| TRUE | evaluated 683 times by 5 testsEvaluated by:- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquicklineextruder
- tst_qquickrectangleextruder
- tst_qquicktrailemitter
| | FALSE | evaluated 3910 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 683-3910 |
| 212 | old = static_cast<QSGSimpleMaterial<State> *>(oldMaterial)->state();executed 683 times by 5 tests: old = static_cast<QSGSimpleMaterial<State> *>(oldMaterial)->state();Executed by:- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquicklineextruder
- tst_qquickrectangleextruder
- tst_qquicktrailemitter
| 683 |
| 213 | updateState(ns, old); | - |
| 214 | }executed 4593 times by 21 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 4593 |
| 215 | | - |
| 216 | QT_END_NAMESPACE | - |
| 217 | | - |
| 218 | | - |
| 219 | #endif | - |
| | |