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

Issue 23431021: Refactoring animation code in accelerated path. (Closed)

Created:
7 years, 3 months ago by dshwang
Modified:
7 years, 3 months ago
CC:
blink-reviews, shans, eae+blinkwatch, Steve Block, jamesr, dino_apple.com, alancutter (OOO until 2018), dsinclair, dglazkov+blink, danakj, dstockwell, Timothy Loh, Rik, jchaffraix+rendering, pdr., Eric Willigers, rjwright, darktears, leviw+renderwatch, blink-layers+watch_chromium.org, Mike Lawther (Google), Stephen Chennney, jeez
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Refactoring animation code in accelerated path. Introduce WebAnimationProvider to extract animation logic from RenderLayerBacking and GraphicsLayer. The goals of this CL are 1. Get together animation logic in one file to increase readability. 2. Resolve layer violation of GraphicsLayer that includes CSS. BUG=N/A Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158052

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename createAnimationAndStoreId from appendAnimation. Add some ASSERTs. #

Total comments: 4

Patch Set 3 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -807 lines) Patch
M Source/core/core.gypi View 1 4 chunks +5 lines, -3 lines 0 comments Download
A + Source/core/platform/animation/AnimationTranslationUtil.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/core/platform/animation/AnimationTranslationUtil.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
A + Source/core/platform/animation/AnimationTranslationUtilTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.h View 1 5 chunks +4 lines, -12 lines 0 comments Download
M Source/core/platform/graphics/GraphicsLayer.cpp View 1 4 chunks +9 lines, -38 lines 0 comments Download
D Source/core/platform/graphics/chromium/AnimationTranslationUtil.h View 1 chunk +0 lines, -56 lines 0 comments Download
D Source/core/platform/graphics/chromium/AnimationTranslationUtil.cpp View 1 1 chunk +0 lines, -303 lines 0 comments Download
D Source/core/platform/graphics/chromium/AnimationTranslationUtilTest.cpp View 1 chunk +0 lines, -263 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 7 chunks +47 lines, -127 lines 0 comments Download
A Source/core/rendering/animation/WebAnimationProvider.h View 1 1 chunk +76 lines, -0 lines 0 comments Download
A Source/core/rendering/animation/WebAnimationProvider.cpp View 1 2 1 chunk +216 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
dshwang
7 years, 3 months ago (2013-09-12 13:25:05 UTC) #1
dshwang
7 years, 3 months ago (2013-09-13 11:17:42 UTC) #2
dshwang
7 years, 3 months ago (2013-09-13 17:23:46 UTC) #3
inactive_dshwang_plz_cc_intel
7 years, 3 months ago (2013-09-16 21:03:15 UTC) #4
shawnsingh
I like it! Most the changes seem fine to me. Vollick may be a good ...
7 years, 3 months ago (2013-09-19 12:57:37 UTC) #5
dshwang
On 2013/09/19 12:57:37, shawnsingh wrote: Thank you for your review. > I like it! Most ...
7 years, 3 months ago (2013-09-19 14:19:55 UTC) #6
dshwang
@vollick, could you review?
7 years, 3 months ago (2013-09-19 14:20:58 UTC) #7
Ian Vollick
lgtm. Nice refactor. https://codereview.chromium.org/23431021/diff/1/Source/core/rendering/animation/WebAnimationProvider.cpp File Source/core/rendering/animation/WebAnimationProvider.cpp (right): https://codereview.chromium.org/23431021/diff/1/Source/core/rendering/animation/WebAnimationProvider.cpp#newcode61 Source/core/rendering/animation/WebAnimationProvider.cpp:61: return AnimatedPropertyBackgroundColor; Are we accelerating this ...
7 years, 3 months ago (2013-09-19 15:04:30 UTC) #8
dshwang
Thank you for lgtm. https://codereview.chromium.org/23431021/diff/1/Source/core/rendering/animation/WebAnimationProvider.cpp File Source/core/rendering/animation/WebAnimationProvider.cpp (right): https://codereview.chromium.org/23431021/diff/1/Source/core/rendering/animation/WebAnimationProvider.cpp#newcode61 Source/core/rendering/animation/WebAnimationProvider.cpp:61: return AnimatedPropertyBackgroundColor; On 2013/09/19 15:04:30, ...
7 years, 3 months ago (2013-09-19 15:56:48 UTC) #9
dshwang
On 2013/09/19 15:56:48, dshwang wrote: > Thank you for lgtm. > > https://codereview.chromium.org/23431021/diff/1/Source/core/rendering/animation/WebAnimationProvider.cpp > File ...
7 years, 3 months ago (2013-09-19 16:00:05 UTC) #10
Ian Vollick
On 2013/09/19 16:00:05, dshwang wrote: > On 2013/09/19 15:56:48, dshwang wrote: > > Thank you ...
7 years, 3 months ago (2013-09-19 16:03:20 UTC) #11
dshwang
Hi, could you review again. There are little change to fix nits. https://codereview.chromium.org/23431021/diff/19001/Source/core/rendering/animation/WebAnimationProvider.cpp File Source/core/rendering/animation/WebAnimationProvider.cpp ...
7 years, 3 months ago (2013-09-19 16:10:47 UTC) #12
Ian Vollick
Thanks, slgtm. https://codereview.chromium.org/23431021/diff/19001/Source/core/rendering/animation/WebAnimationProvider.cpp File Source/core/rendering/animation/WebAnimationProvider.cpp (right): https://codereview.chromium.org/23431021/diff/19001/Source/core/rendering/animation/WebAnimationProvider.cpp#newcode64 Source/core/rendering/animation/WebAnimationProvider.cpp:64: ASSERT_NOT_REACHED(); // Chromiumn compositor cannot accelerate filter ...
7 years, 3 months ago (2013-09-19 17:00:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/23431021/23001
7 years, 3 months ago (2013-09-19 17:47:03 UTC) #14
dshwang
On 2013/09/19 17:00:18, Ian Vollick wrote: > typo: s/Chromiumn/Chromium/ Oops, Thank you :)
7 years, 3 months ago (2013-09-19 17:47:09 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=6450
7 years, 3 months ago (2013-09-19 19:55:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/23431021/23001
7 years, 3 months ago (2013-09-19 20:27:14 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 21:02:50 UTC) #18
Message was sent while issue was closed.
Change committed as 158052

Powered by Google App Engine
This is Rietveld 408576698