Commit 396ef710 authored by Roman Gilg's avatar Roman Gilg
Browse files

Revert "Remove buffer flip pending assert for now"

This reverts commit af3fbf34.

See: https://mail.kde.org/pipermail/kwin/2020-January/002999.html
parent bfc6361f
......@@ -689,11 +689,9 @@ 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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment