diff options
author | mtklein <mtklein@google.com> | 2015-05-22 05:51:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-22 05:51:37 -0700 |
commit | 3b8d9f776e476746b38c0dca674e497d7c4b13cb (patch) | |
tree | f1cd380b8388cf92ebed65fb771478dbce8d3774 /src/core/SkBlitRow_D32.cpp | |
parent | 806236e7974e8d05feecb8264eb361759f9db536 (diff) |
Revert of Re-proc SkBlitRow::Color32 for ARM. (patchset #3 id:40001 of https://codereview.chromium.org/1145283003/)
Reason for revert:
http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/70016/steps/compile%20%28with%20patch%29/logs/stdio
Original issue's description:
> Re-proc SkBlitRow::Color32 for ARM.
>
> This is a spiritual revert of http://crrev.com/1104183004.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/4e13a23d8f720e17660f26657b45b89fe4339004
TBR=reed@google.com,mtklein@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1157633003
Diffstat (limited to 'src/core/SkBlitRow_D32.cpp')
-rw-r--r-- | src/core/SkBlitRow_D32.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkBlitRow_D32.cpp b/src/core/SkBlitRow_D32.cpp index 07a5d875b8..f5cb45d0fa 100644 --- a/src/core/SkBlitRow_D32.cpp +++ b/src/core/SkBlitRow_D32.cpp @@ -144,11 +144,6 @@ void SkBlitRow::Color32(SkPMColor dst[], const SkPMColor src[], int count, SkPMC case 255: sk_memset32(dst, color, count); return; } - // This Sk4px impl works great on other platforms or when we have NEON. -#if defined(SK_CPU_ARM32) && !defined(SK_ARM_HAS_NEON) - if (auto proc = PlatformColor32Proc()) { return proc(dst, src, count, color); } -#endif - unsigned invA = 255 - SkGetPackedA32(color); invA += invA >> 7; SkASSERT(invA < 256); // We've already handled alpha == 0 above. |