Changeset 86680 in webkit
- Timestamp:
- May 17, 2011 10:16:26 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86677 r86680 1 2011-05-17 Sam Magnuson <smagnuson@netflix.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Node that have both an opacity and a transform animation on them seem not to fire. 6 https://bugs.webkit.org/show_bug.cgi?id=40841 7 8 * compositing/animation/busy-indicator-no.png: Added. 9 * compositing/animation/busy-indicator.html: Added. 10 * compositing/animation/busy-indicator.png: Added. 11 * compositing/animation/busy-indicator-expected.txt: Added. 12 1 13 2011-05-17 Andreas Kling <kling@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r86679 r86680 1 2011-05-17 Sam Magnuson <smagnuson@netflix.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Node that have both an opacity and a transform animation on them seem not to fire. 6 https://bugs.webkit.org/show_bug.cgi?id=40841 7 8 Test: compositing/animation/busy-indicator.html 9 10 * platform/graphics/qt/GraphicsLayerQt.cpp: 11 (WebCore::GraphicsLayerQtImpl::recache): 12 (WebCore::GraphicsLayerQtImpl::flushChanges): 13 (WebCore::GraphicsLayerQt::setContentsToImage): 14 (WebCore::TransformAnimationQt::getAnimatedProperty): 15 (WebCore::OpacityAnimationQt::getAnimatedProperty): 16 (WebCore::GraphicsLayerQt::addAnimation): 17 1 18 2011-05-17 Grace Kloba <klobag@chromium.org> 2 19 -
trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp
r86666 r86680 793 793 if (m_pendingContent.contentType != m_currentContent.contentType) 794 794 update(); 795 if (!m_state.drawsContent && m_layer->drawsContent())795 else if (!m_state.drawsContent && m_layer->drawsContent()) 796 796 update(); 797 797 … … 1396 1396 } 1397 1397 1398 1399 virtual AnimatedPropertyID animatedProperty() const = 0; 1400 1398 1401 virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) 1399 1402 { … … 1529 1532 } 1530 1533 1534 virtual AnimatedPropertyID animatedProperty() const { return AnimatedPropertyWebkitTransform; } 1535 1531 1536 // The idea is that we let WebCore manage the transform operations and Qt just manage the 1532 1537 // animation heartbeat and the bottom-line QTransform. We gain performance, not by using … … 1600 1605 } 1601 1606 1607 virtual AnimatedPropertyID animatedProperty() const { return AnimatedPropertyOpacity; } 1608 1602 1609 virtual void applyFrame(const qreal& fromValue, const qreal& toValue, qreal progress) 1603 1610 { … … 1641 1648 if (*it) { 1642 1649 AnimationQtBase* curAnimation = static_cast<AnimationQtBase*>(it->data()); 1643 if (curAnimation && curAnimation->m_webkitAnimation == anim) 1650 if (curAnimation && curAnimation->m_webkitAnimation == anim 1651 && values.property() == curAnimation->animatedProperty()) { 1644 1652 newAnim = curAnimation; 1653 break; 1654 } 1645 1655 } 1646 1656 }
Note: See TracChangeset
for help on using the changeset viewer.