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

Issue 2084673002: Use a table-based implementation of SkDefaultXform (Closed)

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

Use a table-based implementation of SkDefaultXform BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2084673002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/b39067696ad08a26bbe49b71a71f0546dc42a075

Patch Set 1 #

Total comments: 17

Patch Set 2 : Response to comments #

Total comments: 1

Patch Set 3 : Don't loop over floats on the outTable #

Patch Set 4 : Accidental rebase - sorry #

Total comments: 10

Patch Set 5 : Response to comments #

Total comments: 2

Patch Set 6 : quickEquals() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+590 lines, -281 lines) Patch
M src/core/SkColorSpaceXform.h View 1 1 chunk +13 lines, -6 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 4 5 5 chunks +522 lines, -110 lines 0 comments Download
M src/core/SkColorSpace_Base.h View 1 2 3 4 5 4 chunks +12 lines, -3 lines 0 comments Download
M src/opts/SkColorXform_opts.h View 1 2 3 4 2 chunks +7 lines, -138 lines 0 comments Download
M tests/ColorSpaceXformTest.cpp View 2 chunks +36 lines, -24 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 26 (11 generated)
msarett
https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp#newcode577 src/core/SkColorSpaceXform.cpp:577: void SkDefaultXform::xform_RGB1_8888(uint32_t* dst, const uint32_t* src, uint32_t len) const ...
4 years, 6 months ago (2016-06-20 19:18:54 UTC) #6
mtklein_C
https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp#newcode170 src/core/SkColorSpaceXform.cpp:170: outTable[i] = powf(byte_to_float(i), exponent); Might be clearer and/or faster ...
4 years, 6 months ago (2016-06-21 20:32:52 UTC) #8
Brian Osman
https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp#newcode170 src/core/SkColorSpaceXform.cpp:170: outTable[i] = powf(byte_to_float(i), exponent); On 2016/06/21 20:32:52, mtklein_C wrote: ...
4 years, 6 months ago (2016-06-21 20:38:17 UTC) #10
msarett
https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp#newcode170 src/core/SkColorSpaceXform.cpp:170: outTable[i] = powf(byte_to_float(i), exponent); On 2016/06/21 20:38:17, Brian Osman ...
4 years, 6 months ago (2016-06-21 21:24:47 UTC) #11
mtklein
On 2016/06/21 20:38:17, Brian Osman wrote: > https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp > File src/core/SkColorSpaceXform.cpp (right): > > https://codereview.chromium.org/2084673002/diff/40001/src/core/SkColorSpaceXform.cpp#newcode170 ...
4 years, 6 months ago (2016-06-21 21:35:10 UTC) #12
msarett
On 2016/06/21 21:35:10, mtklein wrote: > On 2016/06/21 20:38:17, Brian Osman wrote: > > > ...
4 years, 6 months ago (2016-06-21 21:55:41 UTC) #13
mtklein_C
https://codereview.chromium.org/2084673002/diff/100001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2084673002/diff/100001/src/core/SkColorSpaceXform.cpp#newcode149 src/core/SkColorSpaceXform.cpp:149: extern const float linear_from_srgb[256] = { Anything extern is ...
4 years, 6 months ago (2016-06-22 14:59:54 UTC) #14
msarett
https://codereview.chromium.org/2084673002/diff/100001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2084673002/diff/100001/src/core/SkColorSpaceXform.cpp#newcode149 src/core/SkColorSpaceXform.cpp:149: extern const float linear_from_srgb[256] = { On 2016/06/22 14:59:54, ...
4 years, 6 months ago (2016-06-22 19:07:06 UTC) #15
mtklein
https://codereview.chromium.org/2084673002/diff/120001/src/core/SkColorSpace_Base.h File src/core/SkColorSpace_Base.h (right): https://codereview.chromium.org/2084673002/diff/120001/src/core/SkColorSpace_Base.h#newcode85 src/core/SkColorSpace_Base.h:85: inline bool operator==(const SkGammaCurve& that) const { I think ...
4 years, 6 months ago (2016-06-22 20:23:01 UTC) #16
msarett
https://codereview.chromium.org/2084673002/diff/120001/src/core/SkColorSpace_Base.h File src/core/SkColorSpace_Base.h (right): https://codereview.chromium.org/2084673002/diff/120001/src/core/SkColorSpace_Base.h#newcode85 src/core/SkColorSpace_Base.h:85: inline bool operator==(const SkGammaCurve& that) const { On 2016/06/22 ...
4 years, 6 months ago (2016-06-22 20:29:45 UTC) #17
mtklein
lgtm
4 years, 6 months ago (2016-06-22 20:35:33 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2084673002/140001
4 years, 6 months ago (2016-06-22 20:36:32 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 21:06:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2084673002/140001
4 years, 6 months ago (2016-06-22 21:06:53 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 21:07:52 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://skia.googlesource.com/skia/+/b39067696ad08a26bbe49b71a71f0546dc42a075

Powered by Google App Engine
This is Rietveld 408576698