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

Issue 1472933002: Make SkAndroidCodec support ico (Closed)

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

Description

Make SkAndroidCodec support ico BUG=skia: Committed: https://skia.googlesource.com/skia/+/be8216a922241cc8f3ea3b813608fcb06936fde0

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Add a sampleX() getter to SkSwizzler #

Patch Set 3 : Add onSkipScanlines() #

Patch Set 4 : Rebase: Make this CL depend on previous CL #

Total comments: 21

Patch Set 5 : Response to comments #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : Update CodexTest - Ico now supports scanline decoding #

Total comments: 1

Patch Set 8 : ASAN fix #

Total comments: 4

Patch Set 9 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -97 lines) Patch
M dm/DM.cpp View 1 chunk +2 lines, -20 lines 0 comments Download
M include/codec/SkCodec.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M src/codec/SkAndroidCodec.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M src/codec/SkBmpCodec.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/codec/SkBmpStandardCodec.h View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M src/codec/SkBmpStandardCodec.cpp View 1 2 3 4 5 6 7 8 5 chunks +66 lines, -21 lines 0 comments Download
M src/codec/SkCodec_libico.h View 1 2 3 4 1 chunk +32 lines, -4 lines 0 comments Download
M src/codec/SkCodec_libico.cpp View 1 2 3 4 4 chunks +125 lines, -46 lines 0 comments Download
M src/codec/SkSwizzler.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M tests/CodexTest.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 37 (17 generated)
msarett
This isn't completely ready, but I thought I'd go ahead and upload in case you ...
5 years ago (2015-11-24 22:43:35 UTC) #4
msarett
I decided to go ahead and support scanline decoding. I prefer this to checking if ...
5 years ago (2015-12-02 14:26:34 UTC) #5
scroggo
On 2015/12/02 14:26:34, msarett wrote: > I decided to go ahead and support scanline decoding. ...
5 years ago (2015-12-02 16:27:03 UTC) #6
msarett
https://codereview.chromium.org/1472933002/diff/90001/src/codec/SkBmpStandardCodec.cpp File src/codec/SkBmpStandardCodec.cpp (right): https://codereview.chromium.org/1472933002/diff/90001/src/codec/SkBmpStandardCodec.cpp#newcode247 src/codec/SkBmpStandardCodec.cpp:247: const size_t andMaskRowBytes = SkAlign4(compute_row_bytes(this->getInfo().width(), 1)); On 2015/12/02 16:27:03, ...
5 years ago (2015-12-03 19:19:16 UTC) #8
scroggo
lgtm https://codereview.chromium.org/1472933002/diff/90001/src/codec/SkCodec_libico.cpp File src/codec/SkCodec_libico.cpp (right): https://codereview.chromium.org/1472933002/diff/90001/src/codec/SkCodec_libico.cpp#newcode23 src/codec/SkCodec_libico.cpp:23: // FIXME: For PNG-in-ICO, we could technically support ...
5 years ago (2015-12-03 19:39:25 UTC) #9
msarett
Derek, can you take a look at the API? https://codereview.chromium.org/1472933002/diff/90001/src/codec/SkCodec_libico.cpp File src/codec/SkCodec_libico.cpp (right): https://codereview.chromium.org/1472933002/diff/90001/src/codec/SkCodec_libico.cpp#newcode23 src/codec/SkCodec_libico.cpp:23: ...
5 years ago (2015-12-03 19:54:15 UTC) #10
scroggo
On 2015/12/03 19:54:15, msarett wrote: > Derek, can you take a look at the API? ...
5 years ago (2015-12-03 20:12:03 UTC) #12
djsollen
api lgtm
5 years ago (2015-12-03 21:42:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472933002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472933002/150001
5 years ago (2015-12-03 21:43:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/4527)
5 years ago (2015-12-03 21:47:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472933002/130002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472933002/130002
5 years ago (2015-12-03 21:53:17 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_TIMED_OUT, no build URL) Build-Ubuntu-Clang-x86_64-Debug-Trybot on ...
5 years ago (2015-12-03 23:53:34 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472933002/130002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472933002/130002
5 years ago (2015-12-04 13:36:23 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:130002) as https://skia.googlesource.com/skia/+/1603e9310f62cf0dd543cdb09dea06aa78373f13
5 years ago (2015-12-04 13:43:14 UTC) #26
scroggo
A revert of this CL (patchset #7 id:130002) has been created in https://codereview.chromium.org/1498903004/ by scroggo@google.com. ...
5 years ago (2015-12-04 15:09:41 UTC) #27
msarett
PTAL, I've fixed the read/write off the edge of memory. https://codereview.chromium.org/1472933002/diff/130002/src/codec/SkBmpStandardCodec.cpp File src/codec/SkBmpStandardCodec.cpp (right): https://codereview.chromium.org/1472933002/diff/130002/src/codec/SkBmpStandardCodec.cpp#newcode322 ...
5 years ago (2015-12-04 15:30:10 UTC) #30
scroggo
lgtm at patch set 8. https://codereview.chromium.org/1472933002/diff/180001/src/codec/SkBmpStandardCodec.cpp File src/codec/SkBmpStandardCodec.cpp (right): https://codereview.chromium.org/1472933002/diff/180001/src/codec/SkBmpStandardCodec.cpp#newcode307 src/codec/SkBmpStandardCodec.cpp:307: int sampledWidth = get_scaled_dimension(this->getInfo().width(), ...
5 years ago (2015-12-04 15:40:12 UTC) #31
msarett
https://codereview.chromium.org/1472933002/diff/180001/src/codec/SkBmpStandardCodec.cpp File src/codec/SkBmpStandardCodec.cpp (right): https://codereview.chromium.org/1472933002/diff/180001/src/codec/SkBmpStandardCodec.cpp#newcode307 src/codec/SkBmpStandardCodec.cpp:307: int sampledWidth = get_scaled_dimension(this->getInfo().width(), sampleX); On 2015/12/04 15:40:12, scroggo ...
5 years ago (2015-12-04 15:45:41 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472933002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472933002/200001
5 years ago (2015-12-04 15:45:54 UTC) #35
commit-bot: I haz the power
5 years ago (2015-12-04 16:00:53 UTC) #37
Message was sent while issue was closed.
Committed patchset #9 (id:200001) as
https://skia.googlesource.com/skia/+/be8216a922241cc8f3ea3b813608fcb06936fde0

Powered by Google App Engine
This is Rietveld 408576698