Hello community,

here is the log from the commit of package kwin5 for openSUSE:Factory checked 
in at 2019-01-21 10:24:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwin5 (Old)
 and      /work/SRC/openSUSE:Factory/.kwin5.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwin5"

Mon Jan 21 10:24:14 2019 rev:90 rq:667050 version:5.14.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwin5/kwin5.changes      2019-01-10 
15:18:31.466621945 +0100
+++ /work/SRC/openSUSE:Factory/.kwin5.new.28833/kwin5.changes   2019-01-21 
10:24:16.209822114 +0100
@@ -1,0 +2,7 @@
+Fri Jan 18 19:48:25 UTC 2019 - Fabian Vogt <[email protected]>
+
+- Add patch to force initialization of OpenGL to fix flickering
+  (boo#1120090, QTBUG-73122):
+  * 0001-Fix-flickering-with-Qt-5.12.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-flickering-with-Qt-5.12.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kwin5.spec ++++++
--- /var/tmp/diff_new_pack.ROyKA8/_old  2019-01-21 10:24:16.781821484 +0100
+++ /var/tmp/diff_new_pack.ROyKA8/_new  2019-01-21 10:24:16.785821480 +0100
@@ -36,6 +36,8 @@
 Source1:        
https://download.kde.org/stable/plasma/%{version}/kwin-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
+# PATCH-FIX-UPSTREAM (pending)
+Patch1:         0001-Fix-flickering-with-Qt-5.12.patch
 # PATCH-FIX-OPENSUSE
 Patch100:       0001-Revert-Make-WindowSwitching-Alt-Tab-the-default-left.patch
 # PATCH-FEATURE-OPENSUSE

++++++ 0001-Fix-flickering-with-Qt-5.12.patch ++++++
>From 4c6ce0a39e2a3d2973bb8d5ded3f35f43a061330 Mon Sep 17 00:00:00 2001
From: Alexander Volkov <[email protected]>
Date: Fri, 18 Jan 2019 20:48:08 +0100
Subject: [PATCH] Fix flickering with Qt 5.12

Summary:
KWin expects Qt to produce xcb_glx_buffer_swap_complete_event_t
events with DRI2, but Qt 5.12 initializes GLX integration only
when required, e.g. when a window with OpenGL support is
created or when availability of OpenGL is checked.

So use QOpenGLContext::supportsThreadedOpenGL() to force
initialization of GLX integration in the Qt's xcb plugin.

https://bugzilla.opensuse.org/show_bug.cgi?id=1120090

Reviewers: #kwin

Subscribers: fvogt, filipf, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18366
---
 plugins/platforms/x11/standalone/glxbackend.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/platforms/x11/standalone/glxbackend.cpp 
b/plugins/platforms/x11/standalone/glxbackend.cpp
index a2c570e59..af4bdca71 100644
--- a/plugins/platforms/x11/standalone/glxbackend.cpp
+++ b/plugins/platforms/x11/standalone/glxbackend.cpp
@@ -115,6 +115,8 @@ GlxBackend::GlxBackend(Display *display)
     , haveSwapInterval(false)
     , m_x11Display(display)
 {
+     // Force initialization of GLX integration in the Qt's xcb backend
+     QOpenGLContext::supportsThreadedOpenGL();
 }
 
 static bool gs_tripleBufferUndetected = true;
-- 
2.20.1




Reply via email to