Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5c7651583d44479b0fca3344e7bed756889ca8bd
https://github.com/WebKit/WebKit/commit/5c7651583d44479b0fca3344e7bed756889ca8bd
Author: Simon Fraser <[email protected]>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
M Source/WebCore/page/FrameView.cpp
M Source/WebCore/page/FrameView.h
M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.mm
M Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm
Log Message:
-----------
Clean up code related to how TiledCoreAnimationDrawingArea gets layers for
zooming and shadow
https://bugs.webkit.org/show_bug.cgi?id=247047
rdar://101575253
Reviewed by Antti Koivisto.
TiledCoreAnimationDrawingArea shouldn't be in the business of groveling around
in
RenderView, RenderLayers and RenderLayerBackings for specific layers, so have
FrameView vend those layers as GraphicsLayers.
* Source/WebCore/page/FrameView.cpp:
(WebCore::FrameView::graphicsLayerForPageScale):
(WebCore::FrameView::graphicsLayerForTransientZoomShadow):
* Source/WebCore/page/FrameView.h:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTransaction::dump const): Use WTFLogAlways() not
fprintf().
* Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::updateDebugInfoLayer):
(WebKit::TiledCoreAnimationDrawingArea::layerForTransientZoom const):
(WebKit::TiledCoreAnimationDrawingArea::shadowLayerForTransientZoom const):
(WebKit::TiledCoreAnimationDrawingArea::adjustTransientZoom):
Canonical link: https://commits.webkit.org/256026@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes