| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The Android Open Source Project | 2 * Copyright 2012 The Android Open Source Project |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkBlitRow.h" | 8 #include "SkBlitRow.h" |
| 9 #include "SkColorPriv.h" | 9 #include "SkColorPriv.h" |
| 10 #include "SkDither.h" | 10 #include "SkDither.h" |
| 11 #include "SkMathPriv.h" | 11 #include "SkMathPriv.h" |
| 12 #include "SkUtils.h" | 12 #include "SkUtils.h" |
| 13 #include "SkUtilsArm.h" | 13 #include "SkUtilsArm.h" |
| 14 | 14 |
| 15 #include "SkCachePreload_arm.h" | |
| 16 | |
| 17 // Define USE_NEON_CODE to indicate that we need to build NEON routines | 15 // Define USE_NEON_CODE to indicate that we need to build NEON routines |
| 18 #define USE_NEON_CODE (!SK_ARM_NEON_IS_NONE) | 16 #define USE_NEON_CODE (!SK_ARM_NEON_IS_NONE) |
| 19 | 17 |
| 20 // Define USE_ARM_CODE to indicate that we need to build ARM routines | 18 // Define USE_ARM_CODE to indicate that we need to build ARM routines |
| 21 #define USE_ARM_CODE (!SK_ARM_NEON_IS_ALWAYS) | 19 #define USE_ARM_CODE (!SK_ARM_NEON_IS_ALWAYS) |
| 22 | 20 |
| 23 #if USE_NEON_CODE | 21 #if USE_NEON_CODE |
| 24 #include "SkBlitRow_opts_arm_neon.h" | 22 #include "SkBlitRow_opts_arm_neon.h" |
| 25 #endif | 23 #endif |
| 26 | 24 |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 371 |
| 374 /////////////////////////////////////////////////////////////////////////////// | 372 /////////////////////////////////////////////////////////////////////////////// |
| 375 #define Color32_arm NULL | 373 #define Color32_arm NULL |
| 376 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { | 374 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { |
| 377 return SK_ARM_NEON_WRAP(Color32_arm); | 375 return SK_ARM_NEON_WRAP(Color32_arm); |
| 378 } | 376 } |
| 379 | 377 |
| 380 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { | 378 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { |
| 381 return NULL; | 379 return NULL; |
| 382 } | 380 } |
| OLD | NEW |