Fix rendering bug with batched translucent elements.
authorGunnar Sletta <gunnar.sletta@digia.com>
Thu, 31 Oct 2013 21:14:12 +0000 (22:14 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 1 Nov 2013 10:59:53 +0000 (11:59 +0100)
commit2192e5005b3ba3cff22388a4907e01c7c514d812
tree5191b7232a0aa9e53ff6ccb4a33cc5af41a5e23a
parent0d5ef23ee7cf326c080580f145123de7183dc142
Fix rendering bug with batched translucent elements.

When one item in a batch of other translucent items would
change opacity, we need to rebuild batches under the current
root as all items in a batch are expected to have the same
opacity.

Task-number: QTBUG-34311
Change-Id: I2b9db19f05bd3a82be65cfa8a91e9398e8d58d0f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp
src/quick/scenegraph/coreapi/qsgbatchrenderer_p.h