diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-09-19 15:27:49 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-20 02:14:44 +0200 |
commit | c3a78d52c6edad42f05b4474c495f7201a902dca (patch) | |
tree | 76201016197614575432eed9131a922c7746393b /src/declarative/particles/qsgimageparticle_p.h | |
parent | 61a84be66786cec3cc2fbf30c29b778bf39adba3 (diff) |
Initial ImageParticle sharing
This allows particles rendered by ImageParticle to share some of their
randomly generated state. Still to come are reset methods and animData
sharing (so animations can look synced)
Change-Id: Ia805e1b3735b15fba7bd14778ed7abd795b11f06
Reviewed-on: http://codereview.qt-project.org/5114
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/declarative/particles/qsgimageparticle_p.h')
-rw-r--r-- | src/declarative/particles/qsgimageparticle_p.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/declarative/particles/qsgimageparticle_p.h b/src/declarative/particles/qsgimageparticle_p.h index d40be5daa7..4225829fb5 100644 --- a/src/declarative/particles/qsgimageparticle_p.h +++ b/src/declarative/particles/qsgimageparticle_p.h @@ -371,6 +371,16 @@ private: QList<QSGSprite*> m_sprites; QSGSpriteEngine* m_spriteEngine; + //TODO: Reset methods + bool m_explicitColor; + bool m_explicitRotation; + bool m_explicitDeformation; + bool m_explicitAnimation;//TODO: Implement this + QHash<int, QVector<QSGParticleData*> > m_shadowData; + bool m_shadowInit; + void clearShadows(); + QSGParticleData* getShadowDatum(QSGParticleData* datum); + bool m_bloat; PerformanceLevel perfLevel; |