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

Issue 1820503002: Delete SkImageDecoder (Closed)

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

Description

Delete SkImageDecoder This image decoding implementation has been replaced by SkCodec in Android. Additionally, we have replaced uses of SkImageDecoder in Skia and Google3 with uses of SkCodec. Now we can delete SkImageDecoder :). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1820503002 CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot Committed: https://skia.googlesource.com/skia/+/f799706656f2581c5bf5510d94df3fa17cce1607 Committed: https://skia.googlesource.com/skia/+/5b6e73e0c8282c4d85accbfbcecc6dee84f8a1eb Committed: https://skia.googlesource.com/skia/+/f037fdebda2a2626e6512d7532063f2cd41a264d Committed: https://skia.googlesource.com/skia/+/e8597a4dd07d78eb0e7a45d6502896c1b9a8bfeb

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Keep SkMovie #

Patch Set 4 : Remove etc/astc gms for now #

Total comments: 4

Patch Set 5 : Response to comments and fix trybots #

Patch Set 6 : Cmake fix 1 #

Patch Set 7 : Cmake fix 2 #

Patch Set 8 : Make sure we link CG and WIC encoders #

Patch Set 9 : Include SkRect #

Patch Set 10 : Include SkImage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -6758 lines) Patch
M cmake/CMakeLists.txt View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M gm/downsamplebitmap.cpp View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
D gm/etc1bitmap.cpp View 1 2 3 1 chunk +0 lines, -223 lines 0 comments Download
M gyp/core.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M gyp/images.gyp View 1 2 3 4 5 chunks +1 line, -28 lines 0 comments Download
M include/core/SkCanvas.h View 2 chunks +1 line, -1 line 0 comments Download
D include/core/SkImageDecoder.h View 1 chunk +0 lines, -413 lines 0 comments Download
M include/core/SkImageEncoder.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -2 lines 0 comments Download
M include/core/SkPicture.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M include/core/SkPngChunkReader.h View 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkWriteBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkImageSource.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M src/android/SkBitmapRegionDecoder.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkBigPicture.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkLayerInfo.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrLayerCache.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/images/SkForceLinking.cpp View 1 2 3 4 5 6 7 2 chunks +11 lines, -15 lines 0 comments Download
D src/images/SkImageDecoder.cpp View 1 chunk +0 lines, -204 lines 0 comments Download
D src/images/SkImageDecoder_FactoryDefault.cpp View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
D src/images/SkImageDecoder_FactoryRegistrar.cpp View 1 chunk +0 lines, -63 lines 0 comments Download
D src/images/SkImageDecoder_astc.cpp View 1 chunk +0 lines, -203 lines 0 comments Download
M src/images/SkImageDecoder_ktx.cpp View 3 chunks +4 lines, -238 lines 0 comments Download
D src/images/SkImageDecoder_libbmp.cpp View 1 chunk +0 lines, -166 lines 0 comments Download
D src/images/SkImageDecoder_libgif.cpp View 1 chunk +0 lines, -541 lines 0 comments Download
D src/images/SkImageDecoder_libico.cpp View 1 chunk +0 lines, -456 lines 0 comments Download
M src/images/SkImageDecoder_libjpeg.cpp View 3 chunks +1 line, -756 lines 0 comments Download
M src/images/SkImageDecoder_libpng.cpp View 4 chunks +3 lines, -680 lines 0 comments Download
M src/images/SkImageDecoder_libwebp.cpp View 3 chunks +1 line, -313 lines 0 comments Download
D src/images/SkImageDecoder_pkm.cpp View 1 chunk +0 lines, -128 lines 0 comments Download
D src/images/SkImageDecoder_wbmp.cpp View 1 chunk +0 lines, -173 lines 0 comments Download
M src/images/SkJpegUtility.h View 2 chunks +0 lines, -18 lines 0 comments Download
M src/images/SkJpegUtility.cpp View 1 chunk +0 lines, -102 lines 0 comments Download
D src/images/SkScaledBitmapSampler.h View 1 chunk +0 lines, -107 lines 0 comments Download
D src/images/SkScaledBitmapSampler.cpp View 1 chunk +0 lines, -877 lines 0 comments Download
D src/images/bmpdecoderhelper.h View 1 chunk +0 lines, -116 lines 0 comments Download
D src/images/bmpdecoderhelper.cpp View 1 chunk +0 lines, -369 lines 0 comments Download
M src/ports/SkImageDecoder_CG.cpp View 1 2 3 4 5 6 7 3 chunks +3 lines, -252 lines 0 comments Download
M src/ports/SkImageDecoder_WIC.cpp View 1 2 3 4 5 6 7 4 chunks +5 lines, -227 lines 0 comments Download
M src/ports/SkImageDecoder_empty.cpp View 1 chunk +0 lines, -63 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 57 (26 generated)
msarett
I'm still waiting on 2 CLs in Google3, but I think we can start this ...
4 years, 9 months ago (2016-03-21 21:07:37 UTC) #4
djsollen
are their no GMs that exercise these code paths? I recall us having GMs for ...
4 years, 9 months ago (2016-03-22 12:36:58 UTC) #5
scroggo
On 2016/03/22 12:36:58, djsollen wrote: > are their no GMs that exercise these code paths? ...
4 years, 9 months ago (2016-03-22 12:51:27 UTC) #6
scroggo
> Keep SkMovie Derek, can we deprecate this? I sincerely doubt that anyone is using ...
4 years, 9 months ago (2016-03-22 12:52:54 UTC) #7
msarett
On 2016/03/22 12:51:27, scroggo wrote: > On 2016/03/22 12:36:58, djsollen wrote: > > are their ...
4 years, 9 months ago (2016-03-22 15:51:49 UTC) #8
scroggo
LGTM. Yay! Do we need to wait to make sure that people in Google3 have ...
4 years, 9 months ago (2016-03-22 18:00:04 UTC) #9
msarett
On 2016/03/22 18:00:04, scroggo wrote: > LGTM. Yay! > > Do we need to wait ...
4 years, 9 months ago (2016-03-22 18:03:59 UTC) #10
dogben
On 2016/03/22 at 18:03:59, msarett wrote: > On 2016/03/22 18:00:04, scroggo wrote: > > LGTM. ...
4 years, 9 months ago (2016-03-22 18:04:50 UTC) #11
msarett
Derek, any thoughts on the API? I think the last Google3 fix is about to ...
4 years, 9 months ago (2016-03-23 16:50:04 UTC) #12
djsollen
api lgtm
4 years, 9 months ago (2016-03-23 17:12:34 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/50001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/50001
4 years, 9 months ago (2016-03-23 17:16:56 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/1410)
4 years, 9 months ago (2016-03-23 17:18:28 UTC) #17
msarett
https://codereview.chromium.org/1820503002/diff/50001/gyp/images.gyp File gyp/images.gyp (left): https://codereview.chromium.org/1820503002/diff/50001/gyp/images.gyp#oldcode46 gyp/images.gyp:46: # If decoders are added/removed to/from (all/individual) On 2016/03/22 ...
4 years, 9 months ago (2016-03-23 17:52:04 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/1820503002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/70001
4 years, 9 months ago (2016-03-23 17:53:48 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-CMake-Trybot/builds/35)
4 years, 9 months ago (2016-03-23 17:58:20 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/90001
4 years, 9 months ago (2016-03-23 18:00:29 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-CMake-Trybot/builds/36)
4 years, 9 months ago (2016-03-23 18:05:02 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/110001
4 years, 9 months ago (2016-03-23 18:10:50 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-23 18:25:40 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/110001
4 years, 9 months ago (2016-03-23 18:27:07 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:110001) as https://skia.googlesource.com/skia/+/f799706656f2581c5bf5510d94df3fa17cce1607
4 years, 9 months ago (2016-03-23 18:28:13 UTC) #35
msarett
A revert of this CL (patchset #7 id:110001) has been created in https://codereview.chromium.org/1830723002/ by msarett@google.com. ...
4 years, 9 months ago (2016-03-23 19:26:15 UTC) #36
msarett
PTAL Deleting the CG and WIC image decoders caused us to stop linking the CG ...
4 years, 9 months ago (2016-03-23 20:45:01 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/130001
4 years, 9 months ago (2016-03-24 00:52:37 UTC) #41
commit-bot: I haz the power
Committed patchset #8 (id:130001) as https://skia.googlesource.com/skia/+/5b6e73e0c8282c4d85accbfbcecc6dee84f8a1eb
4 years, 9 months ago (2016-03-24 01:10:20 UTC) #43
msarett
A revert of this CL (patchset #8 id:130001) has been created in https://codereview.chromium.org/1828433004/ by msarett@google.com. ...
4 years, 9 months ago (2016-03-24 01:52:16 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/150001
4 years, 9 months ago (2016-03-24 02:03:40 UTC) #48
commit-bot: I haz the power
Committed patchset #9 (id:150001) as https://skia.googlesource.com/skia/+/f037fdebda2a2626e6512d7532063f2cd41a264d
4 years, 9 months ago (2016-03-24 02:19:32 UTC) #50
msarett
A revert of this CL (patchset #9 id:150001) has been created in https://codereview.chromium.org/1830943002/ by msarett@google.com. ...
4 years, 9 months ago (2016-03-24 11:45:18 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1820503002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1820503002/170001
4 years, 9 months ago (2016-03-24 16:53:25 UTC) #55
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 17:41:52 UTC) #57
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://skia.googlesource.com/skia/+/e8597a4dd07d78eb0e7a45d6502896c1b9a8bfeb

Powered by Google App Engine
This is Rietveld 408576698