From 349dcc99b69f27ab834232796371e678625078e0 Mon Sep 17 00:00:00 2001 From: mtklein Date: Thu, 14 Jan 2016 11:16:47 -0800 Subject: [PATCH] these _procs_arm are not used when we have NEON BUG=skia:4798 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1587983004 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review URL: https://codereview.chromium.org/1587983004 --- src/opts/SkBlitRow_opts_arm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opts/SkBlitRow_opts_arm.cpp b/src/opts/SkBlitRow_opts_arm.cpp index 24566ba6c5..6ebd809126 100644 --- a/src/opts/SkBlitRow_opts_arm.cpp +++ b/src/opts/SkBlitRow_opts_arm.cpp @@ -10,6 +10,7 @@ #include "SkBlitRow_opts_arm_neon.h" +#if !defined(SK_ARM_HAS_NEON) static const SkBlitRow::Proc16 sk_blitrow_platform_565_procs_arm[] = { nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, }; @@ -21,6 +22,7 @@ static const SkBlitRow::ColorProc16 sk_blitrow_platform_565_colorprocs_arm[] = { static const SkBlitRow::Proc32 sk_blitrow_platform_32_procs_arm[] = { nullptr, nullptr, nullptr, nullptr, }; +#endif SkBlitRow::Proc16 SkBlitRow::PlatformFactory565(unsigned flags) { return SK_ARM_NEON_WRAP(sk_blitrow_platform_565_procs_arm)[flags];