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

Issue 1657393002: SSSE3 optimizations for gray -> RGBA (or BGRA) (Closed)

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

Description

SSSE3 optimizations for gray -> RGBA (or BGRA) Swizzle Bench Runtime Dell Venue 8 0.16x HP z620 0.47x PNG Decode Time (for test set of gray encoded PNGs) Dell Venue 8 0.80x HP z620 0.96x BUG=skia:4767 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1657393002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/0700651128f8c505da65e651f9788589593f07c4

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Unpack based approach #

Patch Set 3 : Fix windows bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M src/opts/SkSwizzler_opts.h View 1 2 1 chunk +27 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (11 generated)
msarett
https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h#newcode455 src/opts/SkSwizzler_opts.h:455: static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int count) ...
4 years, 10 months ago (2016-02-02 20:22:36 UTC) #3
mtklein
lgtm https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h#newcode455 src/opts/SkSwizzler_opts.h:455: static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int ...
4 years, 10 months ago (2016-02-02 20:29:30 UTC) #4
mtklein
https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h#newcode455 src/opts/SkSwizzler_opts.h:455: static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int count) ...
4 years, 10 months ago (2016-02-02 20:32:07 UTC) #5
msarett
https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h#newcode455 src/opts/SkSwizzler_opts.h:455: static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int count) ...
4 years, 10 months ago (2016-02-02 20:41:45 UTC) #6
mtklein
https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h#newcode455 src/opts/SkSwizzler_opts.h:455: static void gray_to_RGB1(uint32_t dst[], const void* vsrc, int count) ...
4 years, 10 months ago (2016-02-02 20:47:18 UTC) #7
msarett
PTAL A completely different approach. https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h File src/opts/SkSwizzler_opts.h (right): https://codereview.chromium.org/1657393002/diff/20001/src/opts/SkSwizzler_opts.h#newcode455 src/opts/SkSwizzler_opts.h:455: static void gray_to_RGB1(uint32_t dst[], ...
4 years, 10 months ago (2016-02-02 20:53:59 UTC) #10
mtklein
lgtm (Don't worry about lots of movdqa instructions... they're typically 0 cycles.)
4 years, 10 months ago (2016-02-02 20:56:06 UTC) #11
commit-bot: I haz the power
This CL has an open dependency (Issue 1656383002 Patch 40001). Please resolve the dependency and ...
4 years, 10 months ago (2016-02-02 20:58:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657393002/40001
4 years, 10 months ago (2016-02-02 21:00:29 UTC) #16
commit-bot: I haz the power
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/5831) Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 10 months ago (2016-02-02 21:06:54 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1657393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1657393002/60001
4 years, 10 months ago (2016-02-02 21:10:09 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 21:41:11 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/0700651128f8c505da65e651f9788589593f07c4

Powered by Google App Engine
This is Rietveld 408576698