summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorChris Adams <chris.adams@jollamobile.com>2012-11-27 11:05:48 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-28 21:05:45 +0100
commit01928c91ff0ae76cdb02f50af3c62368e28cafb6 (patch)
tree4b6d8b1d5db7c004983c6a410137eecad2081834 /src/declarative
parent4ca0c45b80b00b984414ac674909cb03917cbe4d (diff)
Observe GL context loss in ShaderEffectItem
Recreate the shader program as required when the GL context changes. Also delete the shader program when the ShaderEffectItem is deactivated, to save graphics memory. Previously, this was done only for Symbian platforms, and in a suboptimal fashion. This patch implements the behaviour for all platforms in a more optimal manner. Task-number: QTBUG-28136 Change-Id: I8281e77f7285ea0046bdf092ab827cae3b00a6d2 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Alan Alpert <aalpert@rim.com>
Diffstat (limited to 'src/declarative')
0 files changed, 0 insertions, 0 deletions