[webkit-changes] [WebKit/WebKit] 4615c0: [web-animations] make offset-path blending functio...

Antoine Quint noreply at github.com
Mon Jan 23 11:00:06 PST 2023


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

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

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

Reviewed by Dean Jackson.

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

* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::blendFunc):
* Source/WebCore/rendering/PathOperation.cpp:
(WebCore::RayPathOperation::canBlend const):
(WebCore::RayPathOperation::blend const):
* Source/WebCore/rendering/PathOperation.h:
(WebCore::PathOperation::canBlend const):
(WebCore::PathOperation::blend const):
* Source/WebCore/rendering/style/ShapeValue.cpp:
(WebCore::ShapeValue::canBlend const):
(WebCore::ShapeValue::blend const):
* Source/WebCore/rendering/style/ShapeValue.h:

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




More information about the webkit-changes mailing list