[webkit-changes] [WebKit/WebKit] 3a375e: [web-animations] add accelerated representation of...

Antoine Quint noreply at github.com
Wed Mar 1 10:19:48 PST 2023


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

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/animation/WebAnimation.h
    A Source/WebCore/platform/animation/AcceleratedEffect.cpp
    A Source/WebCore/platform/animation/AcceleratedEffect.h
    A Source/WebCore/platform/animation/AcceleratedEffectValues.cpp
    A Source/WebCore/platform/animation/AcceleratedEffectValues.h
    M Source/WebCore/platform/graphics/MediaPlayerPrivate.cpp

  Log Message:
  -----------
  [web-animations] add accelerated representation of WebAnimation and KeyframeEffect
https://bugs.webkit.org/show_bug.cgi?id=253154

Reviewed by Dean Jackson.

For the threaded animation resolution work, we need a class that puts together timing and
keyframes properties from WebAnimation and KeyframeEffect which we be able to be encode and
decode over IPC in future patches.

We also fix a small unified build issue in MediaPlayerPrivate.cpp which appeared on GTK EWS.

* Source/WebCore/Headers.cmake:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/animation/WebAnimation.h:
(WebCore::WebAnimation::holdTime const):
* Source/WebCore/platform/animation/AcceleratedEffect.cpp: Added.
(WebCore::acceleratedPropertyFromCSSProperty):
(WebCore::AcceleratedEffect::create):
(WebCore::AcceleratedEffect::AcceleratedEffect):
* Source/WebCore/platform/animation/AcceleratedEffect.h: Added.
* Source/WebCore/platform/animation/AcceleratedEffectValues.cpp: Added.
(WebCore::AcceleratedEffectValues::copyTransformOperations):
(WebCore::AcceleratedEffectValues::AcceleratedEffectValues):
* Source/WebCore/platform/animation/AcceleratedEffectValues.h: Added.
(WebCore::AcceleratedEffectValues::AcceleratedEffectValues):
* Source/WebCore/platform/graphics/MediaPlayerPrivate.cpp:

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




More information about the webkit-changes mailing list