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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 return memset32_neon; | 62 return memset32_neon; |
63 #else | 63 #else |
64 return arm_memset32; | 64 return arm_memset32; |
65 #endif | 65 #endif |
66 } | 66 } |
67 | 67 |
68 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { | 68 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { |
69 return NULL; | 69 return NULL; |
70 } | 70 } |
71 | 71 |
72 SkMorphologyProc SkMorphologyGetPlatformProc(SkMorphologyProcType type) { | 72 SkMorphologyImageFilter::Proc SkMorphologyGetPlatformProc(SkMorphologyProcType t
ype) { |
73 #if SK_ARM_NEON_IS_NONE | 73 #if SK_ARM_NEON_IS_NONE |
74 return NULL; | 74 return NULL; |
75 #else | 75 #else |
76 #if SK_ARM_NEON_IS_DYNAMIC | 76 #if SK_ARM_NEON_IS_DYNAMIC |
77 if (!sk_cpu_arm_has_neon()) { | 77 if (!sk_cpu_arm_has_neon()) { |
78 return NULL; | 78 return NULL; |
79 } | 79 } |
80 #endif | 80 #endif |
81 switch (type) { | 81 switch (type) { |
82 case kDilateX_SkMorphologyProcType: | 82 case kDilateX_SkMorphologyProcType: |
(...skipping 18 matching lines...) Expand all Loading... |
101 return false; | 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 false; | 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 |