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

Issue 2390263002: Add SkColorSpaceXform to the public API (Closed)

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

Description

Patch Set 1 #

Patch Set 2 : Remove unnecessary changes #

Total comments: 10

Patch Set 3 : Response to comments #

Total comments: 7

Patch Set 4 : Return a bool #

Patch Set 5 : Check return val #

Total comments: 5

Patch Set 6 : Remove type on enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -201 lines) Patch
M bench/ColorCodecBench.cpp View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M gm/colorspacexform.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A + include/core/SkColorSpaceXform.h View 1 2 3 4 5 4 chunks +15 lines, -50 lines 0 comments Download
M src/codec/SkCodecPriv.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M src/codec/SkWebpCodec.cpp View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
D src/core/SkColorSpaceXform.h View 1 chunk +0 lines, -102 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 9 chunks +27 lines, -26 lines 0 comments Download
A src/core/SkColorSpaceXform_Base.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 1 2 3 4 3 chunks +9 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (18 generated)
msarett
Think it would be good to start talking about this.
4 years, 2 months ago (2016-10-04 13:55:09 UTC) #4
reed1
https://codereview.chromium.org/2390263002/diff/40001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/40001/include/core/SkColorSpaceXform.h#newcode25 include/core/SkColorSpaceXform.h:25: static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace); Do you copy ...
4 years, 2 months ago (2016-10-04 14:54:43 UTC) #5
msarett
https://codereview.chromium.org/2390263002/diff/40001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/40001/include/core/SkColorSpaceXform.h#newcode25 include/core/SkColorSpaceXform.h:25: static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace); On 2016/10/04 14:54:43, ...
4 years, 2 months ago (2016-10-04 23:21:58 UTC) #6
reed1
https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h#newcode38 include/core/SkColorSpaceXform.h:38: * is linear. This function will assert on invalid ...
4 years, 2 months ago (2016-10-05 16:14:19 UTC) #7
msarett
+mtklein, brianosman https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h#newcode38 include/core/SkColorSpaceXform.h:38: * is linear. This function will assert ...
4 years, 2 months ago (2016-10-06 14:17:52 UTC) #9
mtklein_C
https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h#newcode38 include/core/SkColorSpaceXform.h:38: * is linear. This function will assert on invalid ...
4 years, 2 months ago (2016-10-06 14:26:20 UTC) #11
msarett
https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/60001/include/core/SkColorSpaceXform.h#newcode38 include/core/SkColorSpaceXform.h:38: * is linear. This function will assert on invalid ...
4 years, 2 months ago (2016-10-10 17:52:29 UTC) #12
msarett
This now returns a bool. +scroggo for codec changes
4 years, 2 months ago (2016-10-10 18:20:53 UTC) #17
scroggo
codec changes lgtm
4 years, 2 months ago (2016-10-10 19:07:40 UTC) #20
msarett
https://codereview.chromium.org/2390263002/diff/120001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/120001/include/core/SkColorSpaceXform.h#newcode25 include/core/SkColorSpaceXform.h:25: static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace); Should these be ...
4 years, 2 months ago (2016-10-10 22:55:52 UTC) #21
reed1
https://codereview.chromium.org/2390263002/diff/120001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/120001/include/core/SkColorSpaceXform.h#newcode25 include/core/SkColorSpaceXform.h:25: static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace); On 2016/10/10 22:55:52, ...
4 years, 2 months ago (2016-10-11 16:35:51 UTC) #22
msarett
https://codereview.chromium.org/2390263002/diff/120001/include/core/SkColorSpaceXform.h File include/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2390263002/diff/120001/include/core/SkColorSpaceXform.h#newcode25 include/core/SkColorSpaceXform.h:25: static std::unique_ptr<SkColorSpaceXform> New(SkColorSpace* srcSpace, SkColorSpace* dstSpace); On 2016/10/11 16:35:50, ...
4 years, 2 months ago (2016-10-11 16:46:22 UTC) #23
reed1
lgtm
4 years, 2 months ago (2016-10-11 17:03:33 UTC) #24
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/2390263002/140001
4 years, 2 months ago (2016-10-11 18:42:14 UTC) #31
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 19:15:06 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://skia.googlesource.com/skia/+/31d097e865f266c8398f45114e4c75c0dfdef058

Powered by Google App Engine
This is Rietveld 408576698