| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 } | 165 } |
| 166 } | 166 } |
| 167 | 167 |
| 168 static SkBlitRow::Proc platform_16_procs[] = { | 168 static SkBlitRow::Proc platform_16_procs[] = { |
| 169 S32_D565_Opaque_SSE2, // 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 S32A_D565_Opaque_Dither_SSE, // 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[] = { |
| 180 NULL, // S32_Opaque, | 180 NULL, // S32_Opaque, |
| 181 S32_Blend_BlitRow32_SSE2, // S32_Blend, | 181 S32_Blend_BlitRow32_SSE2, // S32_Blend, |
| 182 S32A_Opaque_BlitRow32_SSE2, // S32A_Opaque | 182 S32A_Opaque_BlitRow32_SSE2, // S32A_Opaque |
| 183 S32A_Blend_BlitRow32_SSE2, // S32A_Blend, | 183 S32A_Blend_BlitRow32_SSE2, // S32A_Blend, |
| 184 }; | 184 }; |
| 185 | 185 |
| (...skipping 114 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 |