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

Issue 1214203005: Fixing libpng transform use (Closed)

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

Description

This change: - supports kGray correctly - avoid extra call to png_get_IHDR by storing the bit depth - call transforms as needed - checks for tRNS alpha value in RGB and GRAY color types BUG=skia: Committed: https://skia.googlesource.com/skia/+/9693037fd41b7ce545b44beaa3489dcfd915018c

Patch Set 1 #

Patch Set 2 : removing irrelivant comment #

Total comments: 6

Patch Set 3 : Only allow conversion to N32 #

Patch Set 4 : Rebased code to fix merge issue #

Patch Set 5 : fixing merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -95 lines) Patch
M src/codec/SkCodec_libpng.h View 1 chunk +5 lines, -2 lines 0 comments Download
M src/codec/SkCodec_libpng.cpp View 1 2 3 4 14 chunks +83 lines, -93 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
emmaleer
These are the initial changes regarding the libpng transforms set in SkCoded_libpng. This change only ...
5 years, 5 months ago (2015-07-01 20:13:45 UTC) #2
scroggo
https://codereview.chromium.org/1214203005/diff/20001/src/codec/SkCodec_libpng.cpp File src/codec/SkCodec_libpng.cpp (right): https://codereview.chromium.org/1214203005/diff/20001/src/codec/SkCodec_libpng.cpp#newcode418 src/codec/SkCodec_libpng.cpp:418: case kRGBA_8888_SkColorType: Don't we need to update the swizzler ...
5 years, 5 months ago (2015-07-01 20:26:01 UTC) #3
emmaleer
https://codereview.chromium.org/1214203005/diff/20001/src/codec/SkCodec_libpng.cpp File src/codec/SkCodec_libpng.cpp (right): https://codereview.chromium.org/1214203005/diff/20001/src/codec/SkCodec_libpng.cpp#newcode418 src/codec/SkCodec_libpng.cpp:418: case kRGBA_8888_SkColorType: On 2015/07/01 20:26:01, scroggo wrote: > Don't ...
5 years, 5 months ago (2015-07-01 20:56:58 UTC) #4
scroggo
> Calling minimal transforms in libpng without using transforms for swizzling > This is the ...
5 years, 5 months ago (2015-07-01 21:08:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214203005/40001
5 years, 5 months ago (2015-07-01 21:19:42 UTC) #7
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-07-01 21:20:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214203005/60001
5 years, 5 months ago (2015-07-01 21:24:11 UTC) #12
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-07-01 21:24:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1214203005/80001
5 years, 5 months ago (2015-07-01 21:37:16 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://skia.googlesource.com/skia/+/9693037fd41b7ce545b44beaa3489dcfd915018c
5 years, 5 months ago (2015-07-01 21:44:35 UTC) #18
jvanverth1
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1213743004/ by jvanverth@google.com. ...
5 years, 5 months ago (2015-07-02 17:35:14 UTC) #19
scroggo
5 years, 5 months ago (2015-07-07 13:06:58 UTC) #20
Message was sent while issue was closed.
On 2015/07/02 17:35:14, jvanverth1 wrote:
> A revert of this CL (patchset #5 id:80001) has been created in
> https://codereview.chromium.org/1213743004/ by mailto:jvanverth@google.com.
> 
> The reason for reverting is: DEPS roll failing.

Sheriffs, in the future, please provide a link to the failing DEPS roll (or did
I miss the link somewhere?).

It appears that the failure is here: https://codereview.chromium.org/1214943004/

That does not look related to this change. Chrome is not using SkCodec, so I do
not see how it could be related.

Powered by Google App Engine
This is Rietveld 408576698