[Webkit-unassigned] [Bug 172167] [Threaded Compositor] SHOULD NEVER BE REACHED in WebKit::CompositingRunLoop::updateCompleted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 17 02:59:15 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=172167

--- Comment #6 from Zan Dobersek <zan at falconsigh.net> ---
Comment on attachment 310260
  --> https://bugs.webkit.org/attachment.cgi?id=310260
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=310260&action=review

> Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:266
> -    sceneUpdateFinished();
> +    if (m_scene->isActive())
> +        sceneUpdateFinished();

How can this occur? renderLayerTree() returns early at the beginning if the scene is not active. If it is active, the function then executes serially, which should make it impossible for any task to be scheduled on this thread that would make the scene inactive.

> Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:292
> +        // Do not change m_coordinateUpdateCompletionWithClient while in force repaint.
> +        if (m_inForceRepaint)
> +            return;

m_coordinateUpdateCompletion should be set here, but to false if m_inForceRepaint is false as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170517/e24f62dc/attachment.html>


More information about the webkit-unassigned mailing list