OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009 The Android Open Source Project | 2 * Copyright 2009 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 "SkBitmapProcState_opts_SSE2.h" | 8 #include "SkBitmapProcState_opts_SSE2.h" |
9 #include "SkBitmapProcState_opts_SSSE3.h" | 9 #include "SkBitmapProcState_opts_SSSE3.h" |
10 #include "SkBitmapFilter_opts_SSE2.h" | 10 #include "SkBitmapFilter_opts_SSE2.h" |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } | 159 } |
160 if (c_hqfilter_sse) { | 160 if (c_hqfilter_sse) { |
161 if (fShaderProc32 == highQualityFilter32) { | 161 if (fShaderProc32 == highQualityFilter32) { |
162 fShaderProc32 = highQualityFilter_SSE2; | 162 fShaderProc32 = highQualityFilter_SSE2; |
163 } | 163 } |
164 } | 164 } |
165 } | 165 } |
166 } | 166 } |
167 | 167 |
168 static SkBlitRow::Proc platform_16_procs[] = { | 168 static SkBlitRow::Proc platform_16_procs[] = { |
169 NULL, // S32_D565_Opaque | 169 S32_D565_Opaque_SSE2, // S32_D565_Opaque |
170 NULL, // S32_D565_Blend | 170 NULL, // S32_D565_Blend |
171 S32A_D565_Opaque_SSE2, // S32A_D565_Opaque | 171 S32A_D565_Opaque_SSE2, // S32A_D565_Opaque |
172 NULL, // S32A_D565_Blend | 172 NULL, // S32A_D565_Blend |
173 NULL, // S32_D565_Opaque_Dither | 173 NULL, // S32_D565_Opaque_Dither |
174 NULL, // S32_D565_Blend_Dither | 174 NULL, // S32_D565_Blend_Dither |
175 NULL, // S32A_D565_Opaque_Dither | 175 NULL, // S32A_D565_Opaque_Dither |
176 NULL, // S32A_D565_Blend_Dither | 176 NULL, // S32A_D565_Blend_Dither |
177 }; | 177 }; |
178 | 178 |
179 static SkBlitRow::Proc32 platform_32_procs[] = { | 179 static SkBlitRow::Proc32 platform_32_procs[] = { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning | 301 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning |
302 | 302 |
303 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { | 303 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { |
304 if (cachedHasSSE2()) { | 304 if (cachedHasSSE2()) { |
305 return ColorRect32_SSE2; | 305 return ColorRect32_SSE2; |
306 } else { | 306 } else { |
307 return NULL; | 307 return NULL; |
308 } | 308 } |
309 } | 309 } |
OLD | NEW |