[webkit-changes] [WebKit/WebKit] b70c53: [web-animations] make offset-rotate blending funct...

Antoine Quint noreply at github.com
Sun Jan 22 11:03:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b70c536fec72b75791aefcad62bcad68fddac011
      https://github.com/WebKit/WebKit/commit/b70c536fec72b75791aefcad62bcad68fddac011
  Author: Antoine Quint <graouts at apple.com>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M Source/WebCore/animation/CSSPropertyAnimation.cpp
    M Source/WebCore/rendering/style/OffsetRotation.cpp
    M Source/WebCore/rendering/style/OffsetRotation.h

  Log Message:
  -----------
  [web-animations] make offset-rotate blending functions public
https://bugs.webkit.org/show_bug.cgi?id=250971
rdar://104526186

Reviewed by Tim Nguyen.

To support the work towards running accelerated animations in a separate thread, we must
make the offset-rotate blending code accessible outside of CSSPropertyAnimation.cpp.

* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
* Source/WebCore/rendering/style/OffsetRotation.cpp:
(WebCore::OffsetRotation::canBlend const):
(WebCore::OffsetRotation::blend const):
* Source/WebCore/rendering/style/OffsetRotation.h:

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




More information about the webkit-changes mailing list