aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@sletta.org>2015-10-19 14:50:06 +0200
committerGunnar Sletta <gunnar@sletta.org>2015-10-20 05:41:07 +0000
commitd12391470f5a9b2f0ae22e11960177c5b7496a75 (patch)
tree2c613ccbe944f17252f3a4c93b5015f453a63458 /tests
parent3e9f61f305dc4c988e6f2718df56df80f639734e (diff)
Make it possible to change sources of ShaderEffect again.
92433623b31388e2e8c4d532033dad6189eaab24 introduced a bug where an unused material would clear its typeid pointer. This resulted in that a changed shadereffect would in all likelyhood get the same pointer for its changed shader which would result in using the same GL shader inside the renderer. This change rewrites the logic so that the cache is per render thread and the cache is cleaned up along with other GL/SG resources as part of scene graph invalidation. Task-number: QTBUG-48856 Change-Id: Id2feb14f584b5f5c176e8176cc9f1b54abd0d079 Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions