kwin/plugins/platforms/x11/standalone
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
..
CMakeLists.txt Merge branch 'Plasma/5.11' 2017-11-05 10:46:53 +01:00
edge.cpp [platforms/x11] Fix incorrect screen edge approaching with switch desktop on window move 2017-07-06 19:12:28 +02:00
edge.h [platforms/x11] Fix incorrect screen edge approaching with switch desktop on window move 2017-07-06 19:12:28 +02:00
effects_mouse_interception_x11_filter.cpp Move X11-only specific part of EffectsHandlerImpl to x11 platform plugin 2017-10-16 16:54:17 +02:00
effects_mouse_interception_x11_filter.h Move X11-only specific part of EffectsHandlerImpl to x11 platform plugin 2017-10-16 16:54:17 +02:00
effects_x11.cpp Move X11-only specific part of EffectsHandlerImpl to x11 platform plugin 2017-10-16 16:54:17 +02:00
effects_x11.h Move X11-only specific part of EffectsHandlerImpl to x11 platform plugin 2017-10-16 16:54:17 +02:00
glx_context_attribute_builder.cpp [platforms/x11] Use a GlxContextAttributeBuilder 2017-08-19 11:34:51 +02:00
glx_context_attribute_builder.h [platforms/x11] Use a GlxContextAttributeBuilder 2017-08-19 11:34:51 +02:00
glxbackend.cpp Fix flickering with Qt 5.12 2019-01-22 22:37:53 +03:00
glxbackend.h Move SceneOpenGL into a dedicated plugin 2017-09-30 13:12:10 +02:00
logging.cpp [plugins/platforms] Dedicated logging category for X11 standalone platform 2016-04-12 14:48:54 +02:00
logging.h [plugins/platforms] Dedicated logging category for X11 standalone platform 2016-04-12 14:48:54 +02:00
non_composited_outline.cpp Move NonComposited Outline into the X11 standalone platform 2017-09-01 17:07:23 +02:00
non_composited_outline.h Move NonComposited Outline into the X11 standalone platform 2017-09-01 17:07:23 +02:00
overlaywindow_x11.cpp Move event filtering for overlay window into an X11EventFilter 2017-08-12 11:32:53 +02:00
overlaywindow_x11.h Move event filtering for overlay window into an X11EventFilter 2017-08-12 11:32:53 +02:00
screenedges_filter.cpp Move X11 specific event filtering for ScreenEdges into x11 standalone platform 2017-09-01 17:01:01 +02:00
screenedges_filter.h Move X11 specific event filtering for ScreenEdges into x11 standalone platform 2017-09-01 17:01:01 +02:00
screens_xrandr.cpp Try fixing build failure on CI 2017-09-12 21:20:18 +02:00
screens_xrandr.h Port some displayWidth/displayHeight usages to Screens::size() 2017-09-01 17:11:10 +02:00
sync_filter.cpp Create a dedicated X11Filter for Client sync events and move it to X11 platform 2017-10-19 19:56:58 +02:00
sync_filter.h Create a dedicated X11Filter for Client sync events and move it to X11 platform 2017-10-19 19:56:58 +02:00
windowselector.cpp [x11] Fix interactive point selection 2018-02-05 21:21:27 +01:00
windowselector.h [x11] Fix interactive point selection 2018-02-05 21:21:27 +01:00
x11.json SVN_SILENT made messages (.desktop file) - always resolve ours 2018-10-24 08:42:22 +02:00
x11_decoration_renderer.cpp Move the X11 Decoration Renderer into the X11 standalone platform 2017-09-01 17:49:32 +02:00
x11_decoration_renderer.h Move the X11 Decoration Renderer into the X11 standalone platform 2017-09-01 17:49:32 +02:00
x11_platform.cpp [x11] Fix interactive point selection 2018-02-05 21:21:27 +01:00
x11_platform.h [x11] Fix interactive point selection 2018-02-05 21:21:27 +01:00
x11cursor.cpp Move XFixes cursor change tracking into the x11 standalone platform 2017-09-30 12:58:17 +02:00
x11cursor.h Move XFixes cursor change tracking into the x11 standalone platform 2017-09-30 12:58:17 +02:00
xfixes_cursor_event_filter.cpp Move XFixes cursor change tracking into the x11 standalone platform 2017-09-30 12:58:17 +02:00
xfixes_cursor_event_filter.h Move XFixes cursor change tracking into the x11 standalone platform 2017-09-30 12:58:17 +02:00
xinputintegration.cpp [platformx/x11] Fix touch events for internal Qt windows 2017-05-02 20:32:58 +02:00
xinputintegration.h Split modifier only handling into a dedicated InputEventSpy 2017-02-14 17:02:18 +01:00