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

Issue 1402863002: Implementation of SkBitmapRegionDecoder using SkAndroidCodec (Closed)

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

Description

Implementation of SkBitmapRegionDecoder using SkAndroidCodec Includes testing in DM and nanobench BUG=skia: Committed: https://skia.googlesource.com/skia/+/26ad17b8f872fc8bc18df7f49067edbd8b9799e8

Patch Set 1 #

Total comments: 10

Patch Set 2 : Response to comments #

Patch Set 3 : Rebase to use SkAndroidCodec API #

Patch Set 4 : Let's call this AndroidCodec_Strategy #

Total comments: 14

Patch Set 5 : Response to comments from Patch Set 4 #

Patch Set 6 : Win bot fix #

Patch Set 7 : Add AndroidCodec strategy to benchmark #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -106 lines) Patch
M bench/BitmapRegionDecoderBench.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M bench/nanobench.cpp View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M dm/DM.cpp View 1 2 3 4 4 chunks +19 lines, -6 lines 0 comments Download
M dm/DMSrcSink.cpp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M gyp/tools.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/SkBitmapRegionCanvas.cpp View 1 2 3 4 5 chunks +24 lines, -71 lines 0 comments Download
A + tools/SkBitmapRegionCodec.h View 1 2 3 2 chunks +6 lines, -10 lines 0 comments Download
A tools/SkBitmapRegionCodec.cpp View 1 2 3 4 5 1 chunk +143 lines, -0 lines 0 comments Download
M tools/SkBitmapRegionDecoderInterface.h View 1 2 3 4 1 chunk +6 lines, -7 lines 0 comments Download
M tools/SkBitmapRegionDecoderInterface.cpp View 1 2 3 4 3 chunks +14 lines, -4 lines 0 comments Download
M tools/SkCodecTools.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (10 generated)
msarett
And here is the SkBitmapRegionDecoder implementation. https://codereview.chromium.org/1402863002/diff/1/tools/SkBitmapRegionCanvas.cpp File tools/SkBitmapRegionCanvas.cpp (left): https://codereview.chromium.org/1402863002/diff/1/tools/SkBitmapRegionCanvas.cpp#oldcode19 tools/SkBitmapRegionCanvas.cpp:19: * Chooses the ...
5 years, 2 months ago (2015-10-12 18:42:36 UTC) #2
scroggo
https://codereview.chromium.org/1402863002/diff/1/tools/SkBitmapRegionCodec.cpp File tools/SkBitmapRegionCodec.cpp (right): https://codereview.chromium.org/1402863002/diff/1/tools/SkBitmapRegionCodec.cpp#newcode78 tools/SkBitmapRegionCodec.cpp:78: // Ask the codec for a scaled subset On ...
5 years, 2 months ago (2015-10-12 19:18:09 UTC) #3
msarett
Since your last review: Patch Set 2 responds to comments. Patch Set 3 rebases on ...
5 years, 2 months ago (2015-10-21 19:15:10 UTC) #5
scroggo
https://codereview.chromium.org/1402863002/diff/80001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1402863002/diff/80001/dm/DM.cpp#newcode421 dm/DM.cpp:421: folder.append("brd_scaled_codec"); brd_android_codec? https://codereview.chromium.org/1402863002/diff/80001/tools/SkBitmapRegionCodec.cpp File tools/SkBitmapRegionCodec.cpp (right): https://codereview.chromium.org/1402863002/diff/80001/tools/SkBitmapRegionCodec.cpp#newcode34 tools/SkBitmapRegionCodec.cpp:34: // ...
5 years, 2 months ago (2015-10-21 20:56:20 UTC) #7
msarett
https://codereview.chromium.org/1402863002/diff/80001/dm/DM.cpp File dm/DM.cpp (right): https://codereview.chromium.org/1402863002/diff/80001/dm/DM.cpp#newcode421 dm/DM.cpp:421: folder.append("brd_scaled_codec"); On 2015/10/21 20:56:20, scroggo wrote: > brd_android_codec? Yes! ...
5 years, 2 months ago (2015-10-21 22:00:00 UTC) #8
scroggo
lgtm
5 years, 2 months ago (2015-10-22 13:49:02 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1402863002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1402863002/100001
5 years, 2 months ago (2015-10-22 13:51:19 UTC) #11
commit-bot: I haz the power
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/3873)
5 years, 2 months ago (2015-10-22 13:53:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1402863002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1402863002/120001
5 years, 2 months ago (2015-10-22 13:58:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/3750)
5 years, 2 months ago (2015-10-22 14:11:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1402863002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1402863002/140001
5 years, 2 months ago (2015-10-22 14:18:14 UTC) #21
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 14:29:21 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://skia.googlesource.com/skia/+/26ad17b8f872fc8bc18df7f49067edbd8b9799e8

Powered by Google App Engine
This is Rietveld 408576698