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

Issue 2246143002: Support color xforms for kIndex8 pngs (Closed)

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

Description

Support color xforms for kIndex8 pngs This change started as: "Always use color xforms to premultiply". We need to be in a linear space to premultiply correctly. It became clear that we also need to support kIndex8 color xforms in order to make this change. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2246143002 Committed: https://skia.googlesource.com/skia/+/dcd5e65340f9ef239d769bf20bafd2fa819eab31

Patch Set 1 #

Patch Set 2 : Add Index8 support #

Patch Set 3 : Force legacy mode as default #

Total comments: 8

Patch Set 4 : Rebase #

Patch Set 5 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -33 lines) Patch
M src/codec/SkCodecImageGenerator.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M src/codec/SkCodecPriv.h View 1 1 chunk +18 lines, -3 lines 0 comments Download
M src/codec/SkPngCodec.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 10 chunks +56 lines, -28 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (13 generated)
msarett
4 years, 4 months ago (2016-08-15 20:32:31 UTC) #10
mtklein
https://codereview.chromium.org/2246143002/diff/30001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (left): https://codereview.chromium.org/2246143002/diff/30001/src/codec/SkPngCodec.cpp#oldcode105 src/codec/SkPngCodec.cpp:105: SkPMColor colorPtr[256]; Just noticed it's a little odd to ...
4 years, 4 months ago (2016-08-22 14:22:51 UTC) #13
msarett
https://codereview.chromium.org/2246143002/diff/30001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (left): https://codereview.chromium.org/2246143002/diff/30001/src/codec/SkPngCodec.cpp#oldcode105 src/codec/SkPngCodec.cpp:105: SkPMColor colorPtr[256]; On 2016/08/22 14:22:51, mtklein wrote: > Just ...
4 years, 4 months ago (2016-08-22 15:01:35 UTC) #14
mtklein
lgtm
4 years, 4 months ago (2016-08-22 15:25:24 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/2246143002/70001
4 years, 4 months ago (2016-08-22 15:25:35 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 15:48:43 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://skia.googlesource.com/skia/+/dcd5e65340f9ef239d769bf20bafd2fa819eab31

Powered by Google App Engine
This is Rietveld 408576698