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

Issue 1275773004: Switching Skia to chromium's libjpeg-turbo (Closed)

Created:
5 years, 4 months ago by msarett
Modified:
5 years, 4 months 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

Switching Skia to chromium's libjpeg-turbo Compile SkJpegCodec and SkImageDecoder_libjpeg with chromium's libjpeg-turbo. SkImageDecoder_libjpeg still uses libjpeg on Android and the Android framework. SkJpegCodec is still not compiled on the Android framework. BUG=skia: Committed: https://skia.googlesource.com/skia/+/fcaaadee711a93d601ccc9f0b47d744e22c35205

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Add comment to dependencies.gypi #

Total comments: 8

Patch Set 3 : Rebase and response to comments #

Patch Set 4 : Remove header file from gyp that no longer exists - fix windows build #

Patch Set 5 : Removing libjpeg from DEPS #

Patch Set 6 : Update DEPS with libjpeg-turbo fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -192 lines) Patch
M DEPS View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M gyp/libjpeg.gyp View 1 chunk +9 lines, -94 lines 0 comments Download
M gyp/libjpeg-turbo.gyp View 1 2 3 10 chunks +58 lines, -68 lines 0 comments Download
M platform_tools/android/gyp/dependencies.gypi View 1 1 chunk +16 lines, -12 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 13 chunks +20 lines, -14 lines 0 comments Download
M src/codec/SkJpegDecoderMgr.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkJpegUtility_codec.cpp View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (11 generated)
msarett
https://codereview.chromium.org/1275773004/diff/20001/gyp/libjpeg-turbo.gyp File gyp/libjpeg-turbo.gyp (right): https://codereview.chromium.org/1275773004/diff/20001/gyp/libjpeg-turbo.gyp#newcode211 gyp/libjpeg-turbo.gyp:211: [ '"mips" in skia_arch_type', { Chromium's copy of turbo ...
5 years, 4 months ago (2015-08-10 17:28:21 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275773004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275773004/60001
5 years, 4 months ago (2015-08-10 17:31:52 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/2552)
5 years, 4 months ago (2015-08-10 17:35:45 UTC) #8
scroggo
https://codereview.chromium.org/1275773004/diff/60001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1275773004/diff/60001/src/codec/SkJpegCodec.cpp#newcode445 src/codec/SkJpegCodec.cpp:445: #ifndef chromium_HAS_SKIP It seems weird to me that this ...
5 years, 4 months ago (2015-08-10 17:43:26 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275773004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275773004/100001
5 years, 4 months ago (2015-08-11 12:37:45 UTC) #12
msarett
Sorry for doing the rebase and the comments all in one upload. https://codereview.chromium.org/1275773004/diff/60001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp ...
5 years, 4 months ago (2015-08-11 12:38:06 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/2565)
5 years, 4 months ago (2015-08-11 12:39:46 UTC) #15
scroggo
lgtm, once it's all working
5 years, 4 months ago (2015-08-11 13:22:14 UTC) #16
msarett
I think this should be ready to land after my one line patch to libjpeg-turbo ...
5 years, 4 months ago (2015-08-11 17:00:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275773004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275773004/160001
5 years, 4 months ago (2015-08-11 20:25:03 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:160001) as https://skia.googlesource.com/skia/+/fcaaadee711a93d601ccc9f0b47d744e22c35205
5 years, 4 months ago (2015-08-11 20:33:03 UTC) #21
Noel Gordon
After this change, I can no longer build a stand alone skia on win per ...
5 years, 4 months ago (2015-08-17 05:17:18 UTC) #23
Noel Gordon
Additional win compilation breakage even after fixing the above c:\src\chrome\src\third_party\skia\third_party\libwebp\webp\config.h(25) : warning C4067: unexpected tokens ...
5 years, 4 months ago (2015-08-17 06:23:15 UTC) #24
msarett
I think that the jpeg errors are not a real problem. The error was probably ...
5 years, 4 months ago (2015-08-17 12:37:58 UTC) #25
Noel Gordon
On 2015/08/17 12:37:58, msarett wrote: > I think that the jpeg errors are not a ...
5 years, 4 months ago (2015-08-17 12:52:44 UTC) #26
msarett
Gotcha thanks for the details. I think your jpeg issue is that the "tools/git-sync-deps" script ...
5 years, 4 months ago (2015-08-17 13:30:31 UTC) #27
Noel Gordon
On 2015/08/17 13:30:31, msarett wrote: > Gotcha thanks for the details. > > I think ...
5 years, 4 months ago (2015-08-18 12:58:25 UTC) #28
Noel Gordon
5 years, 4 months ago (2015-08-19 03:14:47 UTC) #29
Message was sent while issue was closed.
One very minor issue compiling win32, filed skia bug
https://code.google.com/p/skia/issues/detail?id=4220 about it, but I am unable
to cc you, so just noting it here.

Powered by Google App Engine
This is Rietveld 408576698