kwin/plugins
David Edmundson 6ebfa59331 [plugins/qpa] Don't crash on Qt5.12 OpengGL::makeCurrent
Summary:
QOpenGLContext was changed to call platform->makeCurrent before it
called setCurrentContext.

Because we bind window FBO and ultimately that calls
QOpenGlContext::format we need Qt to know which context is current so it
can tell us the format.

This matches the QtWayland EGL code.

BUG: 399392

Test Plan:
Switched virtual desktop with the OSD (previously reliably crashed)
Now it doesn't

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15957
2018-10-05 14:04:09 +01:00
..
idletime
kdecorations Revert "Workaround crash in Aurorae destruction" 2018-06-24 13:28:23 +01:00
kglobalaccel [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
platforms [platforms/virtual] Set raw physical size of outputs 2018-08-31 13:22:55 +02:00
qpa [plugins/qpa] Don't crash on Qt5.12 OpengGL::makeCurrent 2018-10-05 14:04:09 +01:00
scenes SVN_SILENT made messages (.desktop file) - always resolve ours 2018-09-22 08:04:02 +02:00
CMakeLists.txt