Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: src/opts/opts_check_arm.cpp

Issue 135013004: Refactor SkMorphologyImageFilter, CPU and GPU paths. This required making opts/ dependent on effect… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix android build Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/opts/opts_check_SSE2.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « src/opts/opts_check_SSE2.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698