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

Issue 2353363008: Add BGRA as input format to SkColorSpaceXform (Closed)

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

Description

Add BGRA as input format to SkColorSpaceXform This is immediately useful for webp and I think it's a fair guess that BGRA src formats are not uncommon. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2353363008 Committed: https://skia.googlesource.com/skia/+/cf7b877d62537672b67449bc96858cc1262be5f8

Patch Set 1 #

Patch Set 2 : Clean-up, reverse param order #

Patch Set 3 : More cleanup #

Total comments: 8

Patch Set 4 : Response to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -206 lines) Patch
M bench/ColorCodecBench.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M gm/colorspacexform.cpp View 1 2 chunks +2 lines, -4 lines 0 comments Download
M src/codec/SkCodecPriv.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M src/codec/SkWebpCodec.cpp View 1 2 chunks +9 lines, -6 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 24 chunks +249 lines, -180 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (9 generated)
msarett
https://codereview.chromium.org/2353363008/diff/40001/src/core/SkColorSpaceXform.h File src/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2353363008/diff/40001/src/core/SkColorSpaceXform.h#newcode15 src/core/SkColorSpaceXform.h:15: class SkColorSpaceXform : SkNoncopyable { Particularly interested in comments ...
4 years, 2 months ago (2016-09-22 13:41:46 UTC) #3
mtklein
https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp#newcode497 src/codec/SkPngCodec.cpp:497: static constexpr SkColorSpaceXform::ColorFormat srcColorFormat = Usually this sort of ...
4 years, 2 months ago (2016-09-22 13:57:00 UTC) #4
msarett
https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp#newcode497 src/codec/SkPngCodec.cpp:497: static constexpr SkColorSpaceXform::ColorFormat srcColorFormat = On 2016/09/22 13:57:00, mtklein ...
4 years, 2 months ago (2016-09-22 17:06:55 UTC) #5
mtklein_C
On 2016/09/22 at 17:06:55, msarett wrote: > https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp > File src/codec/SkPngCodec.cpp (right): > > https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp#newcode497 ...
4 years, 2 months ago (2016-09-22 18:07:12 UTC) #6
mtklein_C
lgtm
4 years, 2 months ago (2016-09-22 18:08:27 UTC) #8
msarett
On 2016/09/22 18:07:12, mtklein_C wrote: > On 2016/09/22 at 17:06:55, msarett wrote: > > https://codereview.chromium.org/2353363008/diff/40001/src/codec/SkPngCodec.cpp ...
4 years, 2 months ago (2016-09-22 18:21:46 UTC) #9
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/2353363008/60001
4 years, 2 months ago (2016-09-22 19:19:28 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-09-22 19:37:10 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/cf7b877d62537672b67449bc96858cc1262be5f8

Powered by Google App Engine
This is Rietveld 408576698