Changeset 88641 in webkit


Ignore:
Timestamp:
Jun 13, 2011 8:36:13 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-13 Young Han Lee <joybro@company100.net>

Reviewed by Kenneth Rohde Christiansen.

[Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
https://bugs.webkit.org/show_bug.cgi?id=62281

syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.

  • animations/animation-direction-normal-expected.png: Added.
  • animations/animation-direction-normal-expected.txt: Added.
  • animations/animation-direction-normal.html: Added.

2011-06-13 Young Han Lee <joybro@company100.net>

Reviewed by Kenneth Rohde Christiansen.

[Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
https://bugs.webkit.org/show_bug.cgi?id=62281

syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.

Test: animations/animation-direction-normal.html

  • platform/graphics/texmap/TextureMapperNode.cpp: (WebCore::TextureMapperNode::syncAnimations):
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r88637 r88641  
     12011-06-13  Young Han Lee  <joybro@company100.net>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
     6        https://bugs.webkit.org/show_bug.cgi?id=62281
     7
     8        syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.
     9
     10        * animations/animation-direction-normal-expected.png: Added.
     11        * animations/animation-direction-normal-expected.txt: Added.
     12        * animations/animation-direction-normal.html: Added.
     13
    1142011-06-13  Dirk Schulze  <krit@webkit.org>
    215
  • trunk/Source/WebCore/ChangeLog

    r88637 r88641  
     12011-06-13  Young Han Lee  <joybro@company100.net>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Texmap][Qt] Accelerated animation is repeating as if its direction property is always 'alternate'.
     6        https://bugs.webkit.org/show_bug.cgi?id=62281
     7
     8        syncAnimations() has miscalculated a normalized progress value as if the animation always has alternate direction property.
     9
     10        Test: animations/animation-direction-normal.html
     11
     12        * platform/graphics/texmap/TextureMapperNode.cpp:
     13        (WebCore::TextureMapperNode::syncAnimations):
     14
    1152011-06-13  Dirk Schulze  <krit@webkit.org>
    216
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperNode.cpp

    r88247 r88641  
    843843        double totalRunningTime = WTF::currentTime() - animation->startTime;
    844844        RefPtr<Animation> anim = animation->animation;
    845         double normalizedValue = normalizedAnimationValue(totalRunningTime, anim->duration(), true);
     845        double normalizedValue = normalizedAnimationValue(totalRunningTime, anim->duration(), anim->direction());
    846846
    847847        if (anim->iterationCount() != Animation::IterationCountInfinite && totalRunningTime >= anim->duration() * anim->iterationCount()) {
Note: See TracChangeset for help on using the changeset viewer.