Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 15d5907f99af2f747033e5981ad5d61e918a3587
      
https://github.com/WebKit/WebKit/commit/15d5907f99af2f747033e5981ad5d61e918a3587
  Author: Antoine Quint <[email protected]>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M Source/WebCore/animation/KeyframeEffectStack.cpp
    M Source/WebCore/animation/KeyframeEffectStack.h
    M Source/WebCore/rendering/RenderLayerBacking.cpp
    M Source/WebCore/style/Styleable.cpp

  Log Message:
  -----------
  [threaded-animations] remove `KeyframeEffectStack::m_acceleratedEffects`
https://bugs.webkit.org/show_bug.cgi?id=312142
rdar://174647940

Reviewed by Anne van Kesteren.

We keep a list of all accelerated effects on `KeyframeEffectStack` for the sole 
purpose
of implementing `KeyframeEffectStack::hasAcceleratedEffects()` which can 
already query
all effects using `KeyframeEffect::isRunningAccelerated()`. It probably was 
useful during
bring up of threaded animations when that was the most reliable way to 
implenent that
function but seems unnecessary at this juncture so we remove it.

* Source/WebCore/animation/KeyframeEffectStack.cpp:
(WebCore::KeyframeEffectStack::hasAcceleratedEffects const):
* Source/WebCore/animation/KeyframeEffectStack.h:
(WebCore::KeyframeEffectStack::setAcceleratedEffects): Deleted.
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateAcceleratedEffectsAndBaseValues):
* Source/WebCore/style/Styleable.cpp:
(WebCore::Styleable::hasRunningAcceleratedAnimations const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to