Index: src/opts/SkBitmapProcState_opts_arm.cpp |
diff --git a/src/opts/SkBitmapProcState_opts_arm.cpp b/src/opts/SkBitmapProcState_opts_arm.cpp |
index c2376d42a749cbe99fec40e5c146a2e5ef1312f9..96fbebd4e19b0cba8f51dad9c023d536f6c78d80 100644 |
--- a/src/opts/SkBitmapProcState_opts_arm.cpp |
+++ b/src/opts/SkBitmapProcState_opts_arm.cpp |
@@ -15,7 +15,7 @@ |
#include "SkConvolver.h" |
-#if !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
+#if 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 @@ |
s.fBitmap->getColorTable()->unlockColors(); |
} |
-#endif // !defined(SK_CPU_ARM64) && SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
+#endif // SK_ARM_ARCH >= 6 && !defined(SK_CPU_BENDIAN) |
/////////////////////////////////////////////////////////////////////////////// |
@@ -194,7 +194,6 @@ |
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; |
@@ -204,6 +203,7 @@ |
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 @@ |
fShaderProc32 = NULL; |
} |
} |
+#endif |
break; |
default: |
break; |
} |
-#endif |
} |
/////////////////////////////////////////////////////////////////////////////// |