Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 21299797ed181e01ac3d2304002ff89c6c667988
      
https://github.com/WebKit/WebKit/commit/21299797ed181e01ac3d2304002ff89c6c667988
  Author: Etienne Segonzac <[email protected]>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm

  Log Message:
  -----------
  InteractionRegion layers should follow animations
https://bugs.webkit.org/show_bug.cgi?id=256197
<rdar://105841097>

Reviewed by Tim Horton.

Replicate animations on the InteractionRegion layers.
This works because of the symmetry between both trees, each
`RemoteLayerTreeNode` has its own InteractionRegion layer.
And animation keys are layer scoped so they can be reused on the
InteractionRegion side.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyProperties):
Call `updateLayerAnimations` for the InteractionRegion layer.
Don't pass a `LayerTreeHost` to avoid duplicating the `WKAnimationDelegate`.

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


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

Reply via email to