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

Issue 2177173003: Delete SkDefaultXform, handle edge cases in SkColorSpaceXform_Base (Closed)

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

Description

Delete SkDefaultXform, handle edge cases in SkColorSpaceXform_Base "Edge" cases include: (1) Matrices with translation (2) colorLUTs Performance on HP z620: 201295.jpg to2Dot2: 386us -> 414us toSRGB: 346us -> 371us toHalf: 282us -> 302us strange0-translate.jpg toSRGB: 1060us -> 244us strange1-colorLUT.jpg toSRGB: 2.74ms -> 2.00ms BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2177173003 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/+/3418c0e797e2ee841d1c031ca9d7a5ba73205f51

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename SkFastXform to SkColorSpaceXform_Base #

Total comments: 6

Patch Set 3 : Fixed thread safety issues #

Total comments: 1

Patch Set 4 : Use less space on Google3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -167 lines) Patch
M src/core/SkColorSpaceXform.h View 1 2 2 chunks +5 lines, -35 lines 0 comments Download
M src/core/SkColorSpaceXform.cpp View 1 2 3 5 chunks +98 lines, -124 lines 0 comments Download
M src/opts/SkColorXform_opts.h View 3 chunks +9 lines, -8 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (14 generated)
msarett
I think this is a really positive change in terms of code design/complexity. I'm grumpy ...
4 years, 4 months ago (2016-07-25 18:51:31 UTC) #7
mtklein
https://codereview.chromium.org/2177173003/diff/60001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2177173003/diff/60001/src/core/SkColorSpaceXform.cpp#newcode268 src/core/SkColorSpaceXform.cpp:268: SkColorSpaceXform_Base<SkColorSpace::kNonStandard_GammaNamed>::kDstGammaTableSize; I think you might just be able to ...
4 years, 4 months ago (2016-07-25 21:35:54 UTC) #9
msarett
https://codereview.chromium.org/2177173003/diff/60001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2177173003/diff/60001/src/core/SkColorSpaceXform.cpp#newcode268 src/core/SkColorSpaceXform.cpp:268: SkColorSpaceXform_Base<SkColorSpace::kNonStandard_GammaNamed>::kDstGammaTableSize; On 2016/07/25 21:35:53, mtklein wrote: > I think ...
4 years, 4 months ago (2016-07-25 21:58:12 UTC) #10
mtklein
lgtm https://codereview.chromium.org/2177173003/diff/80001/src/core/SkColorSpaceXform.cpp File src/core/SkColorSpaceXform.cpp (right): https://codereview.chromium.org/2177173003/diff/80001/src/core/SkColorSpaceXform.cpp#newcode672 src/core/SkColorSpaceXform.cpp:672: SkAutoSMalloc<1024 * sizeof(RGBA32)> storage(storageBytes); Just FYI, you may ...
4 years, 4 months ago (2016-07-25 22:01:43 UTC) #11
msarett
On 2016/07/25 22:01:43, mtklein wrote: > lgtm > > https://codereview.chromium.org/2177173003/diff/80001/src/core/SkColorSpaceXform.cpp > File src/core/SkColorSpaceXform.cpp (right): > ...
4 years, 4 months ago (2016-07-25 22:17:27 UTC) #12
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/2177173003/100001
4 years, 4 months ago (2016-07-26 01:22:23 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 01:23:23 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://skia.googlesource.com/skia/+/3418c0e797e2ee841d1c031ca9d7a5ba73205f51

Powered by Google App Engine
This is Rietveld 408576698