| 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 "SkBitmapFilter_opts_SSE2.h" | 8 #include "SkBitmapFilter_opts_SSE2.h" |
| 9 #include "SkBitmapProcState_opts_SSE2.h" | 9 #include "SkBitmapProcState_opts_SSE2.h" |
| 10 #include "SkBitmapProcState_opts_SSSE3.h" | 10 #include "SkBitmapProcState_opts_SSSE3.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 return platform_32_procs_SSE4[flags]; | 247 return platform_32_procs_SSE4[flags]; |
| 248 } else | 248 } else |
| 249 #endif | 249 #endif |
| 250 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { | 250 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
| 251 return platform_32_procs_SSE2[flags]; | 251 return platform_32_procs_SSE2[flags]; |
| 252 } else { | 252 } else { |
| 253 return NULL; | 253 return NULL; |
| 254 } | 254 } |
| 255 } | 255 } |
| 256 | 256 |
| 257 SkBlitRow::Blend32_16_row_Proc SkBlitRow::PlatformBlend32_16_rowProc() { |
| 258 return NULL; |
| 259 } |
| 260 |
| 257 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { | 261 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { |
| 258 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { | 262 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
| 259 return Color32_SSE2; | 263 return Color32_SSE2; |
| 260 } else { | 264 } else { |
| 261 return NULL; | 265 return NULL; |
| 262 } | 266 } |
| 263 } | 267 } |
| 264 | 268 |
| 265 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning | 269 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning |
| 266 | 270 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 } else { | 410 } else { |
| 407 return SkPlatformXfermodeFactory_impl(rec, mode); | 411 return SkPlatformXfermodeFactory_impl(rec, mode); |
| 408 } | 412 } |
| 409 } | 413 } |
| 410 | 414 |
| 411 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); | 415 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); |
| 412 | 416 |
| 413 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { | 417 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { |
| 414 return NULL; | 418 return NULL; |
| 415 } | 419 } |
| OLD | NEW |