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

Issue 1418093006: Refactor SkBitmapRegionDecoderInterface for Android (Closed)

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

Description

Refactor SkBitmapRegionDecoderInterface for Android The result SkBitmap, the pixel allocator, and the alpha preference need to be communicated from the client to the region decoder. BUG=skia: Committed: https://skia.googlesource.com/skia/+/35e5d1b4495478ca3bede66914ae07f50a447c4d

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Pass in the allocator, decodeRegion() in a single call #

Total comments: 5

Patch Set 3 : Response to comments #

Patch Set 4 : Better comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -135 lines) Patch
M bench/BitmapRegionDecoderBench.cpp View 1 1 chunk +2 lines, -4 lines 0 comments Download
M bench/nanobench.cpp View 1 1 chunk +6 lines, -3 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 2 chunks +21 lines, -8 lines 0 comments Download
M tools/SkBitmapRegionCanvas.h View 1 1 chunk +3 lines, -9 lines 0 comments Download
M tools/SkBitmapRegionCanvas.cpp View 1 5 chunks +27 lines, -27 lines 0 comments Download
M tools/SkBitmapRegionCodec.h View 1 1 chunk +3 lines, -9 lines 0 comments Download
M tools/SkBitmapRegionCodec.cpp View 1 5 chunks +15 lines, -21 lines 0 comments Download
M tools/SkBitmapRegionDecoderInterface.h View 1 1 chunk +17 lines, -19 lines 0 comments Download
M tools/SkBitmapRegionSampler.h View 1 1 chunk +3 lines, -9 lines 0 comments Download
M tools/SkBitmapRegionSampler.cpp View 1 2 1 chunk +8 lines, -26 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (8 generated)
msarett
I'm not sure I'm thrilled with how this looks. Looking for feedback. Problems: (1) kOriginal_Strategy ...
5 years, 2 months ago (2015-10-23 16:25:51 UTC) #4
scroggo
On 2015/10/23 16:25:51, msarett wrote: > I'm not sure I'm thrilled with how this looks. ...
5 years, 1 month ago (2015-10-27 15:00:51 UTC) #5
msarett
Here's a completely different approach to changing the BitmapRegionDecoder API per our discussion in person.
5 years, 1 month ago (2015-10-27 18:17:44 UTC) #8
scroggo
On 2015/10/27 18:17:44, msarett wrote: > Here's a completely different approach to changing the > ...
5 years, 1 month ago (2015-10-27 18:53:55 UTC) #9
msarett
https://codereview.chromium.org/1418093006/diff/60001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1418093006/diff/60001/dm/DMSrcSink.cpp#newcode131 dm/DMSrcSink.cpp:131: // FIXME: Make this a fatal error. On 2015/10/27 ...
5 years, 1 month ago (2015-10-27 19:06:16 UTC) #11
scroggo
Other than a request for some better documentation, lgtm https://codereview.chromium.org/1418093006/diff/60001/dm/DMSrcSink.cpp File dm/DMSrcSink.cpp (right): https://codereview.chromium.org/1418093006/diff/60001/dm/DMSrcSink.cpp#newcode131 dm/DMSrcSink.cpp:131: ...
5 years, 1 month ago (2015-10-27 19:23:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418093006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418093006/100001
5 years, 1 month ago (2015-10-27 19:39:50 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 19:50:28 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://skia.googlesource.com/skia/+/35e5d1b4495478ca3bede66914ae07f50a447c4d

Powered by Google App Engine
This is Rietveld 408576698