[Webkit-unassigned] [Bug 272324] New: [GTK][WPE] Don't request more than a single composition during a layerFlush

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 8 05:31:41 PDT 2024


            Bug ID: 272324
           Summary: [GTK][WPE] Don't request more than a single
                    composition during a layerFlush
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

During a layerFlush we're potentially requesting 2 compositions. One comes from the CompositingCoordinator, who will call commitSceneState when the page content has changed and we need to send a new state to the scene. The other one happens unconditionally by the call to m_compositor->updateScene() at the end of the layerflush.

If we request 2 compositions, depending on the situation this can trigger a single composition or two. If two are triggered, we will get more LayerTreeHost::didRenderframe calls than expected, which can prematurely end the state where the LayerTreeHost is waiting for the renderer, causing glitches.

We need to be sure that each layerFlush requests a single composition only.

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/20240408/6400c90c/attachment-0001.htm>

More information about the webkit-unassigned mailing list