qt6-bb10/src/gui
Elena Zaretskaya 8d45759432 Fix segfault when exiting app running under eglfs
In function QWindow::destroy() the platformWindow is destroyed
(QEglFSWindow in this case), but after that the QSurface destructor
is called (qsurface.cpp:127), where access to the opengl context is
performed (QOpenGLContext::currentContext()->doneCurrent()). Therefore
the surface pointer is deleted earlier (gbm_surface_destroy) than the
working with it (eglMakeCurrent) is finished. But the event
QPlatformSurfaceEvent, that is sent before deleting platformWindow,
isn't processed (qwindow.cpp:1665), though we can perform doneCurrent()
in the handler of QPlatformSurfaceEvent. The full description with
valgrind stacks on bugreports.

Task-number: QTBUG-52399
Change-Id: I69035dfd8ba5b5eeec243bc0edd3f571dc9525f9
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
2016-05-04 10:57:47 +00:00
..
accessible Remove warning about being unable to instantiate accessibility interface 2016-02-02 08:20:35 +00:00
animation
doc Add option to disable "session management by closing windows". 2016-02-15 16:10:20 +00:00
image Fix possible crash in QImage::pixel() 2016-03-31 08:54:03 +00:00
itemmodels QtGui: Pass types with copy-ctor or dtor by const-ref 2015-07-19 10:46:53 +00:00
kernel Fix segfault when exiting app running under eglfs 2016-05-04 10:57:47 +00:00
math3d Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
opengl QOpenGLCustomShaderStage - fix a memory leak 2016-05-03 06:58:44 +00:00
painting Fix underline position on Liberation Mono 2016-05-02 16:25:35 +00:00
text doc: Clarify how to remove a QTextFrame 2016-05-04 10:08:08 +00:00
util QtBase: remove explicit function info from qWarning() etc 2015-11-28 16:34:26 +00:00
Qt5GuiConfigExtras.cmake.in
QtGui.dynlist
gui.pro consistently put {qt,qml}_{module,plugin} at the end of project files 2016-03-07 14:09:49 +00:00