Index: src/opts/SkBitmapProcState_opts_arm.cpp |
diff --git a/src/opts/SkBitmapProcState_opts_arm.cpp b/src/opts/SkBitmapProcState_opts_arm.cpp |
index 96fbebd4e19b0cba8f51dad9c023d536f6c78d80..c2376d42a749cbe99fec40e5c146a2e5ef1312f9 100644 |
--- a/src/opts/SkBitmapProcState_opts_arm.cpp |
+++ b/src/opts/SkBitmapProcState_opts_arm.cpp |
@@ -15,7 +15,7 @@ |
#include "SkConvolver.h" |
-#if SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
+#if !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
void SI8_D16_nofilter_DX_arm( |
const SkBitmapProcState& s, |
const uint32_t* SK_RESTRICT xy, |
@@ -186,7 +186,7 @@ void SI8_opaque_D32_nofilter_DX_arm(const SkBitmapProcState& s, |
s.fBitmap->getColorTable()->unlockColors(); |
} |
-#endif // SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
+#endif // !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
/////////////////////////////////////////////////////////////////////////////// |
@@ -194,6 +194,7 @@ void SI8_opaque_D32_nofilter_DX_arm(const SkBitmapProcState& s, |
otherwise the shader won't even look at the matrix/sampler |
*/ |
void SkBitmapProcState::platformProcs() { |
+#if !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
bool isOpaque = 256 == fAlphaScale; |
bool justDx = false; |
@@ -203,7 +204,6 @@ void SkBitmapProcState::platformProcs() { |
switch (fBitmap->config()) { |
case SkBitmap::kIndex8_Config: |
-#if SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
if (justDx && SkPaint::kNone_FilterLevel == fFilterLevel) { |
#if 0 /* crashing on android device */ |
fSampleProc16 = SI8_D16_nofilter_DX_arm; |
@@ -215,11 +215,11 @@ void SkBitmapProcState::platformProcs() { |
fShaderProc32 = NULL; |
} |
} |
-#endif |
break; |
default: |
break; |
} |
+#endif |
} |
/////////////////////////////////////////////////////////////////////////////// |