| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 } | 254 } |
| 255 | 255 |
| 256 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { | 256 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { |
| 257 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { | 257 if (supports_simd(SK_CPU_SSE_LEVEL_SSE2)) { |
| 258 return Color32_SSE2; | 258 return Color32_SSE2; |
| 259 } else { | 259 } else { |
| 260 return NULL; | 260 return NULL; |
| 261 } | 261 } |
| 262 } | 262 } |
| 263 | 263 |
| 264 SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning | |
| 265 | |
| 266 SkBlitRow::ColorRectProc PlatformColorRectProcFactory() { | |
| 267 return NULL; | |
| 268 } | |
| 269 | |
| 270 //////////////////////////////////////////////////////////////////////////////// | 264 //////////////////////////////////////////////////////////////////////////////// |
| 271 | 265 |
| 272 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkColorType dstCT, | 266 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkColorType dstCT, |
| 273 SkMask::Format maskFormat, | 267 SkMask::Format maskFormat, |
| 274 SkColor color) { | 268 SkColor color) { |
| 275 if (SkMask::kA8_Format != maskFormat) { | 269 if (SkMask::kA8_Format != maskFormat) { |
| 276 return NULL; | 270 return NULL; |
| 277 } | 271 } |
| 278 | 272 |
| 279 ColorProc proc = NULL; | 273 ColorProc proc = NULL; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 } else { | 392 } else { |
| 399 return SkPlatformXfermodeFactory_impl(rec, mode); | 393 return SkPlatformXfermodeFactory_impl(rec, mode); |
| 400 } | 394 } |
| 401 } | 395 } |
| 402 | 396 |
| 403 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); | 397 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); |
| 404 | 398 |
| 405 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { | 399 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) { |
| 406 return NULL; | 400 return NULL; |
| 407 } | 401 } |
| OLD | NEW |