3 #include "SkColorPriv.h"
4 #include "SkBlitMask.h"
5 #include "SkUtilsArm.h"
6 #include "SkBlitMask_opts_arm_neon.h"
8 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig,
9 SkMask::Format maskFormat,
11 #if SK_ARM_NEON_IS_NONE
14 /* ** This has been disabled until we can diagnose and fix the SIGILL generated
15 ** in the NEON code. See http://skbug.com/2067 for details.
16 #if SK_ARM_NEON_IS_DYNAMIC
17 if (!sk_cpu_arm_has_neon()) {
21 if ((SkBitmap::kARGB_8888_Config == dstConfig) &&
22 (SkMask::kA8_Format == maskFormat)) {
23 return D32_A8_Factory_neon(color);
28 // We don't need to handle the SkMask::kLCD16_Format case as the default
29 // LCD16 will call us through SkBlitMask::PlatformBlitRowProcs16()
34 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) {
36 return SK_ARM_NEON_WRAP(SkBlitLCD16OpaqueRow);
38 return SK_ARM_NEON_WRAP(SkBlitLCD16Row);
42 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig,
43 SkMask::Format maskFormat,