Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8bc5773a96b51ca47acf38542daf32434ea2832e
      
https://github.com/WebKit/WebKit/commit/8bc5773a96b51ca47acf38542daf32434ea2832e
  Author: Carlos Garcia Campos <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to