|
Update a result vector when sampling animation effects.
Switch AnimationEffect::sample() from being functional and return a
new result vector to instead take a result vector to update. This lets animation
loops that repeatedly sample to reuse their vector allocations.
R=dstockwell,shans
BUG=
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185840
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+163 lines, -81 lines) |
Patch |
|
M |
Source/core/animation/Animation.cpp
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/AnimationEffect.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/AnimationStack.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/InertAnimation.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/InertAnimation.cpp
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/InterpolationEffect.h
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/InterpolationEffect.cpp
|
View
|
|
2 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/InterpolationEffectTest.cpp
|
View
|
|
2 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/KeyframeEffectModel.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/KeyframeEffectModel.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/KeyframeEffectModelTest.cpp
|
View
|
|
20 chunks |
+106 lines, -44 lines |
0 comments
|
Download
|
|
M |
Source/core/animation/SampledEffect.h
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/animation/css/CSSAnimations.cpp
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 18 (6 generated)
|