Initial ImageParticle sharing
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 19 Sep 2011 05:27:49 +0000 (15:27 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Sep 2011 00:14:44 +0000 (02:14 +0200)
commitc3a78d52c6edad42f05b4474c495f7201a902dca
tree76201016197614575432eed9131a922c7746393b
parent61a84be66786cec3cc2fbf30c29b778bf39adba3
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>
examples/declarative/particles/imageparticle/sharing.qml [new file with mode: 0644]
examples/declarative/particles/images/flower.png [new file with mode: 0644]
src/declarative/particles/qsgimageparticle.cpp
src/declarative/particles/qsgimageparticle_p.h
src/declarative/particles/qsgparticlesystem.cpp
src/declarative/particles/qsgparticlesystem_p.h