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

Issue 22884013: Support tiling bitmaps outside clip bounds in SkPDFImageShader (Closed)

Created:
7 years, 4 months ago by ducky
Modified:
7 years, 4 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Restyle SkPDFImageShader and support tiling bitmaps outside clip bounds BUG=chromium:99458 Committed: http://code.google.com/p/skia/source/detail?r=10870

Patch Set 1 #

Total comments: 4

Patch Set 2 : Optimize clamping case and add GM #

Total comments: 6

Patch Set 3 : Fix nits #

Patch Set 4 : Fix GM slide nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -36 lines) Patch
A gm/clippedbitmapshaders.cpp View 1 2 3 1 chunk +118 lines, -0 lines 0 comments Download
M gyp/gmslides.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 2 9 chunks +63 lines, -36 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ducky
A lot of this CL turned out to be re-styling code and renaming functions / ...
7 years, 4 months ago (2013-08-20 00:21:56 UTC) #1
vandebo (ex-Chrome)
Are there existing GMs that demonstrate the problem you are fixing here? If not we ...
7 years, 4 months ago (2013-08-20 17:22:19 UTC) #2
ducky
Added a test case and optimized the clamping code. Dissecting the PDF shows the the ...
7 years, 4 months ago (2013-08-21 00:44:08 UTC) #3
vandebo (ex-Chrome)
LGTM after nits. https://codereview.chromium.org/22884013/diff/6001/src/pdf/SkPDFShader.cpp File src/pdf/SkPDFShader.cpp (right): https://codereview.chromium.org/22884013/diff/6001/src/pdf/SkPDFShader.cpp#newcode852 src/pdf/SkPDFShader.cpp:852: // or not the pattern cell ...
7 years, 4 months ago (2013-08-21 21:32:43 UTC) #4
vandebo (ex-Chrome)
Oops, forgot to look at the GM... https://codereview.chromium.org/22884013/diff/6001/gm/clippedbitmapshaders.cpp File gm/clippedbitmapshaders.cpp (right): https://codereview.chromium.org/22884013/diff/6001/gm/clippedbitmapshaders.cpp#newcode34 gm/clippedbitmapshaders.cpp:34: pixels[0] = ...
7 years, 4 months ago (2013-08-21 21:37:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/richardlin@chromium.org/22884013/22001
7 years, 4 months ago (2013-08-21 23:05:28 UTC) #6
ducky
Committing https://codereview.chromium.org/22884013/diff/6001/gm/clippedbitmapshaders.cpp File gm/clippedbitmapshaders.cpp (right): https://codereview.chromium.org/22884013/diff/6001/gm/clippedbitmapshaders.cpp#newcode34 gm/clippedbitmapshaders.cpp:34: pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00); On 2013/08/21 ...
7 years, 4 months ago (2013-08-21 23:05:35 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-21 23:10:50 UTC) #8
Message was sent while issue was closed.
Change committed as 10870

Powered by Google App Engine
This is Rietveld 408576698