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

Issue 12453010: Allow impl-only animations, and return opacity values via AnimationEvents. (Closed)

Created:
7 years, 9 months ago by wjmaclean
Modified:
7 years, 9 months ago
Reviewers:
Ian Vollick
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Allow impl-only animations, and return opacity values via AnimationEvents. We would like to allow animations to run only on the impl thread, so we need to make sure they don't get clobbered when finished animations are removed. Also, we need a mechanism to allow opacity values to propagate back to the main-thread so that impl-only opacity animations have their values reflected on the main thread when the animation is complete. BUG=165842 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186725

Patch Set 1 #

Total comments: 11

Patch Set 2 : Revised as per comments. #

Patch Set 3 : Update transform on Layer also. #

Total comments: 8

Patch Set 4 : Fixed nits, patch for submission. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -4 lines) Patch
M cc/animation.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M cc/animation.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/animation_events.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M cc/layer.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M cc/layer_animation_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layer_animation_controller.cc View 1 2 3 3 chunks +35 lines, -1 line 0 comments Download
M cc/layer_animation_controller_unittest.cc View 1 2 3 3 chunks +92 lines, -0 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 1 chunk +14 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
wjmaclean
Here's the impl-only animation CL, can you please take a look?
7 years, 9 months ago (2013-03-05 19:28:28 UTC) #1
Ian Vollick
This is pretty close to what I was hoping for, but I'd like to add ...
7 years, 9 months ago (2013-03-06 01:00:57 UTC) #2
wjmaclean
https://codereview.chromium.org/12453010/diff/1/cc/animation.h File cc/animation.h (right): https://codereview.chromium.org/12453010/diff/1/cc/animation.h#newcode110 cc/animation.h:110: void setIsImplAnimationOnly(bool isImplOnly) { m_isImplAnimationOnly = isImplOnly; } On ...
7 years, 9 months ago (2013-03-06 17:03:13 UTC) #3
wjmaclean
PTAL.
7 years, 9 months ago (2013-03-06 19:24:40 UTC) #4
Ian Vollick
lgtm with nits. https://codereview.chromium.org/12453010/diff/11001/cc/animation_events.h File cc/animation_events.h (right): https://codereview.chromium.org/12453010/diff/11001/cc/animation_events.h#newcode34 cc/animation_events.h:34: gfx::Transform transform; nit: s/value/opacity/. Here and ...
7 years, 9 months ago (2013-03-06 23:29:45 UTC) #5
wjmaclean
https://codereview.chromium.org/12453010/diff/11001/cc/animation_events.h File cc/animation_events.h (right): https://codereview.chromium.org/12453010/diff/11001/cc/animation_events.h#newcode34 cc/animation_events.h:34: gfx::Transform transform; On 2013/03/06 23:29:45, vollick wrote: > nit: ...
7 years, 9 months ago (2013-03-07 13:49:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/12453010/16001
7 years, 9 months ago (2013-03-07 13:49:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/12453010/26002
7 years, 9 months ago (2013-03-07 14:15:10 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-03-07 16:16:43 UTC) #9
Message was sent while issue was closed.
Change committed as 186725

Powered by Google App Engine
This is Rietveld 408576698