[Webkit-unassigned] [Bug 203568] New: [Web Animations] Cache the output of getBasicTiming() and getComputedTiming() for animation resolution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 09:22:16 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=203568

            Bug ID: 203568
           Summary: [Web Animations] Cache the output of getBasicTiming()
                    and getComputedTiming() for animation resolution
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at apple.com
                CC: dino at apple.com, webkit-bug-importer at group.apple.com

At the moment, running a CSS transition will yield these calls to AnimationEffect::getBasicTiming() and AnimationEffect::getComputedTiming():

>>>>> DocumentTimeline::updateAnimationsAndSendEvents()
    getBasicTiming() in WebAnimation::effectEndTime(), localTime is 0.017000.
    getBasicTiming() in WebAnimation::effectEndTime(), localTime is 0.017000.
    getBasicTiming() in WebAnimation::computeRelevance(), localTime is 0.017000.
    getBasicTiming() in AnimationEffect::getComputedTiming(), localTime is 0.017000.
    getComputedTiming() in DeclarativeAnimation::invalidateDOMEvents(), localTime is 17.000000.
    getBasicTiming() in WebAnimation::effectEndTime(), localTime is 0.017000.
    getBasicTiming() in WebAnimation::effectEndTime(), localTime is 0.017000.
<<<<< DocumentTimeline::updateAnimationsAndSendEvents()
    >>>>> TreeResolver::createAnimatedElementUpdate()
        getBasicTiming() in AnimationEffect::getComputedTiming(), localTime is 0.017000.
        getComputedTiming() in KeyframeEffect::apply(), localTime is 17.000000.
    <<<<< TreeResolver::createAnimatedElementUpdate()
    getBasicTiming() in WebAnimation::effectEndTime(), localTime is 0.017000.
    getBasicTiming() in WebAnimation::effectEndTime(), localTime is 0.017000.
>>>>> DocumentTimeline::updateAnimationsAndSendEvents()

Ideally, we should reduce this to a single call to getBasicTiming() and getComputedTiming().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191029/d1887f63/attachment.htm>


More information about the webkit-unassigned mailing list