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

Issue 1683543002: sknx refactoring (Closed)

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

Description

sknx refactoring - trim unused specializations (Sk4i, Sk2d) and apis (SkNx_dup) - expand apis a little * v[0] == v.kth<0>() * SkNx_shuffle can now convert to different-sized vectors, e.g. Sk2f <-> Sk4f - remove anonymous namespace I believe it's safe to remove the anonymous namespace right now. We're worried about violating the One Definition Rule; the anonymous namespace protected us from that. In Release builds, this is mostly moot, as everything tends to inline completely. In Debug builds, violating the ODR is at worst an inconvenience, time spent trying to figure out why the bot is broken. Now that we're building with SSE2/NEON everywhere, very few bots have even a chance about getting confused by two definitions of the same type or function. Where we do compile variants depending on, e.g., SSSE3, we do so in static inline functions. These are not subject to the ODR. I plan to follow up with a tedious .kth<...>() -> [...] auto-replace. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1683543002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/e4c0beed744d09dae4757c1893d8caa64ee09cd2

Patch Set 1 #

Patch Set 2 : simplify more #

Patch Set 3 : ok? #

Patch Set 4 : shuffle test #

Patch Set 5 : explain #

Patch Set 6 : demo more #

Patch Set 7 : pun pun pun #

Patch Set 8 : moar pun #

Patch Set 9 : expand test #

Patch Set 10 : typos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -332 lines) Patch
M src/core/SkColorMatrixFilterRowMajor255.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M src/core/SkNx.h View 1 2 3 4 5 6 chunks +88 lines, -131 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 3 4 5 6 7 8 9 9 chunks +25 lines, -50 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 2 3 4 5 6 7 8 9 15 chunks +25 lines, -126 lines 0 comments Download
M src/opts/SkXfermode_opts.h View 1 chunk +1 line, -1 line 0 comments Download
M tests/SkNxTest.cpp View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -20 lines 0 comments Download

Messages

Total messages: 31 (19 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/1683543002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1683543002/100001
4 years, 10 months ago (2016-02-09 03:08:57 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/5953) Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on ...
4 years, 10 months ago (2016-02-09 03:09:59 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1683543002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1683543002/120001
4 years, 10 months ago (2016-02-09 03:14:38 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/5954)
4 years, 10 months ago (2016-02-09 03:15:32 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1683543002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1683543002/140001
4 years, 10 months ago (2016-02-09 03:17:28 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1683543002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1683543002/160001
4 years, 10 months ago (2016-02-09 03:24:08 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/1683543002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1683543002/180001
4 years, 10 months ago (2016-02-09 03:28:38 UTC) #20
mtklein_C
4 years, 10 months ago (2016-02-09 03:37:00 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-09 03:51:01 UTC) #25
herb_g
lgtm
4 years, 10 months ago (2016-02-09 18:34:25 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1683543002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1683543002/180001
4 years, 10 months ago (2016-02-09 18:34:41 UTC) #28
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 18:35:31 UTC) #30
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://skia.googlesource.com/skia/+/e4c0beed744d09dae4757c1893d8caa64ee09cd2

Powered by Google App Engine
This is Rietveld 408576698