| OLD | NEW |
| 1 /*************************************************************************** | 1 /*************************************************************************** |
| 2 * Copyright (c) 2010, Code Aurora Forum. All rights reserved. | 2 * Copyright (c) 2010, Code Aurora Forum. All rights reserved. |
| 3 * Copyright 2006-2010, The Android Open Source Project | 3 * Copyright 2006-2010, The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 ***************************************************************************/ | 7 ***************************************************************************/ |
| 8 | 8 |
| 9 /* Changes: | 9 /* Changes: |
| 10 * 2011-04-01 ARM | 10 * 2011-04-01 ARM |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 return NULL; | 91 return NULL; |
| 92 } | 92 } |
| 93 #endif | 93 #endif |
| 94 } | 94 } |
| 95 | 95 |
| 96 bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, | 96 bool SkBoxBlurGetPlatformProcs(SkBoxBlurProc* boxBlurX, |
| 97 SkBoxBlurProc* boxBlurY, | 97 SkBoxBlurProc* boxBlurY, |
| 98 SkBoxBlurProc* boxBlurXY, | 98 SkBoxBlurProc* boxBlurXY, |
| 99 SkBoxBlurProc* boxBlurYX) { | 99 SkBoxBlurProc* boxBlurYX) { |
| 100 #if SK_ARM_NEON_IS_NONE | 100 #if SK_ARM_NEON_IS_NONE |
| 101 return NULL; | 101 return false; |
| 102 #else | 102 #else |
| 103 #if SK_ARM_NEON_IS_DYNAMIC | 103 #if SK_ARM_NEON_IS_DYNAMIC |
| 104 if (!sk_cpu_arm_has_neon()) { | 104 if (!sk_cpu_arm_has_neon()) { |
| 105 return NULL; | 105 return false; |
| 106 } | 106 } |
| 107 #endif | 107 #endif |
| 108 return SkBoxBlurGetPlatformProcs_NEON(boxBlurX, boxBlurY, boxBlurXY, boxBlur
YX); | 108 return SkBoxBlurGetPlatformProcs_NEON(boxBlurX, boxBlurY, boxBlurXY, boxBlur
YX); |
| 109 #endif | 109 #endif |
| 110 } | 110 } |
| OLD | NEW |