Index: src/core/SkBlitter_RGB16.cpp |
diff --git a/src/core/SkBlitter_RGB16.cpp b/src/core/SkBlitter_RGB16.cpp |
index 8caf90831231fdcc61cd6c166e193a9eab1ee281..d87c63659036efb2862d699b4e392ad5b3796b05 100644 |
--- a/src/core/SkBlitter_RGB16.cpp |
+++ b/src/core/SkBlitter_RGB16.cpp |
@@ -14,7 +14,7 @@ |
#include "SkUtilsArm.h" |
#include "SkXfermode.h" |
-#if SK_MIPS_HAS_DSP |
+#if defined(__mips_dsp) |
extern void blitmask_d565_opaque_mips(int width, int height, uint16_t* device, |
unsigned deviceRB, const uint8_t* alpha, |
uint32_t expanded32, unsigned maskRB); |
@@ -374,7 +374,7 @@ void SkRGB16_Opaque_Blitter::blitAntiH(int x, int y, |
#define SK_BLITBWMASK_DEVTYPE uint16_t |
#include "SkBlitBWMaskTemplate.h" |
-#if !defined(SK_MIPS_HAS_DSP) |
+#if !defined(__mips_dsp) |
static U16CPU blend_compact(uint32_t src32, uint32_t dst32, unsigned scale5) { |
return SkCompact_rgb_16(dst32 + ((src32 - dst32) * scale5 >> 5)); |
} |
@@ -465,7 +465,7 @@ void SkRGB16_Opaque_Blitter::blitMask(const SkMask& mask, |
alpha += maskRB; |
} while (--height != 0); |
#undef UNROLL |
-#elif SK_MIPS_HAS_DSP |
+#elif defined(__mips_dsp) |
blitmask_d565_opaque_mips(width, height, device, deviceRB, alpha, expanded32, maskRB); |
#else // non-neon code |
do { |