kwin/plugins/qpa
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
..
abstractplatformcontext.cpp Request a high-priority EGL contexts 2018-03-29 20:34:22 +09:00
abstractplatformcontext.h Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30
backingstore.cpp
backingstore.h
CMakeLists.txt
integration.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
integration.h Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30
kwin.json
main.cpp
nativeinterface.cpp
nativeinterface.h
platformcontextwayland.cpp
platformcontextwayland.h
platformcursor.cpp
platformcursor.h
screen.cpp [QPA] Implement Screen on top of internal Screens API 2017-10-19 18:03:10 +02:00
screen.h [QPA] Implement Screen on top of internal Screens API 2017-10-19 18:03:10 +02:00
sharingplatformcontext.cpp [plugins/qpa] Don't crash on Qt5.12 OpengGL::makeCurrent 2018-10-05 14:04:09 +01:00
sharingplatformcontext.h [plugins/qpa] Drop unused variable AbstractPlatformContext::m_integration 2017-07-31 18:09:15 +02:00
window.cpp [plugins/qpa] Properly ifdef everything with HAVE_WAYLAND_EGL 2017-07-31 18:04:53 +02:00
window.h Fix the build on armhf/aarch64 2018-03-06 09:25:33 +05:30