qt5base-lts/tests/auto/gui
Kent Hansen 202127f860 Ensure that QOpenGLMultiGroupSharedResources are cleaned up
When a GL context group is destroyed, all multi-group shared
resources associated with the group should be cleaned up.
Otherwise we could get a double deletion in the resource's
destructor, because it still retained a pointer to the
deleted group.

The missing cleanup resulted in a crash when the global
static qt_gl_functions_resource was destroyed, first seen
in the tst_examples autotest in qtdeclarative. It possibly
didn't manifest before because it's event loop-dependent
(the contexts are deleted via deleteLater()).

Change-Id: I6b1e0bfdfbbb2bff8e795f545e680fcdfa094768
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
2011-11-15 17:09:35 +01:00
..
image Don't rely on PlatformQuirks in qimagereader test 2011-11-04 07:11:07 +01:00
kernel Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00
math3d gui: eliminated usage of qttest_p4.prf 2011-10-25 07:19:31 +02:00
painting Added QTBUG-22296 to QEXPECT_FAILs 2011-11-11 10:58:10 +01:00
qopengl Ensure that QOpenGLMultiGroupSharedResources are cleaned up 2011-11-15 17:09:35 +01:00
text Remove obsolete QSKIP parameter. 2011-11-15 08:51:43 +01:00
util gui: eliminated usage of qttest_p4.prf 2011-10-25 07:19:31 +02:00
gui.pro Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00