Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1041)

Issue 7231063: return if we're invertible for the fast scale+trans case when we have no inverse (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by reed1
Modified:
11 years, 7 months ago
Reviewers:
edisonn
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

return if we're invertible for the fast scale+trans case when we have no inverse matrix to return. Committed: https://code.google.com/p/skia/source/detail?r=7464

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M src/core/SkMatrix.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M tests/MatrixTest.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5
reed1
11 years, 7 months ago (2013-01-30 15:39:40 UTC) #1
edisonn
LGTM
11 years, 7 months ago (2013-01-30 15:43:19 UTC) #2
reed1
Very minor changes are expected, as we perform different sets of FP operations in the ...
11 years, 7 months ago (2013-01-30 17:05:33 UTC) #3
edisonn
Thanks. No, the changes are very small. On Wed, Jan 30, 2013 at 12:05 PM, ...
11 years, 7 months ago (2013-01-30 17:07:34 UTC) #4
edisonn
11 years, 7 months ago (2013-01-30 17:08:11 UTC) #5
more exact:

I rendered skps to pdf, and the change affects only 1 pdf (tabl_gmail) in a
minor way, with no visual changes

/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
>>
/Matrix [8.6667 0 0 -1 -0.0001 907]                 #define
SK_IGNORE_FAST_SCALEMATRIX_INVERT
/Matrix [8.6667 0 0 -1 0.0001 907]                  don't #define
SK_IGNORE_FAST_SCALEMATRIX_INVERT


On Wed, Jan 30, 2013 at 12:07 PM, Edison Nica <edisonn@google.com> wrote:

> Thanks. No, the changes are very small.
>
>
>
> On Wed, Jan 30, 2013 at 12:05 PM, <reed@google.com> wrote:
>
>> Very minor changes are expected, as we perform different sets of FP
>> operations in the new code path. However, I think the new results are
>> more accurate (performs fewer adds and muls, so less chance to
>> accumulate error), and they are definitely faster.
>>
>> When this originally landed, we did some rebaselining in our raster
>> images, for very minor differences which were determined to be
>> insignificant. Are you seeing large changes that might be indicative of
>> a bug in the code?
>>
>>
https://codereview.appspot.**com/7231063/<https://codereview.appspot.com/7231...
>>
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b