summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/deviceintegration
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@qt.io>2018-10-23 11:41:19 +0200
committerFredrik Orderud <forderud@gmail.com>2018-10-30 12:49:53 +0000
commit1b9af84c1bb66770f607e157991375f7cb7ae0fb (patch)
treef81b146293cd1b55eb51fa38f21e16030f45cb80 /src/plugins/platforms/eglfs/deviceintegration
parent3b8075de3b3c842311c157476a85d2cf9ddff403 (diff)
Don't create an offscreen surface when not on the GUI thread
When we try to gracefully destroy a QOpenGLVertexArrayObject it is not possible to create an QOffscreenSurface from a thread that is not the GUI thread. In this case we just need to bail out instead. The side effect that was seen previously was that there would be a warning and a deadlock on Windows when closing QQuickWindows that contained a QQuickPaintedItem backed by a FrameBufferObject render target (which would be using the OpenGL paint engine) when using the threaded render loop. Task-number: QTBUG-70148 Change-Id: I4a20d74d9af850bb90d243212ad9f65c3fc9e616 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/plugins/platforms/eglfs/deviceintegration')
0 files changed, 0 insertions, 0 deletions