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

Issue 2441833002: Fix decoding GIF to 565 (Closed)

Created:
4 years, 2 months ago by scroggo_chromium
Modified:
4 years, 1 month ago
Reviewers:
msarett, scroggo
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix decoding GIF to 565 565 cannot take the !writeTransparentPixels path, so disable it for cases where we might have to take that path. This only affects frames beyond the first. If the first frame has a transparent pixel, it will be marked as non-opaque, so we cannot decode to 565 anyway. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2441833002 Committed: https://skia.googlesource.com/skia/+/53f63b69e83fd805418d72a6eeb860cf0fcff3c5

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Add comment that the switch case fall through is intentional #

Patch Set 4 : Make 565 support interlaced (with no transparency, first frame) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -18 lines) Patch
M dm/DMSrcSink.cpp View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/codec/SkGifCodec.cpp View 1 2 chunks +32 lines, -10 lines 0 comments Download
M third_party/gif/SkGifImageReader.h View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/gif/SkGifImageReader.cpp View 1 2 3 5 chunks +33 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
scroggo_chromium
4 years, 2 months ago (2016-10-20 21:11:06 UTC) #3
msarett
lgtm
4 years, 2 months ago (2016-10-20 21:32:25 UTC) #4
commit-bot: I haz the power
This CL has an open dependency (Issue 2436183002 Patch 20001). Please resolve the dependency and ...
4 years, 1 month ago (2016-10-26 20:35:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441833002/40001
4 years, 1 month ago (2016-10-26 20:52:57 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot/builds/2331)
4 years, 1 month ago (2016-10-26 21:01:27 UTC) #12
scroggo_chromium
Please take another look. I forgot about a case where an opaque image is interlaced, ...
4 years, 1 month ago (2016-10-27 15:02:32 UTC) #13
msarett
lgtm
4 years, 1 month ago (2016-10-27 15:11:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2441833002/60001
4 years, 1 month ago (2016-10-27 15:28:18 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 15:29:16 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/53f63b69e83fd805418d72a6eeb860cf0fcff3c5

Powered by Google App Engine
This is Rietveld 408576698