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

Issue 297163010: Fixed the order of applying transform operations for animation bounds. (Closed)

Created:
6 years, 7 months ago by awoloszyn
Modified:
6 years, 7 months ago
Reviewers:
Ian Vollick, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixed the order of applying transform operations for animation bounds. When applying animations we squash the transforms and therefore end up applying them in reverse order. When we have to calculate bounds we end up applying them one at a time, so we also have to apply this in reverse order. Also modified how we calculate bounds for arcs to simplify the derivation. R=ajuma@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273098

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -27 lines) Patch
M cc/animation/transform_operation.cc View 1 chunk +20 lines, -22 lines 0 comments Download
M cc/animation/transform_operations.cc View 1 chunk +5 lines, -1 line 0 comments Download
M cc/animation/transform_operations_unittest.cc View 1 2 1 chunk +28 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
awoloszyn
6 years, 7 months ago (2014-05-27 15:39:14 UTC) #1
ajuma
lgtm with some style nits https://codereview.chromium.org/297163010/diff/1/cc/animation/transform_operation.cc File cc/animation/transform_operation.cc (right): https://codereview.chromium.org/297163010/diff/1/cc/animation/transform_operation.cc#newcode334 cc/animation/transform_operation.cc:334: // t = atan2(v2.x, ...
6 years, 7 months ago (2014-05-27 16:00:54 UTC) #2
awoloszyn
https://codereview.chromium.org/297163010/diff/1/cc/animation/transform_operations_unittest.cc File cc/animation/transform_operations_unittest.cc (right): https://codereview.chromium.org/297163010/diff/1/cc/animation/transform_operations_unittest.cc#newcode1237 cc/animation/transform_operations_unittest.cc:1237: gfx::Transform blendedTransform = On 2014/05/27 16:00:54, ajuma wrote: > ...
6 years, 7 months ago (2014-05-27 16:08:09 UTC) #3
awoloszyn
The CQ bit was checked by awoloszyn@chromium.org
6 years, 7 months ago (2014-05-27 17:11:19 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/awoloszyn@chromium.org/297163010/20001
6 years, 7 months ago (2014-05-27 17:12:18 UTC) #5
awoloszyn
Windows build bots were complaining (rightly so) about a double-float conversion that should not have ...
6 years, 7 months ago (2014-05-27 18:44:21 UTC) #6
awoloszyn
The CQ bit was checked by awoloszyn@chromium.org
6 years, 7 months ago (2014-05-27 19:39:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/awoloszyn@chromium.org/297163010/40001
6 years, 7 months ago (2014-05-27 19:40:55 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 7 months ago (2014-05-27 23:41:43 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-28 01:18:58 UTC) #10
Message was sent while issue was closed.
Change committed as 273098

Powered by Google App Engine
This is Rietveld 408576698