[webkit-changes] [WebKit/WebKit] 96332f: [web-animations] send the timeline time origin ove...

Antoine Quint noreply at github.com
Tue Nov 28 12:22:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 96332f0a2170a1e0270dccd5074138785e9d617b
      https://github.com/WebKit/WebKit/commit/96332f0a2170a1e0270dccd5074138785e9d617b
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.h
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  [web-animations] send the timeline time origin over to the UI process
https://bugs.webkit.org/show_bug.cgi?id=265459
rdar://118882053

Reviewed by Dean Jackson.

In order to be able to resolve the current time of animation with threaded animation resolution,
we will need to make the timeline time origin available to the UI Process through the `RemoteLayerTreeTransaction`.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in:
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreeTransaction.h:
(WebKit::RemoteLayerTreeTransaction::acceleratedTimelineTimeOrigin const):
(WebKit::RemoteLayerTreeTransaction::setAcceleratedTimelineTimeOrigin):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h:
(WebKit::RemoteLayerTreeDrawingAreaProxy::acceleratedTimelineTimeOrigin const):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
(WebKit::RemoteLayerTreeHost::acceleratedTimelineTimeOrigin const):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::willCommitLayerTree):

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




More information about the webkit-changes mailing list