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

Issue 12226080: Thread ui transform animations (Closed)

Created:
7 years, 10 months ago by ajuma
Modified:
7 years, 9 months ago
Reviewers:
Ian Vollick, danakj, sky
CC:
chromium-reviews, ben+watch_chromium.org, tfarina, jonathan.backer, piman+watch_chromium.org, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@DefineThreadedLayerAnimationElements
Visibility:
Public.

Description

Thread ui transform animations This threads ui transform animations, dispatching them to cc as we now already do for ui opacity animations. BUG=164206 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188007

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address review comments #

Total comments: 1

Patch Set 3 : Rebased #

Patch Set 4 : Two followup fixes #

Patch Set 5 : Fix WebContentsViewAuraTest.QuickOverscrollDirectionChange #

Total comments: 1

Patch Set 6 : Rebase patch set 4 #

Patch Set 7 : Speed up animations in WebContentsViewAuraTest.QuickOverscrollDirectionChange #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -90 lines) Patch
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 4 chunks +11 lines, -5 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 11 chunks +39 lines, -24 lines 0 comments Download
M ui/compositor/layer_animation_delegate.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/compositor/layer_animation_element.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/layer_animation_element.cc View 1 2 3 4 5 3 chunks +74 lines, -1 line 0 comments Download
M ui/compositor/layer_animation_element_unittest.cc View 1 2 3 4 1 chunk +14 lines, -7 lines 0 comments Download
M ui/compositor/layer_animation_sequence.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/layer_animation_sequence.cc View 1 2 3 4 5 2 chunks +13 lines, -2 lines 0 comments Download
M ui/compositor/layer_animation_sequence_unittest.cc View 1 2 6 chunks +22 lines, -15 lines 0 comments Download
M ui/compositor/layer_animator.cc View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M ui/compositor/test/layer_animator_test_controller.cc View 1 2 3 2 chunks +28 lines, -21 lines 0 comments Download
M ui/compositor/test/test_layer_animation_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/compositor/test/test_layer_animation_delegate.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M ui/compositor/transform_animation_curve_adapter.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/views/view.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ui/views/view.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
ajuma
This depends on https://codereview.chromium.org/11896017
7 years, 10 months ago (2013-02-15 18:03:24 UTC) #1
Ian Vollick
On 2013/02/15 18:03:24, ajuma wrote: > This depends on https://codereview.chromium.org/11896017 ui/compositor lgtm! +sky for ui/views ...
7 years, 10 months ago (2013-02-16 04:35:35 UTC) #2
danakj
https://codereview.chromium.org/12226080/diff/10001/ui/compositor/layer.cc File ui/compositor/layer.cc (right): https://codereview.chromium.org/12226080/diff/10001/ui/compositor/layer.cc#newcode419 ui/compositor/layer.cc:419: scale_translate.matrix().set3x3(device_scale_factor, 0, 0, Why do you use temporary gfx::Transforms ...
7 years, 10 months ago (2013-02-16 04:49:51 UTC) #3
ajuma
https://chromiumcodereview.appspot.com/12226080/diff/10001/ui/compositor/layer.cc File ui/compositor/layer.cc (right): https://chromiumcodereview.appspot.com/12226080/diff/10001/ui/compositor/layer.cc#newcode419 ui/compositor/layer.cc:419: scale_translate.matrix().set3x3(device_scale_factor, 0, 0, On 2013/02/16 04:49:51, danakj wrote: > ...
7 years, 10 months ago (2013-02-19 16:12:19 UTC) #4
danakj
Thanks, like this better :) https://chromiumcodereview.appspot.com/12226080/diff/16001/ui/compositor/layer.cc File ui/compositor/layer.cc (right): https://chromiumcodereview.appspot.com/12226080/diff/16001/ui/compositor/layer.cc#newcode814 ui/compositor/layer.cc:814: transform.Translate(-bounds_.x(), -bounds_.y()); This ordering ...
7 years, 10 months ago (2013-02-19 16:19:31 UTC) #5
ajuma
On 2013/02/19 16:19:31, danakj wrote: > Thanks, like this better :) > > https://chromiumcodereview.appspot.com/12226080/diff/16001/ui/compositor/layer.cc > ...
7 years, 10 months ago (2013-02-19 16:35:47 UTC) #6
sky
What do you need me to review here? It also looks like you've pulled in ...
7 years, 10 months ago (2013-02-19 22:15:12 UTC) #7
ajuma
On 2013/02/19 22:15:12, sky wrote: > What do you need me to review here? ui/views ...
7 years, 10 months ago (2013-02-19 22:19:44 UTC) #8
sky
ui/views LGTM. git allows uploading relative to another patch.
7 years, 10 months ago (2013-02-19 23:13:36 UTC) #9
ajuma
On 2013/02/19 23:13:36, sky wrote: > git allows uploading relative to another patch. That's how ...
7 years, 10 months ago (2013-02-20 00:09:20 UTC) #10
sky
My mistake, I thought I saw parts of the other patch in layer_animation_element. -Scott On ...
7 years, 10 months ago (2013-02-20 00:42:05 UTC) #11
ajuma
Patch rebased onto trunk (now that the patch to thread opacity has landed) and updated ...
7 years, 10 months ago (2013-02-25 22:05:47 UTC) #12
Ian Vollick
On 2013/02/25 22:05:47, ajuma wrote: > Patch rebased onto trunk (now that the patch to ...
7 years, 9 months ago (2013-02-27 17:07:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/12226080/31007
7 years, 9 months ago (2013-02-27 19:01:58 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=20359
7 years, 9 months ago (2013-02-27 21:06:14 UTC) #15
ajuma
WebContentsViewAuraTest.QuickOverscrollDirectionChange was failing because it was taking too long to finish. This test produces a ...
7 years, 9 months ago (2013-03-01 19:31:42 UTC) #16
Ian Vollick
Your approach sounds reasonable to me, but I have no authority to r+ a patch ...
7 years, 9 months ago (2013-03-04 13:50:50 UTC) #17
sky
I would rather see the test add an observe that tracks when the animation completes ...
7 years, 9 months ago (2013-03-04 14:48:56 UTC) #18
ajuma
On 2013/03/04 14:48:56, sky wrote: > I would rather see the test add an observe ...
7 years, 9 months ago (2013-03-04 15:14:21 UTC) #19
sky
We should make the animations instantaneous in tests too. -Scott On Mon, Mar 4, 2013 ...
7 years, 9 months ago (2013-03-04 18:05:34 UTC) #20
ajuma
On 2013/03/04 18:05:34, sky wrote: > We should make the animations instantaneous in tests too. ...
7 years, 9 months ago (2013-03-04 18:52:40 UTC) #21
sky
Yes, that is what I was hoping for. On Mon, Mar 4, 2013 at 10:52 ...
7 years, 9 months ago (2013-03-04 22:08:04 UTC) #22
ajuma
sky, PTAL: WebContentsViewAuraTest.QuickOverscrollDirectionChange now uses ScopedAnimatonDurationScaleMode to speed up the test.
7 years, 9 months ago (2013-03-13 18:21:24 UTC) #23
sky
nice LGTM
7 years, 9 months ago (2013-03-13 20:51:58 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/12226080/67001
7 years, 9 months ago (2013-03-13 21:33:23 UTC) #25
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-13 23:06:18 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/12226080/67001
7 years, 9 months ago (2013-03-13 23:44:04 UTC) #27
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 07:09:20 UTC) #28
Message was sent while issue was closed.
Change committed as 188007

Powered by Google App Engine
This is Rietveld 408576698