kwin/plugins/platforms
Alexander Volkov 5d63b9c05b Fix flickering with Qt 5.12
Summary:
Mesa requires XESetWireToEvent xlib callbacks to be called
when DRI2 is used. This is done by the GLX integration in
the Qt's xcb plugin, but Qt 5.12 initializes the GLX integration
only when required, e.g. when a window with OpenGL support is
created or when availability of OpenGL is checked.

So force initialization of the GLX integration by calling
QOpenGLContext::supportsThreadedOpenGL().

https://codereview.qt-project.org/#/c/6557/
https://bugzilla.opensuse.org/show_bug.cgi?id=1120090

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: davidedmundson, graesslin, fvogt, filipf, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18366
2019-01-22 22:37:53 +03:00
..
drm SVN_SILENT made messages (.desktop file) - always resolve ours 2018-10-24 08:42:22 +02:00
fbdev SVN_SILENT made messages (.desktop file) - always resolve ours 2018-10-24 08:42:22 +02:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2018-10-24 08:42:22 +02:00
virtual SVN_SILENT made messages (.desktop file) - always resolve ours 2018-10-24 08:42:22 +02:00
wayland SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
x11 Fix flickering with Qt 5.12 2019-01-22 22:37:53 +03:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00