Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(922)

Issue 732153003: Update a result vector when sampling animation effects. (Closed)

Created:
6 years, 1 month ago by sof
Modified:
6 years, 1 month ago
CC:
dstockwell, darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, Mike Lawther (Google), rjwright, Steve Block, Timothy Loh
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

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

Patch Set 1 #

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

Messages

Total messages: 18 (6 generated)
sof
Please take a look. This reduces the allocation rates for some of the blink_perf.animation tests, ...
6 years, 1 month ago (2014-11-19 17:01:34 UTC) #2
sof
blink_perf.animation results: https://docs.google.com/spreadsheets/d/1OzLWVacJZ1Qj59ttmJzM815mlvRsd7Wv79qMQhF0DFU/edit?usp=sharing As regards allocation counts, for balls-keyframe-animation.html, InterpolationEffect::getActiveInterpolations() will with ToT allocate 525,000 ...
6 years, 1 month ago (2014-11-19 22:33:18 UTC) #3
haraken
On 2014/11/19 22:33:18, sof wrote: > blink_perf.animation results: > https://docs.google.com/spreadsheets/d/1OzLWVacJZ1Qj59ttmJzM815mlvRsd7Wv79qMQhF0DFU/edit?usp=sharing > > As regards allocation ...
6 years, 1 month ago (2014-11-20 01:33:07 UTC) #4
sof
+shans, ericwilligers as reviewers.
6 years, 1 month ago (2014-11-20 06:11:16 UTC) #6
dstockwell
lgtm, but wait for shans@ to take a look
6 years, 1 month ago (2014-11-20 09:06:09 UTC) #8
sof
On 2014/11/20 09:06:09, dstockwell wrote: > lgtm, but wait for shans@ to take a look ...
6 years, 1 month ago (2014-11-21 15:06:28 UTC) #9
shans
On 2014/11/21 15:06:28, sof wrote: > On 2014/11/20 09:06:09, dstockwell wrote: > > lgtm, but ...
6 years, 1 month ago (2014-11-22 11:06:47 UTC) #10
sof
On 2014/11/22 11:06:47, shans wrote: > On 2014/11/21 15:06:28, sof wrote: > > On 2014/11/20 ...
6 years, 1 month ago (2014-11-22 15:17:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/732153003/1
6 years, 1 month ago (2014-11-22 15:17:50 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/83366)
6 years, 1 month ago (2014-11-22 15:56:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/732153003/1
6 years, 1 month ago (2014-11-22 16:18:37 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-11-22 16:19:14 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185840

Powered by Google App Engine
This is Rietveld 408576698