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

Issue 11418197: Move temporary MathUtil wrappers to permanent home in gfx::Transform (Closed)

Created:
8 years ago by shawnsingh
Modified:
8 years ago
Reviewers:
Ian Vollick, danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Move temporary MathUtil wrappers to permanent home in gfx::Transform This patch moves some of the temporary wrappers to their permanent home. Unit tests remain in math_util_unittests for now, but no test coverage is lost. Added 3 static accessors to Vector3dF help readability when calling RotateAbout(). BUG=159972 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170099

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased and addressed reviewer feedback #

Total comments: 3

Patch Set 3 : patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -141 lines) Patch
M cc/layer_sorter_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/layer_tree_host_common.cc View 1 3 chunks +5 lines, -13 lines 0 comments Download
M cc/layer_tree_host_common_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M cc/math_util.h View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/math_util.cc View 1 5 chunks +8 lines, -55 lines 0 comments Download
M cc/math_util_unittest.cc View 1 2 10 chunks +222 lines, -45 lines 0 comments Download
M cc/occlusion_tracker_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/gfx/transform.h View 1 2 chunks +20 lines, -3 lines 0 comments Download
M ui/gfx/transform.cc View 1 2 chunks +114 lines, -12 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
shawnsingh
PTAL, thanks! At this point, I feel OK migrating all in one patch - if ...
8 years ago (2012-11-28 00:18:11 UTC) #1
danakj
Seems that only uses of RotateAbout() pass in one of XAxis, YAxis, or ZAxis (excluding ...
8 years ago (2012-11-28 00:42:11 UTC) #2
shawnsingh
Addressed your feedback. Filed bug http://code.google.com/p/chromium/issues/detail?id=163062. I'm planning to work on it within the next ...
8 years ago (2012-11-28 06:00:50 UTC) #3
shawnsingh
On 2012/11/28 06:00:50, shawnsingh wrote: > Addressed your feedback. > > Filed bug http://code.google.com/p/chromium/issues/detail?id=163062. I'm ...
8 years ago (2012-11-28 06:17:58 UTC) #4
danakj
On 2012/11/28 06:17:58, shawnsingh wrote: > On 2012/11/28 06:00:50, shawnsingh wrote: > > Addressed your ...
8 years ago (2012-11-28 20:38:03 UTC) #5
Ian Vollick
On 2012/11/28 20:38:03, danakj wrote: > On 2012/11/28 06:17:58, shawnsingh wrote: > > On 2012/11/28 ...
8 years ago (2012-11-28 20:41:55 UTC) #6
danakj
https://codereview.chromium.org/11418197/diff/2004/cc/math_util_unittest.cc File cc/math_util_unittest.cc (right): https://codereview.chromium.org/11418197/diff/2004/cc/math_util_unittest.cc#newcode795 cc/math_util_unittest.cc:795: A.RotateAbout(gfx::Vector3dF(0, 0, 0), 45); I guess in my previous ...
8 years ago (2012-11-28 20:42:58 UTC) #7
Ian Vollick
On 2012/11/28 20:42:58, danakj wrote: > https://codereview.chromium.org/11418197/diff/2004/cc/math_util_unittest.cc > File cc/math_util_unittest.cc (right): > > https://codereview.chromium.org/11418197/diff/2004/cc/math_util_unittest.cc#newcode795 > ...
8 years ago (2012-11-28 20:45:31 UTC) #8
danakj
On 2012/11/28 20:41:55, vollick wrote: > On 2012/11/28 20:38:03, danakj wrote: > > On 2012/11/28 ...
8 years ago (2012-11-28 20:48:16 UTC) #9
shawnsingh
More discussion should definitely happen elsewhere... but the current state was that we felt that ...
8 years ago (2012-11-28 20:49:37 UTC) #10
danakj
LGTM with some tests for RotateAbout() added. https://codereview.chromium.org/11418197/diff/2004/cc/math_util_unittest.cc File cc/math_util_unittest.cc (right): https://codereview.chromium.org/11418197/diff/2004/cc/math_util_unittest.cc#newcode736 cc/math_util_unittest.cc:736: A.RotateAboutZAxis(90); I ...
8 years ago (2012-11-28 20:52:17 UTC) #11
shawnsingh
Thanks for review. new patch has draconian coverage for all 4 functions now =) I'll ...
8 years ago (2012-11-28 22:20:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shawnsingh@chromium.org/11418197/1012
8 years ago (2012-11-28 22:44:20 UTC) #13
commit-bot: I haz the power
8 years ago (2012-11-28 23:31:56 UTC) #14
Sorry for I got bad news for ya.
Compile failed with a clobber build on win.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...
Your code is likely broken or HEAD is junk. Please ensure your
code is not broken then alert the build sheriffs.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698