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

Issue 1928123002: Introduce SkGammas type to represent ICC gamma curves (Closed)

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

Description

Patch Set 1 : Difficulty passing ownership of SkGamma[] #

Patch Set 2 : SkRGBGamma #

Patch Set 3 : Rename and fix test #

Total comments: 4

Patch Set 4 : Move structs into SkColorSpace, hide implementation details #

Total comments: 10

Patch Set 5 : Response to comments #

Total comments: 4

Patch Set 6 : Fix bug :) #

Patch Set 7 : Fix Mac clang #

Patch Set 8 : Fix TSAN #

Patch Set 9 : Rebase #

Patch Set 10 : Fix Mac clang again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -102 lines) Patch
M src/codec/SkPngCodec.cpp View 1 2 3 4 5 6 3 chunks +11 lines, -9 lines 0 comments Download
M src/core/SkColorSpace.h View 1 2 3 4 5 8 1 chunk +91 lines, -27 lines 0 comments Download
M src/core/SkColorSpace.cpp View 1 2 3 4 5 6 7 8 9 10 chunks +47 lines, -56 lines 0 comments Download
M tests/ColorSpaceTest.cpp View 1 2 3 4 5 2 chunks +14 lines, -10 lines 0 comments Download

Messages

Total messages: 59 (31 generated)
msarett
https://codereview.chromium.org/1928123002/diff/80001/src/core/SkColorSpace.cpp File src/core/SkColorSpace.cpp (left): https://codereview.chromium.org/1928123002/diff/80001/src/core/SkColorSpace.cpp#oldcode361 src/core/SkColorSpace.cpp:361: // If all of the gammas we encounter are ...
4 years, 7 months ago (2016-04-28 21:26:49 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/80001
4 years, 7 months ago (2016-04-28 21:27:04 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/8267)
4 years, 7 months ago (2016-04-28 21:29:36 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/80001
4 years, 7 months ago (2016-04-28 21:58:14 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-28 22:02:26 UTC) #14
reed1
Why do we need to make the specifics of the gamma curve public like this? ...
4 years, 7 months ago (2016-04-29 00:33:12 UTC) #16
Brian Osman
https://codereview.chromium.org/1928123002/diff/80001/src/core/SkColorSpace.cpp File src/core/SkColorSpace.cpp (right): https://codereview.chromium.org/1928123002/diff/80001/src/core/SkColorSpace.cpp#newcode311 src/core/SkColorSpace.cpp:311: // We should recognize commonly occurring tables and just ...
4 years, 7 months ago (2016-04-29 13:15:50 UTC) #18
msarett
"Why do we need to make the specifics of the gamma curve public like this? ...
4 years, 7 months ago (2016-04-29 14:07:08 UTC) #20
scroggo
https://codereview.chromium.org/1928123002/diff/120001/src/core/SkColorSpace.h File src/core/SkColorSpace.h (right): https://codereview.chromium.org/1928123002/diff/120001/src/core/SkColorSpace.h#newcode40 src/core/SkColorSpace.h:40: struct SkGammaCurve { On 2016/04/29 14:07:08, msarett wrote: > ...
4 years, 7 months ago (2016-04-29 14:17:23 UTC) #21
msarett
https://codereview.chromium.org/1928123002/diff/120001/src/core/SkColorSpace.h File src/core/SkColorSpace.h (right): https://codereview.chromium.org/1928123002/diff/120001/src/core/SkColorSpace.h#newcode40 src/core/SkColorSpace.h:40: struct SkGammaCurve { On 2016/04/29 14:17:23, scroggo wrote: > ...
4 years, 7 months ago (2016-04-29 14:44:12 UTC) #22
scroggo
https://codereview.chromium.org/1928123002/diff/140001/src/core/SkColorSpace.h File src/core/SkColorSpace.h (right): https://codereview.chromium.org/1928123002/diff/140001/src/core/SkColorSpace.h#newcode43 src/core/SkColorSpace.h:43: SkASSERT(!result || (!this->isTable() && !this->isParametric())); It looks like no ...
4 years, 7 months ago (2016-04-29 15:29:26 UTC) #23
msarett
https://codereview.chromium.org/1928123002/diff/140001/src/core/SkColorSpace.h File src/core/SkColorSpace.h (right): https://codereview.chromium.org/1928123002/diff/140001/src/core/SkColorSpace.h#newcode43 src/core/SkColorSpace.h:43: SkASSERT(!result || (!this->isTable() && !this->isParametric())); On 2016/04/29 15:29:26, scroggo ...
4 years, 7 months ago (2016-04-29 15:44:33 UTC) #24
scroggo
lgtm
4 years, 7 months ago (2016-04-29 15:48:42 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/160001
4 years, 7 months ago (2016-04-29 15:49:40 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/2310)
4 years, 7 months ago (2016-04-29 15:56:31 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/40002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/40002
4 years, 7 months ago (2016-04-29 16:43:35 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-29 17:00:02 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/40002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/40002
4 years, 7 months ago (2016-04-29 17:00:21 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:40002) as https://skia.googlesource.com/skia/+/7b2c6dd8c918209cb92e1338905d511c68da3eb2
4 years, 7 months ago (2016-04-29 17:01:29 UTC) #38
msarett
A revert of this CL (patchset #7 id:40002) has been created in https://codereview.chromium.org/1933863002/ by msarett@google.com. ...
4 years, 7 months ago (2016-04-29 18:12:13 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/190001
4 years, 7 months ago (2016-05-02 17:39:50 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/8255) Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, ...
4 years, 7 months ago (2016-05-02 17:41:01 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/210001
4 years, 7 months ago (2016-05-02 17:49:23 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/2358)
4 years, 7 months ago (2016-05-02 17:51:41 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/230001
4 years, 7 months ago (2016-05-02 17:54:50 UTC) #52
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-02 18:07:25 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928123002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928123002/230001
4 years, 7 months ago (2016-05-02 18:11:20 UTC) #57
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 18:12:18 UTC) #59
Message was sent while issue was closed.
Committed patchset #10 (id:230001) as
https://skia.googlesource.com/skia/+/ffc2aea3cb6981a5cc26f6c0f2ebf889ca5eb73f

Powered by Google App Engine
This is Rietveld 408576698