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

Issue 11316043: Implement unit tests and temporary MathUtil wrappers for transform functionality (Closed)

Created:
8 years, 1 month ago by shawnsingh
Modified:
8 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Implement unit tests and temporary MathUtil wrappers for transform functionality These unit tests and wrappers have a short-term home in MathUtil so that we can safely migrate from WebTransformationMatrix to gfx::Transform in a follow-up patch. After the migration, we will then proceed to phase out this temporary code and beef up ui/gfx/transform.h nicely. BUG=159972 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168571

Patch Set 1 #

Total comments: 22

Patch Set 2 : Addressed reviewer feedback #

Total comments: 6

Patch Set 3 : path for landing if trybots compile #

Patch Set 4 : patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1098 lines, -2 lines) Patch
M cc/math_util.h View 1 2 3 3 chunks +30 lines, -0 lines 0 comments Download
M cc/math_util.cc View 1 2 2 chunks +158 lines, -0 lines 0 comments Download
M cc/math_util_unittest.cc View 1 1 chunk +909 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_transformation_matrix_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
shawnsingh
requesting danakj@ to look at entire patch requesting sky@ to look at the trivial fixes ...
8 years, 1 month ago (2012-11-16 08:07:16 UTC) #1
Ian Vollick
Nice, I really like these changes. I'm excited for their addition to gfx::Transform. http://codereview.chromium.org/11316043/diff/1/cc/math_util.cc File ...
8 years, 1 month ago (2012-11-16 13:44:46 UTC) #2
danakj
http://codereview.chromium.org/11316043/diff/1/cc/math_util.h File cc/math_util.h (right): http://codereview.chromium.org/11316043/diff/1/cc/math_util.h#newcode130 cc/math_util.h:130: static void makeIdentity(gfx::Transform*); On 2012/11/16 13:44:46, vollick wrote: > ...
8 years, 1 month ago (2012-11-16 16:25:15 UTC) #3
shawnsingh
Awesome - thanks for the detailed look. Sorry I accidentally left you out on the ...
8 years, 1 month ago (2012-11-16 17:22:35 UTC) #4
shawnsingh
oh, and btw, after we had taken a closer look, we concluded that skia and ...
8 years, 1 month ago (2012-11-16 17:25:26 UTC) #5
sky
Dana is an owner for ui/gfx/transform now, you no longer need me. I'm removing myself ...
8 years, 1 month ago (2012-11-16 21:44:11 UTC) #6
shawnsingh
So here is a more complete response to the reviews... and everything I did not ...
8 years, 1 month ago (2012-11-17 00:38:31 UTC) #7
shawnsingh
danakj@ PTAL -- thanks!
8 years, 1 month ago (2012-11-17 00:41:30 UTC) #8
danakj
LGTM http://codereview.chromium.org/11316043/diff/4013/cc/math_util.cc File cc/math_util.cc (right): http://codereview.chromium.org/11316043/diff/4013/cc/math_util.cc#newcode403 cc/math_util.cc:403: // TODO (shawnsingh): we may need to check ...
8 years, 1 month ago (2012-11-17 02:14:17 UTC) #9
shawnsingh
http://codereview.chromium.org/11316043/diff/4013/cc/math_util.cc File cc/math_util.cc (right): http://codereview.chromium.org/11316043/diff/4013/cc/math_util.cc#newcode502 cc/math_util.cc:502: DCHECK(false); // NOT YET IMPLEMENTED!! OK I guess you've ...
8 years, 1 month ago (2012-11-17 05:42:40 UTC) #10
danakj
http://codereview.chromium.org/11316043/diff/4013/cc/math_util.cc File cc/math_util.cc (right): http://codereview.chromium.org/11316043/diff/4013/cc/math_util.cc#newcode502 cc/math_util.cc:502: DCHECK(false); // NOT YET IMPLEMENTED!! On 2012/11/17 05:42:41, shawnsingh ...
8 years, 1 month ago (2012-11-17 08:27:21 UTC) #11
enne (OOO)
8 years, 1 month ago (2012-11-19 19:29:53 UTC) #12
compositor_bindings lgtm

Powered by Google App Engine
This is Rietveld 408576698