[webkit-changes] [WebKit/WebKit] 5603d6: [CoordinatedGraphics] CompositingCoordinator doesn...

Carlos Garcia Campos noreply at github.com
Thu Oct 19 02:11:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5603d66937036498bba6f4127730ab430fcd8322
      https://github.com/WebKit/WebKit/commit/5603d66937036498bba6f4127730ab430fcd8322
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

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

  Log Message:
  -----------
  [CoordinatedGraphics] CompositingCoordinator doesn't need to implement GraphicsLayerClient
https://bugs.webkit.org/show_bug.cgi?id=263319

Reviewed by Alejandro G. Castro.

The compositing coordinator is passed as the client of the root layer,
which doesn't have backing store and it's handled manually, so every
time it changes we are already scheduling a layer flush.

* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp:
(WebKit::CompositingCoordinator::sizeDidChange):
(WebKit::CompositingCoordinator::notifyFlushRequired): Deleted.
(WebKit::CompositingCoordinator::deviceScaleFactor const): Deleted.
(WebKit::CompositingCoordinator::pageScaleFactor const): Deleted.
(WebKit::CompositingCoordinator::deviceOrPageScaleFactorChanged): Deleted.
(WebKit::CompositingCoordinator::renderNextFrame): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::deviceOrPageScaleFactorChanged):
(WebKit::LayerTreeHost::renderNextFrame):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:

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




More information about the webkit-changes mailing list