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

Issue 6749061: Clean up usage of mask gamma. (Closed)

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

Description

Clean up usage of mask gamma.

Patch Set 1 #

Patch Set 2 : Put SK_OVERRIDE in the right place. #

Patch Set 3 : Fix typo on Mac. #

Patch Set 4 : Correctly handle filter. #

Patch Set 5 : Fix mac. #

Patch Set 6 : Re-hide pre-blend. #

Patch Set 7 : Remove accidental declaration. #

Patch Set 8 : Line lengths and consts to make things clear. #

Patch Set 9 : Remove accidental delaration (again). #

Patch Set 10 : Line lengths. #

Patch Set 11 : Add comments. #

Total comments: 2

Patch Set 12 : Decide up front the pre-blend to use. #

Patch Set 13 : Clean up a little. #

Total comments: 8

Patch Set 14 : Address comments (partially). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -214 lines) Patch
M src/core/SkMaskGamma.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +37 lines, -38 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +14 lines, -9 lines 0 comments Download
M src/core/SkScalerContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +9 lines, -3 lines 0 comments Download
M src/core/SkScalerContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +54 lines, -65 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -10 lines 0 comments Download
M src/ports/SkFontHost_FreeType_common.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M src/ports/SkFontHost_FreeType_common.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -22 lines 0 comments Download
M src/ports/SkFontHost_mac_coretext.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -21 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +17 lines, -22 lines 0 comments Download
M src/ports/SkFontHost_win_dw.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +11 lines, -23 lines 0 comments Download

Messages

Total messages: 9
bungeman
This change should result in no pixel changes, but does reduce line count, most of ...
11 years, 8 months ago (2012-10-22 18:56:16 UTC) #1
bungeman
This should now work as intended and clean up some problems. By removing SkScalerContext::getImage's deciding ...
11 years, 8 months ago (2012-10-24 21:00:14 UTC) #2
reed1
seems fine, other than capitalization of Static Methods https://codereview.appspot.com/6749061/diff/16024/src/core/SkMaskGamma.h File src/core/SkMaskGamma.h (right): https://codereview.appspot.com/6749061/diff/16024/src/core/SkMaskGamma.h#newcode97 src/core/SkMaskGamma.h:97: Static ...
11 years, 8 months ago (2012-10-25 19:09:40 UTC) #3
reed1
Is it important that we pass the preblend parameter to generateImage, instead of to the ...
11 years, 8 months ago (2012-10-25 19:11:36 UTC) #4
bungeman
>Is it important that we pass the preblend parameter to generateImage, instead of to the ...
11 years, 8 months ago (2012-10-26 02:36:27 UTC) #5
reed1
https://codereview.appspot.com/6749061/diff/31001/src/core/SkMaskGamma.h File src/core/SkMaskGamma.h (right): https://codereview.appspot.com/6749061/diff/31001/src/core/SkMaskGamma.h#newcode121 src/core/SkMaskGamma.h:121: /** Given a color, returns the closest cannonical color. ...
11 years, 8 months ago (2012-10-26 13:18:28 UTC) #6
bungeman
This should address most of the issues. https://codereview.appspot.com/6749061/diff/31001/src/core/SkMaskGamma.h File src/core/SkMaskGamma.h (right): https://codereview.appspot.com/6749061/diff/31001/src/core/SkMaskGamma.h#newcode121 src/core/SkMaskGamma.h:121: /** Given ...
11 years, 8 months ago (2012-10-26 18:37:55 UTC) #7
reed1
lgtm I don't see anything important about the order things are initialized for SkScalerContext.h. You ...
11 years, 8 months ago (2012-10-26 19:03:06 UTC) #8
bungeman
11 years, 8 months ago (2012-10-26 21:07:09 UTC) #9
Committed revision 6151.
Issue with generateMask applying pre-blend committed revision 6158.
Sign in to reply to this message.

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