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

Issue 2067833003: Differentiate between sRGBGamma and 2Dot2Gamma (Closed)

Created:
4 years, 6 months ago by msarett
Modified:
4 years, 6 months ago
Reviewers:
herb_g, 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

Differentiate between sRGBGamma and 2Dot2Gamma BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2067833003 Committed: https://skia.googlesource.com/skia/+/c4ce6b592487305de251bbebaf8eeee38371b877

Patch Set 1 #

Patch Set 2 : Mipmap #

Total comments: 5

Patch Set 3 : Preemptively fix Brian's comment #

Patch Set 4 : Response #

Total comments: 21

Patch Set 5 : Response to comments #

Total comments: 2

Patch Set 6 : Fix comment #

Patch Set 7 : gammaCloseToSRGB #

Patch Set 8 : Fix DefaultXform #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -256 lines) Patch
M gm/color4f.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M include/core/SkColorSpace.h View 1 2 3 4 5 6 3 chunks +30 lines, -17 lines 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 5 4 chunks +20 lines, -18 lines 0 comments Download
M src/core/SkColorSpace.cpp View 1 2 3 4 22 chunks +148 lines, -121 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 6 7 2 chunks +62 lines, -51 lines 0 comments Download
M src/core/SkColorSpace_Base.h View 8 chunks +50 lines, -25 lines 0 comments Download
M src/core/SkMipMap.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M tests/ColorSpaceTest.cpp View 7 chunks +25 lines, -20 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 29 (12 generated)
msarett
https://codereview.chromium.org/2067833003/diff/20001/include/core/SkColorSpace.h File include/core/SkColorSpace.h (right): https://codereview.chromium.org/2067833003/diff/20001/include/core/SkColorSpace.h#newcode52 include/core/SkColorSpace.h:52: static sk_sp<SkColorSpace> NewRGB(GammaNamed gammaNamed, const SkMatrix44& toXYZD50); I've changed ...
4 years, 6 months ago (2016-06-14 21:30:28 UTC) #3
Brian Osman
https://codereview.chromium.org/2067833003/diff/20001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2067833003/diff/20001/src/codec/SkPngCodec.cpp#newcode234 src/codec/SkPngCodec.cpp:234: // Default to sRGB (gamma = 2.2f) if the ...
4 years, 6 months ago (2016-06-14 21:55:38 UTC) #5
msarett
https://codereview.chromium.org/2067833003/diff/20001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2067833003/diff/20001/src/codec/SkPngCodec.cpp#newcode234 src/codec/SkPngCodec.cpp:234: // Default to sRGB (gamma = 2.2f) if the ...
4 years, 6 months ago (2016-06-14 22:59:11 UTC) #7
Brian Osman
Mostly just nit-picking. https://codereview.chromium.org/2067833003/diff/60001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2067833003/diff/60001/src/codec/SkPngCodec.cpp#newcode241 src/codec/SkPngCodec.cpp:241: return SkColorSpace_Base::NewRGB(gammas, mat); Nit: Now that ...
4 years, 6 months ago (2016-06-15 13:27:00 UTC) #8
msarett
https://codereview.chromium.org/2067833003/diff/60001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2067833003/diff/60001/src/codec/SkPngCodec.cpp#newcode241 src/codec/SkPngCodec.cpp:241: return SkColorSpace_Base::NewRGB(gammas, mat); On 2016/06/15 13:26:59, Brian Osman wrote: ...
4 years, 6 months ago (2016-06-15 14:33:49 UTC) #9
Brian Osman
https://codereview.chromium.org/2067833003/diff/60001/src/core/SkColorSpace.cpp File src/core/SkColorSpace.cpp (right): https://codereview.chromium.org/2067833003/diff/60001/src/core/SkColorSpace.cpp#newcode894 src/core/SkColorSpace.cpp:894: sk_sp<SkGammas> gammas(new SkGammas(std::move(curves[0]), std::move(curves[1]), On 2016/06/15 14:33:48, msarett wrote: ...
4 years, 6 months ago (2016-06-15 15:01:27 UTC) #10
msarett
https://codereview.chromium.org/2067833003/diff/70001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2067833003/diff/70001/src/codec/SkPngCodec.cpp#newcode271 src/codec/SkPngCodec.cpp:271: return nullptr; On 2016/06/15 15:01:27, Brian Osman wrote: > ...
4 years, 6 months ago (2016-06-15 15:18:43 UTC) #11
Brian Osman
lgtm
4 years, 6 months ago (2016-06-15 15:25:02 UTC) #12
reed1
should we add the helper at the same time, so we can update call-sites? e.g. ...
4 years, 6 months ago (2016-06-15 15:36:45 UTC) #13
msarett
On 2016/06/15 15:36:45, reed1 wrote: > should we add the helper at the same time, ...
4 years, 6 months ago (2016-06-15 17:18:03 UTC) #14
reed1
lgtm
4 years, 6 months ago (2016-06-16 13:42:24 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067833003/110001
4 years, 6 months ago (2016-06-16 13:49:57 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/9101)
4 years, 6 months ago (2016-06-16 13:57:08 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067833003/150001
4 years, 6 months ago (2016-06-16 14:22:20 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 14:36:17 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067833003/150001
4 years, 6 months ago (2016-06-16 14:36:49 UTC) #27
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 14:37:47 UTC) #29
Message was sent while issue was closed.
Committed patchset #8 (id:150001) as
https://skia.googlesource.com/skia/+/c4ce6b592487305de251bbebaf8eeee38371b877

Powered by Google App Engine
This is Rietveld 408576698