Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 24bd7e7d0b87dfd7f4d484b48c4632eb10e678de
https://github.com/WebKit/WebKit/commit/24bd7e7d0b87dfd7f4d484b48c4632eb10e678de
Author: Antoine Quint <[email protected]>
Date: 2025-10-14 (Tue, 14 Oct 2025)
Changed paths:
M Source/WebCore/platform/animation/AcceleratedEffect.cpp
M Source/WebCore/platform/animation/AcceleratedEffect.h
M Source/WebKit/SourcesCocoa.txt
R Source/WebKit/UIProcess/RemoteLayerTree/RemoteAcceleratedEffectStack.h
R Source/WebKit/UIProcess/RemoteLayerTree/RemoteAcceleratedEffectStack.mm
A Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimation.cpp
A Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimation.h
A Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationStack.h
A Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationStack.mm
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm
M
Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.h
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.mm
M
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingCoordinatorProxyMac.h
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
[threaded-animation-resolution] use dedicated remote types for animations in
the UI process
https://bugs.webkit.org/show_bug.cgi?id=300721
rdar://162623993
Reviewed by Dean Jackson.
In preparation for the support of multiple timeline types, we introduce a new
`RemoteAnimation` type
for use within the remote render layer tree, and have such objects be managed
by a `RemoteAnimationStack`
class that is no longer a subclass of `AcceleratedEffectStack`.
* Source/WebCore/platform/animation/AcceleratedEffect.cpp:
(WebCore::AcceleratedEffect::apply const):
(WebCore::AcceleratedEffect::apply): Deleted.
* Source/WebCore/platform/animation/AcceleratedEffect.h:
* Source/WebKit/SourcesCocoa.txt:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimation.cpp: Added.
(WebKit::RemoteAnimation::create):
(WebKit::RemoteAnimation::RemoteAnimation):
(WebKit::RemoteAnimation::apply):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimation.h: Added.
(WebKit::RemoteAnimation::animatedProperties const):
(WebKit::RemoteAnimation::keyframes const):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationStack.h: Renamed from
Source/WebKit/UIProcess/RemoteLayerTree/RemoteAcceleratedEffectStack.h.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteAnimationStack.mm: Renamed from
Source/WebKit/UIProcess/RemoteLayerTree/RemoteAcceleratedEffectStack.mm.
(WebKit::RemoteAnimationStack::create):
(WebKit::RemoteAnimationStack::RemoteAnimationStack):
(WebKit::RemoteAnimationStack::longestFilterList const):
(WebKit::RemoteAnimationStack::initEffectsFromMainThread):
(WebKit::RemoteAnimationStack::applyEffectsFromScrollingThread const):
(WebKit::RemoteAnimationStack::applyEffectsFromMainThread const):
(WebKit::RemoteAnimationStack::computeValues const):
(WebKit::RemoteAnimationStack::clear):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.mm:
(WebKit::RemoteLayerTreeNode::~RemoteLayerTreeNode):
(WebKit::RemoteLayerTreeNode::setAcceleratedEffectsAndBaseValues):
*
Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm:
(WebKit::RemoteScrollingCoordinatorProxyIOS::updateAnimations):
* Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.h:
* Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteLayerTreeEventDispatcher.mm:
(WebKit::RemoteLayerTreeEventDispatcher::startOrStopDisplayLinkOnMainThread):
(WebKit::RemoteLayerTreeEventDispatcher::scrollingTreeWasRecentlyActive):
(WebKit::RemoteLayerTreeEventDispatcher::lockForAnimationChanges):
(WebKit::RemoteLayerTreeEventDispatcher::unlockForAnimationChanges):
(WebKit::RemoteLayerTreeEventDispatcher::animationsWereAddedToNode):
(WebKit::RemoteLayerTreeEventDispatcher::animationsWereRemovedFromNode):
(WebKit::RemoteLayerTreeEventDispatcher::updateAnimations):
*
Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingCoordinatorProxyMac.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Canonical link: https://commits.webkit.org/301535@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes