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

Issue 150493002: remove unnecessary SkScalar macros (Closed)

Created:
6 years, 10 months ago by reed1
Modified:
6 years, 10 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

remove (unnecessary) SkScalarMul and SkScalarMulAdd macros from SkMatrix.cpp. SkScalarMulDiv remains, but it can be removed later (though it is slightly clearer to use it at times). BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=13252

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : add SK_LEGACY_MATRIX_MATH_ORDER #

Patch Set 8 : #

Total comments: 19

Patch Set 9 : review comments from #8 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -178 lines) Patch
M src/core/SkMatrix.cpp View 1 2 3 4 5 6 7 8 48 chunks +205 lines, -178 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
reed1
6 years, 10 months ago (2014-01-30 19:01:09 UTC) #1
reed1
I propose landing this w/ the legacy flag ON, then landing it with the flag ...
6 years, 10 months ago (2014-01-30 19:01:47 UTC) #2
mtklein
https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp File src/core/SkMatrix.cpp (left): https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp#oldcode455 src/core/SkMatrix.cpp:455: fMat[kMPersp2] = kMatrix22Elem; Is there no value in keeping ...
6 years, 10 months ago (2014-01-30 19:14:55 UTC) #3
reed1
https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp File src/core/SkMatrix.cpp (left): https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp#oldcode455 src/core/SkMatrix.cpp:455: fMat[kMPersp2] = kMatrix22Elem; On 2014/01/30 19:14:55, mtklein wrote: > ...
6 years, 10 months ago (2014-01-30 20:53:47 UTC) #4
mtklein
lgtm
6 years, 10 months ago (2014-01-30 21:01:20 UTC) #5
caryclark
lgtm with nits that need not be addressed https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp File src/core/SkMatrix.cpp (right): https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp#newcode320 src/core/SkMatrix.cpp:320: this->setScale(SkScalarInvert(divx), ...
6 years, 10 months ago (2014-01-30 21:19:10 UTC) #6
reed1
https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp File src/core/SkMatrix.cpp (right): https://codereview.chromium.org/150493002/diff/140001/src/core/SkMatrix.cpp#newcode320 src/core/SkMatrix.cpp:320: this->setScale(SkScalarInvert(divx), SkScalarInvert(divy)); On 2014/01/30 21:19:10, caryclark wrote: > This ...
6 years, 10 months ago (2014-01-30 21:38:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/150493002/160001
6 years, 10 months ago (2014-01-30 21:39:22 UTC) #8
commit-bot: I haz the power
Change committed as 13252
6 years, 10 months ago (2014-01-30 22:13:14 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-30 22:13:20 UTC) #10
rmistry
On 2014/01/30 22:13:20, I haz the power (commit-bot) wrote: > CQ bit was unchecked on ...
6 years, 10 months ago (2014-01-30 22:32:09 UTC) #11
epoger
6 years, 10 months ago (2014-01-31 04:49:55 UTC) #12
Message was sent while issue was closed.
This CL broke some GM results; see
https://code.google.com/p/skia/issues/detail?id=2113 ('SkMatrix change has
modified perspective-related GM results on all 32-bit Win7 buildbots')

Powered by Google App Engine
This is Rietveld 408576698