[webkit-changes] [WebKit/WebKit] 4b08e3: Plumb ScrollingNodeIDs through to the UI process

Simon Fraser noreply at github.com
Fri Nov 18 10:47:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b08e3ef1c8ab35d9693c34e0378ac813966722e
      https://github.com/WebKit/WebKit/commit/4b08e3ef1c8ab35d9693c34e0378ac813966722e
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.h
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h

  Log Message:
  -----------
  Plumb ScrollingNodeIDs through to the UI process
https://bugs.webkit.org/show_bug.cgi?id=248070
rdar://102499187

Reviewed by Alan Baradlay.

For scroller hit-testing we use the ScrollingNodeIDs that are pushed onto platform
layers via GraphicsLayer. UI-side compositing needs these ScrollingNodeIDs in the
UI process, so pass them along via PlatformCALayerRemote.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyPropertiesToLayer):
(WebKit::RemoteLayerTreePropertyApplier::applyProperties):
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.h:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.mm:
(WebKit::RemoteLayerTreeTransaction::LayerProperties::LayerProperties):
(WebKit::RemoteLayerTreeTransaction::LayerProperties::encode const):
(WebKit::RemoteLayerTreeTransaction::LayerProperties::decode):
(WebKit::dumpChangedLayers):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h:
(WebKit::RemoteLayerTreeNode::scrollingNodeID const):
(WebKit::RemoteLayerTreeNode::setScrollingNodeID):
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp:
(WebKit::PlatformCALayerRemote::setEventRegion):
(WebKit::PlatformCALayerRemote::scrollingNodeID const):
(WebKit::PlatformCALayerRemote::setScrollingNodeID):
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h:

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




More information about the webkit-changes mailing list