[webkit-changes] [WebKit/WebKit] 67da82: [web-animations] disable accelerated animations pe...
Antoine Quint
noreply at github.com
Tue Feb 28 04:36:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 67da82176804447eca205332d4e3de57f1e0b37d
https://github.com/WebKit/WebKit/commit/67da82176804447eca205332d4e3de57f1e0b37d
Author: Antoine Quint <graouts at webkit.org>
Date: 2023-02-28 (Tue, 28 Feb 2023)
Changed paths:
M Source/WebCore/animation/KeyframeEffect.cpp
M Source/WebCore/animation/KeyframeEffect.h
Log Message:
-----------
[web-animations] disable accelerated animations performed by Core Animation for threaded animation resolution
https://bugs.webkit.org/show_bug.cgi?id=253061
Reviewed by Dean Jackson.
When threaded animation resolution is enabled we must make sure that accelerated animations performed
by Core Animation aren't started.
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::updateAcceleratedActions):
(WebCore::KeyframeEffect::addPendingAcceleratedAction):
(WebCore::KeyframeEffect::willChangeRenderer):
(WebCore::KeyframeEffect::CanBeAcceleratedMutationScope::~CanBeAcceleratedMutationScope):
(WebCore::KeyframeEffect::lastStyleChangeEventStyleDidChange):
* Source/WebCore/animation/KeyframeEffect.h:
Canonical link: https://commits.webkit.org/260934@main
More information about the webkit-changes
mailing list