[webkit-changes] [WebKit/WebKit] 17ca03: [web-animations] prevent animations using FilterOp...

Antoine Quint noreply at github.com
Wed Mar 8 23:15:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 17ca03d688833f437bf3bc140fca6e1c8704a72a
      https://github.com/WebKit/WebKit/commit/17ca03d688833f437bf3bc140fca6e1c8704a72a
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-03-08 (Wed, 08 Mar 2023)

  Changed paths:
    M Source/WebCore/animation/CSSPropertyAnimation.cpp
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/animation/KeyframeEffect.h

  Log Message:
  -----------
  [web-animations] prevent animations using FilterOperation::Type::Reference filters from running accelerated
https://bugs.webkit.org/show_bug.cgi?id=253565

Reviewed by Dean Jackson.

For threaded animation resolution, we must ensure that animations using FilterOperation::Type::Reference
filters don't end up running accelerated since this filter type cannot be encoded for transfer over IPC.

* Source/WebCore/animation/CSSPropertyAnimation.cpp:
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::setBlendingKeyframes):
(WebCore::KeyframeEffect::canBeAccelerated const):
(WebCore::KeyframeEffect::computeHasReferenceFilter):
* Source/WebCore/animation/KeyframeEffect.h:

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




More information about the webkit-changes mailing list