[webkit-changes] [WebKit/WebKit] 0089d8: [web-animations] only compute time offset as neede...

Antoine Quint noreply at github.com
Thu Jan 9 02:49:47 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0089d8a90412a82d843a9cae60b045fe7eb648a1
      https://github.com/WebKit/WebKit/commit/0089d8a90412a82d843a9cae60b045fe7eb648a1
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

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

  Log Message:
  -----------
  [web-animations] only compute time offset as needed when applying accelerated actions
https://bugs.webkit.org/show_bug.cgi?id=285662
rdar://142604875

Reviewed by Anne van Kesteren.

We compute a time offset in `KeyframeEffect::applyPendingAcceleratedActions()` to pass down to the various
`RenderLayerBacking` methods dealing with accelerated animations. However, we don't always end up using it,
so it's best to only compute it as needed.

* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::applyPendingAcceleratedActions):

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



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


More information about the webkit-changes mailing list