Changeset 151513 in webkit
- Timestamp:
- Jun 12, 2013 11:28:24 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151512 r151513 1 2013-06-12 Ralph Thomas <ralpht@gmail.com> 2 3 [CSS Shaders] Animations and transitions should use validated custom programs 4 https://bugs.webkit.org/show_bug.cgi?id=117550 5 6 Run filters used for animations and transitions through RenderLayer::computeFilterOperations 7 in order to validate custom filter operations. 8 9 Reviewed by Alexandru Chiculita. 10 11 No new tests as no platform can run custom filters with accelerated animations yet. 12 13 * rendering/RenderLayerBacking.cpp: 14 (WebCore::RenderLayerBacking::startAnimation): 15 (WebCore::RenderLayerBacking::startTransition): 16 1 17 2013-06-12 Ruth Fong <ruth_fong@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r150898 r151513 2122 2122 #if ENABLE(CSS_FILTERS) 2123 2123 if ((hasFilter && isFirstOrLastKeyframe) || currentKeyframe.containsProperty(CSSPropertyWebkitFilter)) 2124 filterVector.insert(FilterAnimationValue::create(key, keyframeStyle->filter(), tf));2124 filterVector.insert(FilterAnimationValue::create(key, owningLayer()->computeFilterOperations(keyframeStyle), tf)); 2125 2125 #endif 2126 2126 } … … 2192 2192 if (filterAnim && !filterAnim->isEmptyOrZeroDuration()) { 2193 2193 KeyframeValueList filterVector(AnimatedPropertyWebkitFilter); 2194 filterVector.insert(FilterAnimationValue::create(0, fromStyle->filter()));2195 filterVector.insert(FilterAnimationValue::create(1, toStyle->filter()));2194 filterVector.insert(FilterAnimationValue::create(0, owningLayer()->computeFilterOperations(fromStyle))); 2195 filterVector.insert(FilterAnimationValue::create(1, owningLayer()->computeFilterOperations(toStyle))); 2196 2196 if (m_graphicsLayer->addAnimation(filterVector, IntSize(), filterAnim, GraphicsLayer::animationNameForTransition(AnimatedPropertyWebkitFilter), timeOffset)) { 2197 2197 // To ensure that the correct filter is visible when the animation ends, also set the final filter.
Note: See TracChangeset
for help on using the changeset viewer.