From af3fbf343bb234d2205c174514ddfd61d52ebb5b Mon Sep 17 00:00:00 2001 From: Roman Gilg Date: Tue, 31 Dec 2019 20:31:56 +0100 Subject: [PATCH] Remove buffer flip pending assert for now The assert is still not always true. BUG: 415750 --- composite.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index 73d7a1562e..e581c6e99e 100644 --- a/composite.cpp +++ b/composite.cpp @@ -689,9 +689,11 @@ void Compositor::performCompositing() // Start the actual painting process. m_timerOffset = m_scene->paint(repaints, windows) / 1000 / 1000; + // TODO: This assert is still not always true for some reason. Happens on X11 and Wayland (see + // also BUG 415750). // Either the backend will provide a swap event and a buffer swap is pending now or there is no // pending buffer swap and by that no swap event received later on for the current paint call. - Q_ASSERT(m_scene->hasSwapEvent() ^ !m_bufferSwapPending); +// Q_ASSERT(m_scene->hasSwapEvent() ^ !m_bufferSwapPending); if (m_framesToTestForSafety > 0) { if (m_scene->compositingType() & OpenGLCompositing) {