aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickcanvasitem
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@jollamobile.com>2014-08-01 11:22:31 +0200
committerGunnar Sletta <gunnar.sletta@jollamobile.com>2014-08-01 23:17:44 +0200
commit76859e50d4b986fb88c2f193a70fd9b40963c59a (patch)
tree510d5553d472017e343fc1ca755ea7e313313d39 /tests/auto/quick/qquickcanvasitem
parent557d73575978b873bb01ea791ae237fa6067fa7f (diff)
More QQuickCanvas cleanup handling.
Avoid calling into QQuickContext2D from QQuickContext2DTexture after QQuickContext2D has been deleted. We acheive this by 1. Giving the texture a direct pointer to the gl context and and surface, so that it doesn't need to go through m_context to get to them (which may have been deleted). 2. Protect access to QQuickContext2DTexture::m_context with a mutex and make sure it is set to 0 in a safe manner when the QQuickContext2D object is deleted. Change-Id: Ie0a30f9fc46f844224838a7cdf2f28a62e8ce322 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickcanvasitem')
0 files changed, 0 insertions, 0 deletions