qt5base-lts/src
David Fries 3a347a4e70 OpenGL: destroy QGLContext allocated by QGLContext::fromOpenGLContext
QGLContext already uses ownContext to identify when it "owns" QOpenGLContext
and will delete QOpenGLContext when needed.  In the other way
QGLContext::fromOpenGLContext creates a QGLContext for QOpenGLContext, and is
now using qGLContextDeleteFunction to identify if QOpenGLContext "owns"
QGLContext by QGLContext only passing a delete function when QOpenGLContext
should delete QGLContext, and by QOpenGLContext calling deleteQGLContext() from
destory() to do the destruction avoiding the previous leak and sometimes crash
on exit.

Change-Id: I65e791776e99b456e4d0c70fc5b5cdb33c975893
Task-number: QTBUG-40286
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
2014-08-05 17:30:03 +02:00
..
3rdparty harfbuzz-ng: Pre-allocate enough space for CoreText buffer 2014-06-18 13:39:37 +02:00
android Android: Prefer "Droid Serif" as default serif font 2014-07-10 16:23:50 +02:00
angle ANGLE WinRT: Create swap chain using physical resolution 2014-05-22 07:59:49 +02:00
concurrent Doc: Add docs for QtConcurrent::{Unhandled,Exception} 2014-03-17 20:52:42 +01:00
corelib Merge remote-tracking branch 'origin/stable' into 5.3 2014-07-30 15:53:07 +02:00
dbus Merge remote-tracking branch 'origin/stable' into 5.3 2014-06-25 10:22:20 +02:00
gui OpenGL: destroy QGLContext allocated by QGLContext::fromOpenGLContext 2014-08-05 17:30:03 +02:00
network Fix compilation if EC is disabled in OpenSSL 2014-07-29 06:33:08 +02:00
opengl OpenGL: destroy QGLContext allocated by QGLContext::fromOpenGLContext 2014-08-05 17:30:03 +02:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformsupport Add missing power button keycode to keymap 2014-07-31 14:24:01 +02:00
plugins Merge "Merge remote-tracking branch 'origin/stable' into 5.3" into refs/staging/5.3 2014-07-31 17:29:06 +02:00
printsupport Windows: Fix assignment of margins in QPageSetupDialog. 2014-07-22 15:32:34 +02:00
sql Windows: Add Qt Creator PATH update tip for missing SQL client dlls 2014-07-22 11:32:08 +02:00
testlib Support getting test data from qrc 2014-07-08 08:34:30 +02:00
tools Improve dbus cross compilation 2014-07-28 14:08:22 +02:00
widgets Merge remote-tracking branch 'origin/stable' into 5.3 2014-07-30 15:53:07 +02:00
winmain fix paths in installed qtmain.prl 2014-08-04 18:35:41 +02:00
xml Doc: edited qtxml.qdocconf 2014-07-11 13:45:54 +02:00
src.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00