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

Issue 12096069: New Matrix3F class added in gfx. (Closed)

Created:
7 years, 10 months ago by motek.
Modified:
7 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Added Matrix3F class to gfx. Will need it to implement color decomposition for thumbnails. BUG=155269 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180427

Patch Set 1 #

Total comments: 40

Patch Set 2 : Addressed reviewer's remarks/ #

Patch Set 3 : Addressed reviewer's remarks (re-do). #

Total comments: 10

Patch Set 4 : Review fixes (2). #

Patch Set 5 : A typo fix. #

Total comments: 34

Patch Set 6 : Addressing review comments. #

Patch Set 7 : Completed renaming + a float PI. #

Total comments: 14

Patch Set 8 : Remaining nits. #

Total comments: 6

Patch Set 9 : Another round + precision fix-up. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+496 lines, -0 lines) Patch
A ui/gfx/matrix3_f.h View 1 2 3 4 5 6 7 8 1 chunk +108 lines, -0 lines 0 comments Download
A ui/gfx/matrix3_f.cc View 1 2 3 4 5 6 7 8 1 chunk +237 lines, -0 lines 0 comments Download
A ui/gfx/matrix3_unittest.cc View 1 2 3 4 5 6 7 1 chunk +148 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Alexei Svitkine (slow)
Here are some initial comments. I'm also curious to see the code that will be ...
7 years, 10 months ago (2013-01-31 15:54:59 UTC) #1
motek.
Added you as the reviewer on https://chromiumcodereview.appspot.com/12091093/ where this will be used. The whole point ...
7 years, 10 months ago (2013-01-31 19:43:18 UTC) #2
Alexei Svitkine (slow)
Looking good, just a few more things. https://codereview.chromium.org/12096069/diff/6002/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/6002/ui/gfx/matrix3_f.cc#newcode30 ui/gfx/matrix3_f.cc:30: double Determinant3x3(T ...
7 years, 10 months ago (2013-01-31 20:02:38 UTC) #3
motek.
https://codereview.chromium.org/12096069/diff/6002/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/6002/ui/gfx/matrix3_f.cc#newcode30 ui/gfx/matrix3_f.cc:30: double Determinant3x3(T data[kMEnd]) { On 2013/01/31 20:02:38, Alexei Svitkine ...
7 years, 10 months ago (2013-01-31 22:00:24 UTC) #4
Alexei Svitkine (slow)
LGTM with a couple remaining comments. Adding danakj@ as a reviewer too, to make sure ...
7 years, 10 months ago (2013-01-31 22:17:18 UTC) #5
motek.
Fixed these + added sky@ to reviewer's list for owner's review of changes to ui/*.gy* ...
7 years, 10 months ago (2013-01-31 22:28:59 UTC) #6
danakj
Small setter/getter methods in the .cpp will have their runtime dominated by the effort to ...
7 years, 10 months ago (2013-01-31 22:38:30 UTC) #7
danakj
https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc File ui/gfx/matrix3_unittest.cc (right): https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc#newcode12 ui/gfx/matrix3_unittest.cc:12: using gfx::Matrix3F; please put this file in namespace gfx ...
7 years, 10 months ago (2013-01-31 22:40:55 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc File ui/gfx/matrix3_unittest.cc (right): https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc#newcode12 ui/gfx/matrix3_unittest.cc:12: using gfx::Matrix3F; On 2013/01/31 22:40:55, danakj wrote: > please ...
7 years, 10 months ago (2013-01-31 22:45:05 UTC) #9
danakj
https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc File ui/gfx/matrix3_unittest.cc (right): https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc#newcode12 ui/gfx/matrix3_unittest.cc:12: using gfx::Matrix3F; On 2013/01/31 22:45:05, Alexei Svitkine wrote: > ...
7 years, 10 months ago (2013-01-31 22:46:41 UTC) #10
Alexei Svitkine (slow)
On 2013/01/31 22:46:41, danakj wrote: > https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc > File ui/gfx/matrix3_unittest.cc (right): > > https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_unittest.cc#newcode12 > ...
7 years, 10 months ago (2013-01-31 22:49:25 UTC) #11
danakj
On Thu, Jan 31, 2013 at 5:49 PM, <asvitkine@chromium.org> wrote: > FWIW, I've not seen ...
7 years, 10 months ago (2013-01-31 22:54:45 UTC) #12
motek.
Done (except k-constants, where I would like a clarification). In particular, I got rid of ...
7 years, 10 months ago (2013-01-31 23:29:56 UTC) #13
danakj
https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_f.cc#newcode21 ui/gfx/matrix3_f.cc:21: kM00, On 2013/01/31 23:29:56, motek. wrote: > On 2013/01/31 ...
7 years, 10 months ago (2013-01-31 23:32:56 UTC) #14
Alexei Svitkine (slow)
https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_f.cc#newcode91 ui/gfx/matrix3_f.cc:91: void Matrix3F::set(ScalarType v) { On 2013/01/31 23:29:56, motek. wrote: ...
7 years, 10 months ago (2013-01-31 23:34:11 UTC) #15
motek.
On 2013/01/31 23:32:56, danakj wrote: > https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_f.cc > File ui/gfx/matrix3_f.cc (right): > > https://codereview.chromium.org/12096069/diff/29001/ui/gfx/matrix3_f.cc#newcode21 > ...
7 years, 10 months ago (2013-01-31 23:49:15 UTC) #16
danakj
LGTM+nits. https://codereview.chromium.org/12096069/diff/14002/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/14002/ui/gfx/matrix3_f.cc#newcode77 ui/gfx/matrix3_f.cc:77: float m20, float m21, float m22) { oh, ...
7 years, 10 months ago (2013-02-01 00:02:34 UTC) #17
motek.
All done. https://codereview.chromium.org/12096069/diff/14002/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/14002/ui/gfx/matrix3_f.cc#newcode77 ui/gfx/matrix3_f.cc:77: float m20, float m21, float m22) { ...
7 years, 10 months ago (2013-02-01 00:14:02 UTC) #18
sky
https://codereview.chromium.org/12096069/diff/36004/ui/gfx/matrix3_f.cc File ui/gfx/matrix3_f.cc (right): https://codereview.chromium.org/12096069/diff/36004/ui/gfx/matrix3_f.cc#newcode55 ui/gfx/matrix3_f.cc:55: Matrix3F::Matrix3F(const Matrix3F& rhs) { Is there a reason to ...
7 years, 10 months ago (2013-02-01 00:25:30 UTC) #19
sky
I'm just curious about the memcpy. Not having a public empty constructor seems painful, but ...
7 years, 10 months ago (2013-02-01 00:26:21 UTC) #20
motek.
Responded to question, fixed nits. Thanks for help, BTW. I also realized that in one ...
7 years, 10 months ago (2013-02-01 15:19:35 UTC) #21
sky
LGTM
7 years, 10 months ago (2013-02-01 17:01:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/12096069/36005
7 years, 10 months ago (2013-02-01 18:07:37 UTC) #23
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=106423
7 years, 10 months ago (2013-02-01 22:50:39 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/12096069/36005
7 years, 10 months ago (2013-02-02 01:43:50 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/12096069/36005
7 years, 10 months ago (2013-02-04 15:13:12 UTC) #26
commit-bot: I haz the power
7 years, 10 months ago (2013-02-04 16:52:54 UTC) #27
Message was sent while issue was closed.
Change committed as 180427

Powered by Google App Engine
This is Rietveld 408576698