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

Issue 1526523003: Unify some SkNx code (Closed)

Created:
5 years ago by mtklein_C
Modified:
5 years 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

Unify some SkNx code - one base case and one N=1 case instead of two each (or three with doubles) - use SkNx_cast instead of FromBytes/toBytes - 4-at-a-time Sk4f::ToBytes becomes a special standalone Sk4f_ToBytes If I did everything right, this'll be perf- and pixel- neutral. https://gold.skia.org/search2?issue=1526523003&unt=true&query=source_type%3Dgm&master=false BUG=skia: CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/6f37b4a4757ea3eb00c76162cc37f8a56c3b8bdb

Patch Set 1 #

Patch Set 2 : sqrts #

Patch Set 3 : fmt #

Patch Set 4 : no cmath #

Patch Set 5 : sse SkNx_casts #

Patch Set 6 : avx #

Patch Set 7 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -249 lines) Patch
M bench/Sk4fBench.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkNx.h View 1 2 3 11 chunks +51 lines, -145 lines 0 comments Download
M src/effects/SkColorMatrixFilter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/opts/SkColorCubeFilter_opts.h View 2 chunks +5 lines, -5 lines 0 comments Download
M src/opts/SkNx_avx.h View 1 2 3 4 5 2 chunks +19 lines, -17 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 3 4 5 3 chunks +39 lines, -24 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 2 3 4 5 6 3 chunks +61 lines, -30 lines 0 comments Download
M src/opts/SkXfermode_opts.h View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/SkNxTest.cpp View 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1526523003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1526523003/40001
5 years ago (2015-12-14 17:18:23 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/4830)
5 years ago (2015-12-14 17:19:22 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1526523003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1526523003/60001
5 years ago (2015-12-14 17:23:55 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-14 17:38:29 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/1526523003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1526523003/100001
5 years ago (2015-12-14 18:21:33 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/4834) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
5 years ago (2015-12-14 18:22:27 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/1526523003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1526523003/120001
5 years ago (2015-12-14 18:25:57 UTC) #20
mtklein_C
This refactor lets us avoid that other CL for Sk2d, and cuts away all the ...
5 years ago (2015-12-14 18:39:31 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-14 18:46:04 UTC) #25
reed1
5 years ago (2015-12-14 19:23:31 UTC) #26
reed1
lgtm
5 years ago (2015-12-14 19:23:38 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1526523003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1526523003/120001
5 years ago (2015-12-14 19:24:22 UTC) #29
commit-bot: I haz the power
5 years ago (2015-12-14 19:25:21 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/6f37b4a4757ea3eb00c76162cc37f8a56c3b8bdb

Powered by Google App Engine
This is Rietveld 408576698