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

Issue 2304753002: Add SkColorSpacePrimaries to help with making D50 matrices (Closed)

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

Description

Add SkColorSpacePrimaries to help with making D50 matrices BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2304753002 Committed: https://skia.googlesource.com/skia/+/a5a31dd99467604f345850881dc8540c62aa506c

Patch Set 1 #

Patch Set 2 : A few edits #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : SkPrimaries and SkTransferFn #

Patch Set 5 : Edits #

Total comments: 4

Patch Set 6 : Add default constructors #

Patch Set 7 : Change comments #

Patch Set 8 : Simplify even more #

Total comments: 2

Patch Set 9 : Clearer names #

Patch Set 10 : Rebase #

Patch Set 11 : Rebase #

Patch Set 12 : Just add SkColorSpacePrimaries #

Patch Set 13 : Implementation and test #

Patch Set 14 : Fix compile bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -73 lines) Patch
M include/core/SkColorSpace.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +20 lines, -1 line 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -72 lines 0 comments Download
M src/core/SkColorSpace.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +76 lines, -0 lines 0 comments Download
M tests/ColorSpaceTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +20 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (19 generated)
msarett
Let's discuss tomorrow...
4 years, 3 months ago (2016-09-02 00:36:39 UTC) #3
msarett
4 years, 3 months ago (2016-09-02 15:07:10 UTC) #5
Brian Osman
https://codereview.chromium.org/2304753002/diff/20001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2304753002/diff/20001/include/core/SkColorSpace.h#newcode90 include/core/SkColorSpace.h:90: static sk_sp<SkColorSpace> NewRGB(GammaNamed gammaNamed, const Primaries& primaries); I already ...
4 years, 3 months ago (2016-09-02 15:37:53 UTC) #6
msarett
Please take a look. I've rebased on my latest clean-ups and added SkPrimaries and SkTransferFn.
4 years, 3 months ago (2016-09-06 22:12:30 UTC) #7
reed1
https://codereview.chromium.org/2304753002/diff/80001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2304753002/diff/80001/include/core/SkColorSpace.h#newcode34 include/core/SkColorSpace.h:34: SkPrimaries(Named named) { like not inlined, right? https://codereview.chromium.org/2304753002/diff/80001/include/core/SkColorSpace.h#newcode149 include/core/SkColorSpace.h:149: ...
4 years, 3 months ago (2016-09-06 23:19:48 UTC) #8
msarett
https://codereview.chromium.org/2304753002/diff/80001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2304753002/diff/80001/include/core/SkColorSpace.h#newcode34 include/core/SkColorSpace.h:34: SkPrimaries(Named named) { On 2016/09/06 23:19:48, reed1 wrote: > ...
4 years, 3 months ago (2016-09-07 14:01:21 UTC) #9
msarett
How does this look?
4 years, 3 months ago (2016-09-07 22:13:36 UTC) #12
reed1
possibly need more clear names... SkColorSpacePrimaries ? https://codereview.chromium.org/2304753002/diff/180001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2304753002/diff/180001/include/core/SkColorSpace.h#newcode30 include/core/SkColorSpace.h:30: static bool ...
4 years, 3 months ago (2016-09-07 22:50:45 UTC) #13
msarett
Clearer names sgtm. Went with SkColorSpacePrimaries and SkColorSpaceTransferFn. https://codereview.chromium.org/2304753002/diff/180001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2304753002/diff/180001/include/core/SkColorSpace.h#newcode30 include/core/SkColorSpace.h:30: static ...
4 years, 3 months ago (2016-09-08 02:24:09 UTC) #14
reed1
lgtm
4 years, 3 months ago (2016-09-08 14:43:01 UTC) #16
msarett
Think I should go ahead and try to land these?
4 years, 2 months ago (2016-09-29 21:02:13 UTC) #17
Brian Osman
On 2016/09/29 21:02:13, msarett wrote: > Think I should go ahead and try to land ...
4 years, 2 months ago (2016-09-30 18:27:59 UTC) #18
msarett
PTAL Changed this to only add SkColorSpacePrimaries. Added implementation and test.
4 years, 2 months ago (2016-10-10 22:19:48 UTC) #21
reed1
api lgtm
4 years, 2 months ago (2016-10-11 01:47:58 UTC) #22
Brian Osman
lgtm
4 years, 2 months ago (2016-10-11 15:50:11 UTC) #23
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/2304753002/340001
4 years, 2 months ago (2016-10-11 16:40:02 UTC) #34
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 16:41:19 UTC) #36
Message was sent while issue was closed.
Committed patchset #14 (id:340001) as
https://skia.googlesource.com/skia/+/a5a31dd99467604f345850881dc8540c62aa506c

Powered by Google App Engine
This is Rietveld 408576698