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 2147763002: Add capability for SkColorXform to output half floats (Closed)

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

Description

Add capability for SkColorXform to output half floats BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2147763002 CQ_INCLUDE_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot;master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/9ce3a543c92a73e6daca420defc042886b3f2019

Patch Set 1 : Add test and fix bugs #

Patch Set 2 : Add FIXMEs and TODOs #

Total comments: 2

Patch Set 3 : Response to comments #

Patch Set 4 : Rebase on SkFloatToHalf_finite #

Patch Set 5 : Minor forgotten edit #

Total comments: 7

Patch Set 6 : Fix bad rebase #

Patch Set 7 : Very happy about SK_X32_SHIFT #

Total comments: 3

Patch Set 8 : Call swizzle fn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -83 lines) Patch
M bench/ColorCodecBench.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M dm/DM.cpp View 1 chunk +10 lines, -5 lines 0 comments Download
M dm/DMSrcSink.h View 2 chunks +2 lines, -1 line 0 comments Download
M dm/DMSrcSink.cpp View 1 2 6 chunks +37 lines, -11 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 1 2 4 chunks +14 lines, -5 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 6 6 chunks +22 lines, -20 lines 0 comments Download
M src/core/SkOpts.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M src/core/SkOpts.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/opts/SkColorXform_opts.h View 1 2 3 4 5 6 7 6 chunks +70 lines, -36 lines 0 comments Download
M src/opts/SkOpts_sse41.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/viewer/ImageSlide.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (19 generated)
msarett
Still a lot of TODOs but I think this is a step in the right ...
4 years, 5 months ago (2016-07-13 16:32:20 UTC) #4
reed1
https://codereview.chromium.org/2147763002/diff/40001/src/core/SkColorSpaceXform.h File src/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2147763002/diff/40001/src/core/SkColorSpaceXform.h#newcode32 src/core/SkColorSpaceXform.h:32: virtual void apply(SkPMColor* dst, const uint32_t* src, uint32_t len) ...
4 years, 5 months ago (2016-07-13 17:25:12 UTC) #5
msarett
https://codereview.chromium.org/2147763002/diff/40001/src/core/SkColorSpaceXform.h File src/core/SkColorSpaceXform.h (right): https://codereview.chromium.org/2147763002/diff/40001/src/core/SkColorSpaceXform.h#newcode32 src/core/SkColorSpaceXform.h:32: virtual void apply(SkPMColor* dst, const uint32_t* src, uint32_t len) ...
4 years, 5 months ago (2016-07-13 19:26:03 UTC) #6
reed1
api lgtm
4 years, 5 months ago (2016-07-13 20:32:33 UTC) #7
mtklein
Two thoughts: 1) should be a fine time to rebase on the _01 -> _finite ...
4 years, 5 months ago (2016-07-15 14:31:17 UTC) #8
msarett
On 2016/07/15 14:31:17, mtklein wrote: > Two thoughts: > 1) should be a fine time ...
4 years, 5 months ago (2016-07-15 14:45:02 UTC) #10
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 16:12:38 UTC) #13
mtklein
https://codereview.chromium.org/2147763002/diff/100001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2147763002/diff/100001/src/core/SkColorSpaceXform.cpp#newcode404 src/core/SkColorSpaceXform.cpp:404: // Swap R and B if necessary to make ...
4 years, 5 months ago (2016-07-15 16:45:41 UTC) #16
msarett
https://codereview.chromium.org/2147763002/diff/100001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2147763002/diff/100001/src/core/SkColorSpaceXform.cpp#newcode404 src/core/SkColorSpaceXform.cpp:404: // Swap R and B if necessary to make ...
4 years, 5 months ago (2016-07-15 17:18:24 UTC) #17
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 17:19:42 UTC) #20
mtklein
lgtm, with one last suggestion https://codereview.chromium.org/2147763002/diff/140001/src/opts/SkColorXform_opts.h File src/opts/SkColorXform_opts.h (right): https://codereview.chromium.org/2147763002/diff/140001/src/opts/SkColorXform_opts.h#newcode174 src/opts/SkColorXform_opts.h:174: #ifdef SK_PMCOLOR_IS_BGRA On 2016/07/15 ...
4 years, 5 months ago (2016-07-15 20:05:39 UTC) #23
msarett
https://codereview.chromium.org/2147763002/diff/140001/src/opts/SkColorXform_opts.h File src/opts/SkColorXform_opts.h (right): https://codereview.chromium.org/2147763002/diff/140001/src/opts/SkColorXform_opts.h#newcode174 src/opts/SkColorXform_opts.h:174: #ifdef SK_PMCOLOR_IS_BGRA On 2016/07/15 20:05:39, mtklein wrote: > On ...
4 years, 5 months ago (2016-07-15 20:10:41 UTC) #24
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 20:11:07 UTC) #27
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/2147763002/160001
4 years, 5 months ago (2016-07-15 20:53:21 UTC) #32
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 20:53:23 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:160001) as https://skia.googlesource.com/skia/+/9ce3a543c92a73e6daca420defc042886b3f2019
4 years, 5 months ago (2016-07-15 20:54:42 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 20:54:44 UTC) #36
Message was sent while issue was closed.
CQ bit was unchecked.

Powered by Google App Engine
This is Rietveld 408576698