[webkit-changes] [WebKit/WebKit] 2bbba9: [web-animations] internals.acceleratedAnimationsFo...

Antoine Quint noreply at github.com
Fri Mar 3 11:52:41 PST 2023


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

  Changed paths:
    M Source/WebCore/animation/DocumentTimeline.cpp
    M Source/WebCore/platform/graphics/GraphicsLayer.h
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h

  Log Message:
  -----------
  [web-animations] internals.acceleratedAnimationsForElement() should account for threaded animation resolution
https://bugs.webkit.org/show_bug.cgi?id=253317

Reviewed by Dean Jackson.

Use the AcceleratedEffectStack to access animations for a GraphicsLayer to report up to internals.acceleratedAnimationsForElement().

* Source/WebCore/animation/DocumentTimeline.cpp:
(WebCore::DocumentTimeline::acceleratedAnimationsForElement const):
* Source/WebCore/platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::acceleratedAnimationsForTesting const):
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:
* Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h:

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




More information about the webkit-changes mailing list