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

Issue 1390213002: Add subsetting to SkScanlineDecoder (Closed)

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

Description

Add subsetting to SkScanlineDecoder This CL allows the SkScanlineDecoder to decode partial scanlines. This is a first step in efficiently implementing subsetting in SkScaledCodec. BUG=skia:4209 Committed: https://skia.googlesource.com/skia/+/fdb47571a3b5e72469b67de44e32ac14d9352ab4

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Rebase to manage dependencies #

Total comments: 26

Patch Set 3 : Hopefully the last rebase #

Patch Set 4 : Clean up and response to comments #

Total comments: 4

Patch Set 5 : Update subset benches #

Total comments: 6

Patch Set 6 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -267 lines) Patch
M bench/subset/SubsetSingleBench.cpp View 1 2 3 4 5 1 chunk +13 lines, -40 lines 0 comments Download
M bench/subset/SubsetTranslateBench.cpp View 1 2 3 4 5 3 chunks +17 lines, -45 lines 0 comments Download
M bench/subset/SubsetZoomBench.cpp View 1 2 3 4 5 1 chunk +18 lines, -46 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 3 chunks +10 lines, -18 lines 0 comments Download
M include/codec/SkCodec.h View 1 2 3 4 5 2 chunks +12 lines, -3 lines 0 comments Download
M src/codec/SkBmpCodec.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M src/codec/SkBmpMaskCodec.h View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkBmpMaskCodec.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/codec/SkBmpRLECodec.cpp View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/codec/SkBmpStandardCodec.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 1 chunk +9 lines, -5 lines 0 comments Download
M src/codec/SkCodec_libgif.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M src/codec/SkCodec_libgif.cpp View 1 2 3 5 chunks +6 lines, -12 lines 0 comments Download
M src/codec/SkCodec_libpng.h View 3 chunks +0 lines, -3 lines 0 comments Download
M src/codec/SkCodec_libpng.cpp View 1 2 3 chunks +6 lines, -9 lines 0 comments Download
M src/codec/SkCodec_wbmp.cpp View 3 chunks +4 lines, -6 lines 0 comments Download
M src/codec/SkJpegCodec.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 5 chunks +25 lines, -22 lines 0 comments Download
M src/codec/SkMaskSwizzler.h View 1 3 chunks +5 lines, -7 lines 0 comments Download
M src/codec/SkMaskSwizzler.cpp View 4 chunks +17 lines, -9 lines 0 comments Download
M src/codec/SkSwizzler.h View 1 2 chunks +12 lines, -8 lines 0 comments Download
M src/codec/SkSwizzler.cpp View 1 2 3 5 chunks +19 lines, -16 lines 0 comments Download
M src/codec/SkWebpCodec.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 31 (16 generated)
msarett
Sorry I know you think this is backwards. The other half will follow shortly. https://codereview.chromium.org/1390213002/diff/100001/src/codec/SkBmpRLECodec.cpp ...
5 years, 2 months ago (2015-10-07 22:15:14 UTC) #7
scroggo
I still consider this an optimization that need not come first. I am pleased at ...
5 years, 2 months ago (2015-10-08 20:16:08 UTC) #8
msarett
I think that this CL is a lot easier to looks at now that I've ...
5 years, 2 months ago (2015-10-09 20:03:44 UTC) #11
scroggo
Can you also update nanobench to do partial scanlines? You'll need the fixes to the ...
5 years, 2 months ago (2015-10-09 20:18:40 UTC) #12
msarett
5 years, 2 months ago (2015-10-09 20:53:28 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390213002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390213002/220001
5 years, 2 months ago (2015-10-09 21:24:04 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/3683)
5 years, 2 months ago (2015-10-09 21:25:55 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390213002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390213002/240001
5 years, 2 months ago (2015-10-09 21:32:18 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-09 21:38:49 UTC) #23
msarett
Leon can you take another look?
5 years, 2 months ago (2015-10-09 21:40:50 UTC) #24
scroggo
Included are a couple of small comments on your last patch set. I occasionally forget ...
5 years, 2 months ago (2015-10-12 16:11:20 UTC) #25
msarett
Mike, would you mind taking a look at the API? Leon, I've responded to your ...
5 years, 2 months ago (2015-10-12 17:13:56 UTC) #26
reed1
lgtm
5 years, 2 months ago (2015-10-13 19:40:47 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390213002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390213002/260001
5 years, 2 months ago (2015-10-13 19:42:44 UTC) #30
commit-bot: I haz the power
5 years, 2 months ago (2015-10-13 19:50:20 UTC) #31
Message was sent while issue was closed.
Committed patchset #6 (id:260001) as
https://skia.googlesource.com/skia/+/fdb47571a3b5e72469b67de44e32ac14d9352ab4

Powered by Google App Engine
This is Rietveld 408576698