https://bugs.kde.org/show_bug.cgi?id=475605

David Redondo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/6b4018014c
                   |                            |a4dfe170d2ddab3873222acc3ed
                   |                            |cf0
   Version Fixed In|                            |6.0

--- Comment #39 from David Redondo <[email protected]> ---
Git commit 6b4018014ca4dfe170d2ddab3873222acc3edcf0 by David Redondo.
Committed on 08/02/2024 at 13:29.
Pushed by vladz into branch 'master'.

Guard against render time query failing

glGetQuery can fail (for example because of a context loss) in this
case the buffer stays unmodified. In this case this is zero resulting
in GLRenderTimeQuery::result() returning a negative value. Down the
line this leads to a negative duration in the RenderJournal and
RenderLoopPrivate::scheduleRepaint starting a timer with an amount
of milliseconds bigger than what an int can hold. This will not
actually start a timer but QTimer::isActive returns true resulting
in no futher repaints being scheduled.
FIXED-IN: 6.0

M  +3    -0    src/opengl/glrendertimequery.cpp

https://invent.kde.org/plasma/kwin/-/commit/6b4018014ca4dfe170d2ddab3873222acc3edcf0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to