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

--- Comment #14 from David Edmundson <k...@davidedmundson.co.uk> ---
The animation driver has a bit of code that says at the start of the render
"queue render me again!".
It's not great, but you can see how it'd work.  

What I think we want to see is 5ms between frames. Still high, but meh. 
What we're actually doing is 5ms between the start of frames. Which if
rendering is taking 5ms, is 100% constantly.

IMHO, the animatotion driver only wants to mark the window dirty, and not
request the update

This would match what the threaded render loop is doing:

QSGThreadedRenderLoop::maybeUpdate
    // Call this function from the Gui thread later as startTimer cannot be
        w->updateDuringSync = true;

which is the same as the basic render loop's m_windows[window].updatePending

which then would only start the timer at the end of renderWindow and give us a
significant reduction.

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

Reply via email to