[webkit-changes] [WebKit/WebKit] e4d1cc: [threaded-animation-resolution] Adopt `WebAnimatio...

Antoine Quint noreply at github.com
Thu Nov 7 06:43:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4d1cc8416c0613aa92ea030801d15c2aace662f
      https://github.com/WebKit/WebKit/commit/e4d1cc8416c0613aa92ea030801d15c2aace662f
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M Source/WebCore/animation/WebAnimationTime.h
    M Source/WebCore/platform/animation/AcceleratedEffect.cpp
    M Source/WebCore/platform/animation/AcceleratedEffect.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  [threaded-animation-resolution] Adopt `WebAnimationTime` in `AcceleratedEffect`
https://bugs.webkit.org/show_bug.cgi?id=282751

Reviewed by Anne van Kesteren.

In order to be able to support threaded animation resolution for scroll-driven animations,
we will need to deal with non-monotonic timing values and as such need to change `Seconds`
members to `WebAnimationTime` in `AcceleratedEffect`.

* Source/WebCore/animation/WebAnimationTime.h:
* Source/WebCore/platform/animation/AcceleratedEffect.cpp:
(WebCore::AcceleratedEffect::create):
(WebCore::AcceleratedEffect::AcceleratedEffect):
(WebCore::AcceleratedEffect::apply):
* Source/WebCore/platform/animation/AcceleratedEffect.h:
(WebCore::AcceleratedEffect::startTime const):
(WebCore::AcceleratedEffect::holdTime const):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

Canonical link: https://commits.webkit.org/286277@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