[webkit-changes] [WebKit/WebKit] 1dfb43: [CoordinatedGraphics] Remove LayerTreeHost::Compos...

Carlos Garcia Campos noreply at github.com
Thu Oct 6 03:24:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1dfb430ef23809332cbb052fb9db4103d8a0c140
      https://github.com/WebKit/WebKit/commit/1dfb430ef23809332cbb052fb9db4103d8a0c140
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

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

  Log Message:
  -----------
  [CoordinatedGraphics] Remove LayerTreeHost::CompositorClient
https://bugs.webkit.org/show_bug.cgi?id=246137

Reviewed by Žan Doberšek.

I think this was needed when we had coordinated graphics and coordinated
graphics threaded, but now we can just make LayerTreeHost inherit from
ThreadedCompositor::Client and ThreadedDisplayRefreshMonitor::Client.

* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::LayerTreeHost):
(WebKit::LayerTreeHost::resize):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:

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




More information about the webkit-changes mailing list