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

Issue 19569007: Add basic SVD support to SkMatrix. Allows you to pull out the x- and y-scale factors, sandwiched by… (Closed)

Created:
7 years, 5 months ago by jvanverth1
Modified:
7 years, 5 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Add basic SVD support to SkMatrix. Allows you to pull out the x- and y-scale factors, sandwiched by two rotations. Committed: http://code.google.com/p/skia/source/detail?r=10322

Patch Set 1 #

Total comments: 1

Patch Set 2 : Simplify the result when one rotation is 90 degrees #

Patch Set 3 : Moved decomposition interface to SkMatrixUtils.h. Improved matrix decomp unit tests. #

Patch Set 4 : Clean up tests for SVD code #

Patch Set 5 : Remove trailing white space; replace fabs() with SkScalarAbs() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -0 lines) Patch
M src/core/SkMatrix.cpp View 1 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
M src/core/SkMatrixUtils.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M tests/MatrixTest.cpp View 1 2 3 4 3 chunks +248 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jvanverth1
Some justification may be necessary... I'm working on a non-device space method for ovals, and ...
7 years, 5 months ago (2013-07-17 18:56:10 UTC) #1
reed1
Looks ok, but just to be conservative, does it need to be on the public ...
7 years, 5 months ago (2013-07-18 14:15:54 UTC) #2
jvanverth1
On 2013/07/18 14:15:54, reed1 wrote: > Looks ok, but just to be conservative, does it ...
7 years, 5 months ago (2013-07-18 15:01:42 UTC) #3
jvanverth1
Okay, I've moved the function declaration to SkMatrixUtil.h, which should hide it from public view. ...
7 years, 5 months ago (2013-07-23 15:41:23 UTC) #4
reed1
lgtm
7 years, 5 months ago (2013-07-23 15:42:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/19569007/17001
7 years, 5 months ago (2013-07-24 17:39:17 UTC) #6
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 18:08:10 UTC) #7
Message was sent while issue was closed.
Change committed as 10322

Powered by Google App Engine
This is Rietveld 408576698