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

Issue 2038823002: Add SkDefaultXform as a catch-all to handle color conversions (Closed)

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

Description

Add SkDefaultXform as a catch-all to handle color conversions I'd like to start optimizing the common case for color xforms, but before doing that, I think it makes sense to have correct code to support all xforms. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2038823002 Committed: https://skia.googlesource.com/skia/+/dc27a648d2ff23b2e96232c00c15976c46e1d48d

Patch Set 1 #

Patch Set 2 : Comments and FIXMEs #

Patch Set 3 : Add tests and fix a few things #

Total comments: 27

Patch Set 4 : Response to comments #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : Include SkColorSpace_Base #

Unified diffs Side-by-side diffs Delta from patch set Stats (+327 lines, -32 lines) Patch
M src/core/SkColorSpace.cpp View 1 2 3 1 chunk +14 lines, -12 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 1 2 3 4 5 2 chunks +22 lines, -1 line 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 chunks +181 lines, -19 lines 0 comments Download
M src/core/SkColorSpace_Base.h View 2 chunks +7 lines, -0 lines 0 comments Download
A tests/ColorSpaceXformTest.cpp View 1 2 3 1 chunk +103 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
msarett
https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpace.cpp File src/core/SkColorSpace.cpp (right): https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpace.cpp#newcode679 src/core/SkColorSpace.cpp:679: const float scale = 65535.0 / 32768.0; We now ...
4 years, 6 months ago (2016-06-03 19:12:12 UTC) #5
scroggo
https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpace.cpp File src/core/SkColorSpace.cpp (right): https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpace.cpp#newcode679 src/core/SkColorSpace.cpp:679: const float scale = 65535.0 / 32768.0; On 2016/06/03 ...
4 years, 6 months ago (2016-06-06 14:06:45 UTC) #6
msarett
https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpace.cpp File src/core/SkColorSpace.cpp (right): https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpace.cpp#newcode679 src/core/SkColorSpace.cpp:679: const float scale = 65535.0 / 32768.0; On 2016/06/06 ...
4 years, 6 months ago (2016-06-06 17:33:44 UTC) #9
scroggo
https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2038823002/diff/80001/src/core/SkColorSpaceXform.cpp#newcode127 src/core/SkColorSpaceXform.cpp:127: // have strange results when the table is non-increasing. ...
4 years, 6 months ago (2016-06-06 17:40:50 UTC) #10
msarett
https://codereview.chromium.org/2038823002/diff/120001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2038823002/diff/120001/src/core/SkColorSpaceXform.cpp#newcode246 src/core/SkColorSpaceXform.cpp:246: } On 2016/06/06 17:40:50, scroggo wrote: > I think ...
4 years, 6 months ago (2016-06-06 17:45:52 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038823002/140001
4 years, 6 months ago (2016-06-06 17:46:16 UTC) #13
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/8898)
4 years, 6 months ago (2016-06-06 17:50:07 UTC) #15
scroggo
lgtm
4 years, 6 months ago (2016-06-06 17:59:31 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038823002/160001
4 years, 6 months ago (2016-06-06 18:31:33 UTC) #18
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/3024)
4 years, 6 months ago (2016-06-06 18:43:02 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038823002/160001
4 years, 6 months ago (2016-06-06 18:46:52 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-06 18:59:23 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2038823002/160001
4 years, 6 months ago (2016-06-06 19:01:32 UTC) #27
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 19:02:35 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://skia.googlesource.com/skia/+/dc27a648d2ff23b2e96232c00c15976c46e1d48d

Powered by Google App Engine
This is Rietveld 408576698