[webkit-changes] [WebKit/WebKit] 8bc577: [GTK][WPE] AsyncScrolling: notify scrolling tree a...

Carlos Garcia Campos noreply at github.com
Mon Oct 24 06:50:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8bc5773a96b51ca47acf38542daf32434ea2832e
      https://github.com/WebKit/WebKit/commit/8bc5773a96b51ca47acf38542daf32434ea2832e
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
    M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
    M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h

  Log Message:
  -----------
  [GTK][WPE] AsyncScrolling: notify scrolling tree about display refresh through ThreadedCompositor client
https://bugs.webkit.org/show_bug.cgi?id=246940

Reviewed by Žan Doberšek.

The threaded compositor is already attached to a WebPage so we can
notify the associated scrolling tree directly instead of iterating all
scrolling trees in the process. Also accessing the WebProcess and
EventDipatcher from ThreadedCompositor was a layering violation.

* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::sceneUpdateFinished):
* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::displayDidRefresh):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:

Canonical link: https://commits.webkit.org/255913@main




More information about the webkit-changes mailing list