[webkit-changes] [WebKit/WebKit] 46e71f: [web-animations] expose an animation type on Keyfr...

Antoine Quint noreply at github.com
Tue Feb 28 05:28:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 46e71fff2ab02746c8ebf30fc29b3ce9a0cccdbb
      https://github.com/WebKit/WebKit/commit/46e71fff2ab02746c8ebf30fc29b3ce9a0cccdbb
  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
    M Source/WebCore/animation/WebAnimationTypes.h

  Log Message:
  -----------
  [web-animations] expose an animation type on KeyframeEffect to determine how keyframes were computed
https://bugs.webkit.org/show_bug.cgi?id=253058

Reviewed by Dean Jackson.

With the work on threaded animation resolution, we will need to determine the type of animation that was
used to generated keyframe so that we can make decision based on the effect alone with regards to its
blending behavior for timing functions.

* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::getKeyframes):
(WebCore::KeyframeEffect::forceLayoutIfNeeded):
(WebCore::KeyframeEffect::computeCSSAnimationBlendingKeyframes):
(WebCore::KeyframeEffect::animationTimelineDidChange):
(WebCore::KeyframeEffect::computeSomeKeyframesUseStepsTimingFunction):
(WebCore::KeyframeEffect::updateAcceleratedActions):
(WebCore::KeyframeEffect::updateAcceleratedAnimationIfNecessary):
* Source/WebCore/animation/KeyframeEffect.h:
* Source/WebCore/animation/WebAnimationTypes.h:

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




More information about the webkit-changes mailing list