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

Issue 2339233003: Support Float32 output from SkColorSpaceXform (Closed)

Created:
4 years, 3 months ago by msarett
Modified:
4 years, 3 months ago
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Support Float32 output from SkColorSpaceXform * Adds Float32 support to SkColorSpaceXform * Changes API to allows clients to ask for F32, updates clients to new API * Adds Sk4f_load4 and Sk4f_store4 to SkNx * Make use of new xform in SkGr.cpp BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339233003 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/43d6651111374b5d1e4ddd9030dcf079b448ec47 Committed: https://skia.googlesource.com/skia/+/c0444615ed76360f680619ad4d1f92cda6181a50

Patch Set 1 #

Patch Set 2 : Some fixes #

Total comments: 11

Patch Set 3 : Now the NEON compiles #

Patch Set 4 : Added test for Sk4f_load4, Sk4f_store4 #

Patch Set 5 : Adding a gm #

Patch Set 6 : Rebase #

Patch Set 7 : Bug fix, more logical function name #

Patch Set 8 : Remove gpu changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -49 lines) Patch
M bench/ColorCodecBench.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
A gm/colorspacexform.cpp View 1 2 3 4 1 chunk +88 lines, -0 lines 0 comments Download
M gyp/bench.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/codec/SkCodecPriv.h View 3 chunks +16 lines, -2 lines 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/codec/SkPngCodec.h View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download
M src/codec/SkPngCodec.cpp View 1 2 3 4 5 6 6 chunks +29 lines, -13 lines 0 comments Download
M src/codec/SkWebpCodec.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M src/core/SkColorSpaceXform.h View 2 chunks +17 lines, -10 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 12 chunks +48 lines, -14 lines 0 comments Download
M src/core/SkNx.h View 1 chunk +22 lines, -0 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M tests/SkNxTest.cpp View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (26 generated)
msarett
https://codereview.chromium.org/2339233003/diff/40001/include/gpu/GrDrawContext.h File include/gpu/GrDrawContext.h (right): https://codereview.chromium.org/2339233003/diff/40001/include/gpu/GrDrawContext.h#newcode36 include/gpu/GrDrawContext.h:36: class SkColorSpaceXform; Brian, we can back out the gpu ...
4 years, 3 months ago (2016-09-14 20:20:35 UTC) #4
mtklein
https://codereview.chromium.org/2339233003/diff/40001/src/opts/SkNx_sse.h File src/opts/SkNx_sse.h (right): https://codereview.chromium.org/2339233003/diff/40001/src/opts/SkNx_sse.h#newcode481 src/opts/SkNx_sse.h:481: static inline void Sk4f_load4(const void* ptr, Sk4f* r, Sk4f* ...
4 years, 3 months ago (2016-09-14 20:30:37 UTC) #5
scroggo
https://codereview.chromium.org/2339233003/diff/40001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2339233003/diff/40001/src/codec/SkPngCodec.cpp#newcode384 src/codec/SkPngCodec.cpp:384: SkColorSpaceXform::ColorFormat colorFormat = select_xform_format(colorType); On 2016/09/14 20:20:35, msarett wrote: ...
4 years, 3 months ago (2016-09-14 20:35:02 UTC) #6
Brian Osman
https://codereview.chromium.org/2339233003/diff/40001/src/opts/SkNx_neon.h File src/opts/SkNx_neon.h (right): https://codereview.chromium.org/2339233003/diff/40001/src/opts/SkNx_neon.h#newcode526 src/opts/SkNx_neon.h:526: static inline void Sk4f_store4(void* dst, const Sk4h& r, const ...
4 years, 3 months ago (2016-09-14 20:46:53 UTC) #7
msarett
https://codereview.chromium.org/2339233003/diff/40001/src/codec/SkPngCodec.cpp File src/codec/SkPngCodec.cpp (right): https://codereview.chromium.org/2339233003/diff/40001/src/codec/SkPngCodec.cpp#newcode384 src/codec/SkPngCodec.cpp:384: SkColorSpaceXform::ColorFormat colorFormat = select_xform_format(colorType); On 2016/09/14 20:35:01, scroggo wrote: ...
4 years, 3 months ago (2016-09-14 21:09:43 UTC) #8
msarett
Added a unit test and a gm.
4 years, 3 months ago (2016-09-14 22:12:58 UTC) #9
mtklein_C
lgtm, looking most carefully at the stuff I'm familiar with
4 years, 3 months ago (2016-09-14 22:22:19 UTC) #11
Brian Osman
lgtm as well. GPU changes are fine. I'm just now landing a gradient change that ...
4 years, 3 months ago (2016-09-15 18:11:54 UTC) #12
msarett
On 2016/09/15 18:11:54, Brian Osman wrote: > lgtm as well. GPU changes are fine. I'm ...
4 years, 3 months ago (2016-09-16 15:43:56 UTC) #13
scroggo
On 2016/09/16 15:43:56, msarett wrote: > On 2016/09/15 18:11:54, Brian Osman wrote: > > lgtm ...
4 years, 3 months ago (2016-09-16 16:32:51 UTC) #22
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/2339233003/140001
4 years, 3 months ago (2016-09-16 16:39:16 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/13904)
4 years, 3 months ago (2016-09-16 16:40:46 UTC) #27
msarett
Forgot there is an API change... Brian can you take a look?
4 years, 3 months ago (2016-09-16 16:46:12 UTC) #29
bsalomon
lgtm
4 years, 3 months ago (2016-09-16 16:49:05 UTC) #30
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/2339233003/140001
4 years, 3 months ago (2016-09-16 16:49:58 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:140001) as https://skia.googlesource.com/skia/+/43d6651111374b5d1e4ddd9030dcf079b448ec47
4 years, 3 months ago (2016-09-16 16:51:16 UTC) #34
msarett
A revert of this CL (patchset #7 id:140001) has been created in https://codereview.chromium.org/2347473007/ by msarett@google.com. ...
4 years, 3 months ago (2016-09-16 18:00:59 UTC) #35
msarett
On 2016/09/16 18:00:59, msarett wrote: > A revert of this CL (patchset #7 id:140001) has ...
4 years, 3 months ago (2016-09-16 18:22:52 UTC) #39
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/2339233003/160001
4 years, 3 months ago (2016-09-16 18:44:43 UTC) #44
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 18:46:02 UTC) #46
Message was sent while issue was closed.
Committed patchset #8 (id:160001) as
https://skia.googlesource.com/skia/+/c0444615ed76360f680619ad4d1f92cda6181a50

Powered by Google App Engine
This is Rietveld 408576698