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

Issue 1411563008: prune unused SkNx features (Closed)

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

prune unused SkNx features - remove float -> int conversion, keeping float -> byte - remove support for doubles I was thinking of specializing Sk8f for AVX. This will help keep the complexity down. This may cause minor diffs in radial gradients: toBytes() rounds where castTrunc() truncated. But I don't see any diffs in Gold. https://gold.skia.org/search2?issue=1411563008&unt=true&query=source_type%3Dgm&master=false BUG=skia:4117 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/6f797092d2054f79374fb98fc1d57ca3554c7db4

Patch Set 1 #

Patch Set 2 : msvc #

Patch Set 3 : 0.001f #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -217 lines) Patch
M src/core/SkNx.h View 1 9 chunks +37 lines, -59 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/opts/SkNx_neon.h View 4 chunks +2 lines, -79 lines 0 comments Download
M src/opts/SkNx_sse.h View 4 chunks +2 lines, -51 lines 0 comments Download
M tests/SkNxTest.cpp View 1 2 4 chunks +21 lines, -24 lines 0 comments Download

Messages

Total messages: 26 (15 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/1411563008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411563008/1
5 years, 1 month ago (2015-11-09 15:44:38 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/4109) Build-Win-MSVC-x86_64-Debug-Trybot on ...
5 years, 1 month ago (2015-11-09 15:46:47 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411563008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411563008/20001
5 years, 1 month ago (2015-11-09 15:49:26 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4169)
5 years, 1 month ago (2015-11-09 15:51:26 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/1411563008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411563008/40001
5 years, 1 month ago (2015-11-09 16:08:13 UTC) #13
mtklein_C
Pretty much just code deletion.
5 years, 1 month ago (2015-11-09 16:12:27 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-09 16:18:56 UTC) #20
reed1
... always a good change :) lgtm
5 years, 1 month ago (2015-11-09 16:28:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411563008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411563008/40001
5 years, 1 month ago (2015-11-09 16:33:10 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/6f797092d2054f79374fb98fc1d57ca3554c7db4
5 years, 1 month ago (2015-11-09 16:33:57 UTC) #25
mtklein_C
5 years, 1 month ago (2015-11-09 19:23:05 UTC) #26
Message was sent while issue was closed.
Just correcting myself for posterity:

Converting the radial gradient code from castTrunc() to toBytes() was bit
perfect:
toBytes() truncates too.

Powered by Google App Engine
This is Rietveld 408576698