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

Issue 1229673008: Optimize RGB16 blitH functions with NEON for ARM platform. (Closed)

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

Description

Optimize RGB16 blitH functions with NEON for ARM platform. Here are some performance resultsi on Nexus 9: SkRGB16BlitterBlitH_neon: +--------+-----------+ |height | C/NEON | +--------+-----------+ |1 | 0.888531 | +--------+-----------+ |8 | 1.231800 | +--------+-----------+ |18 | 1.073327 | +--------+-----------+ |32 | 1.136991 | +--------+-----------+ |76 | 1.174638 | +--------+-----------+ |85 | 1.188551 | +--------+-----------+ |120 | 1.180261 | +--------+-----------+ |128 | 1.183726 | +--------+-----------+ |512 | 1.220806 | +--------+-----------+ BUG=skia: Committed: https://skia.googlesource.com/skia/+/6c72d5740231f47c664a8e765a8df05cd124c88c

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rename the varible #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -0 lines) Patch
M src/core/SkBlitter_RGB16.cpp View 1 3 chunks +12 lines, -0 lines 0 comments Download
M src/opts/SkBlitMask_opts_arm_neon.cpp View 1 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
yang.zhang
5 years, 5 months ago (2015-07-16 03:46:58 UTC) #1
yang.zhang
5 years, 5 months ago (2015-07-16 03:48:00 UTC) #3
yang.zhang
On 2015/07/16 03:48:00, yang.zhang wrote: Hi mtklein Any comments?
5 years, 4 months ago (2015-07-29 02:35:27 UTC) #4
mtklein
https://codereview.chromium.org/1229673008/diff/1/src/core/SkBlitter_RGB16.cpp File src/core/SkBlitter_RGB16.cpp (right): https://codereview.chromium.org/1229673008/diff/1/src/core/SkBlitter_RGB16.cpp#newcode612 src/core/SkBlitter_RGB16.cpp:612: #if SK_ARM_NEON_IS_ALWAYS && defined(SK_CPU_LENDIAN) This is fine, but we ...
5 years, 4 months ago (2015-07-29 14:07:12 UTC) #5
yang.zhang
https://codereview.chromium.org/1229673008/diff/1/src/core/SkBlitter_RGB16.cpp File src/core/SkBlitter_RGB16.cpp (right): https://codereview.chromium.org/1229673008/diff/1/src/core/SkBlitter_RGB16.cpp#newcode612 src/core/SkBlitter_RGB16.cpp:612: #if SK_ARM_NEON_IS_ALWAYS && defined(SK_CPU_LENDIAN) On 2015/07/29 14:07:11, mtklein wrote: ...
5 years, 4 months ago (2015-07-30 05:35:34 UTC) #6
mtklein
lgtm FYI, I've been writing some new code to wrap SIMD instructions in a platform-independent ...
5 years, 4 months ago (2015-07-30 12:29:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229673008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1229673008/20001
5 years, 4 months ago (2015-07-30 12:29:23 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/6c72d5740231f47c664a8e765a8df05cd124c88c
5 years, 4 months ago (2015-07-30 12:37:09 UTC) #10
mtklein
5 years, 4 months ago (2015-07-30 14:03:06 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1268513003/ by mtklein@google.com.

The reason for reverting is: This doesn't draw correctly, e.g. our GM test named
dashcubics.

Good: https://gold.skia.org/img/images/0f7e8e226379afbad8a700e0a80fd8f1.png

Bad:
https://gold.skia.org/img/images/56ce15fc67436065a3db4b8ee31f13ae.png.

Powered by Google App Engine
This is Rietveld 408576698