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

Issue 1256373002: Pass the destination pointer to next (Closed)

Created:
5 years, 4 months ago by msarett
Modified:
5 years, 4 months ago
Reviewers:
scroggo, emmaleer
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Pass the destination pointer to next() in SkSwizzler Per our discussion, we can make the swizzler simpler and more usable for SkCodec and SkScanlineDecoder by only having a single version of next() which takes a pointer to the srcRow and a pointer to the dstRow. BUG=skia: Committed: https://skia.googlesource.com/skia/+/614aa072cbb055a29f37fa25a657313bccc5d666

Patch Set 1 #

Total comments: 16

Patch Set 2 : #

Patch Set 3 : Thanks windows bot! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -181 lines) Patch
M src/codec/SkCodec_libbmp.cpp View 1 5 chunks +10 lines, -9 lines 0 comments Download
M src/codec/SkCodec_libgif.cpp View 1 2 2 chunks +15 lines, -9 lines 0 comments Download
M src/codec/SkCodec_libpng.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/codec/SkCodec_libpng.cpp View 1 8 chunks +22 lines, -24 lines 0 comments Download
M src/codec/SkMaskSwizzler.h View 1 2 chunks +3 lines, -7 lines 0 comments Download
M src/codec/SkMaskSwizzler.cpp View 1 4 chunks +7 lines, -14 lines 0 comments Download
M src/codec/SkSwizzler.h View 1 4 chunks +11 lines, -59 lines 0 comments Download
M src/codec/SkSwizzler.cpp View 1 16 chunks +21 lines, -57 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (5 generated)
msarett
5 years, 4 months ago (2015-07-27 20:07:11 UTC) #2
scroggo
A few comments, but overall I think this is a lot cleaner. https://codereview.chromium.org/1256373002/diff/1/src/codec/SkCodec_libbmp.cpp File src/codec/SkCodec_libbmp.cpp ...
5 years, 4 months ago (2015-07-27 20:42:07 UTC) #3
msarett
https://codereview.chromium.org/1256373002/diff/1/src/codec/SkCodec_libbmp.cpp File src/codec/SkCodec_libbmp.cpp (right): https://codereview.chromium.org/1256373002/diff/1/src/codec/SkCodec_libbmp.cpp#newcode798 src/codec/SkCodec_libbmp.cpp:798: fBitsPerPixel)); On 2015/07/27 20:42:06, scroggo wrote: > nit: Can ...
5 years, 4 months ago (2015-07-27 21:11:34 UTC) #4
scroggo
lgtm
5 years, 4 months ago (2015-07-27 21:31:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1256373002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1256373002/20001
5 years, 4 months ago (2015-07-27 21:53:46 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/2250)
5 years, 4 months ago (2015-07-27 21:57:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1256373002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1256373002/40001
5 years, 4 months ago (2015-07-27 22:05:42 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-07-27 22:13:21 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/614aa072cbb055a29f37fa25a657313bccc5d666

Powered by Google App Engine
This is Rietveld 408576698