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

Issue 5772044: use higher precision (64bit) fixed-point for matrix proc (Closed)

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

Description

use higher precision (64bit) fixed-point for matrix proc Committed: https://code.google.com/p/skia/source/detail?r=3336

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -20 lines) Patch
A gm/giantbitmap.cpp View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkFixed.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcState.h View 1 2 chunks +16 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBitmapProcState_matrix.h View 1 2 5 chunks +22 lines, -20 lines 0 comments Download

Messages

Total messages: 2
reed1
... still to add the gm/test to confirm that this fixes the original bug
12 years, 4 months ago (2012-03-07 19:03:03 UTC) #1
caryclark1
12 years, 4 months ago (2012-03-07 20:02:53 UTC) #2
lgtm

https://codereview.appspot.com/5772044/diff/5001/include/core/SkFixed.h
File include/core/SkFixed.h (right):

https://codereview.appspot.com/5772044/diff/5001/include/core/SkFixed.h#newco...
include/core/SkFixed.h:275: #define SkFloatToFixed48(x)     ((SkFixed48)((x) *
(65536.0 * 65536.0 * 65536.0)))
would 65536.0f trigger a float vs a double multiply? Maybe there's no
difference.
Sign in to reply to this message.

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