Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2012 The Android Open Source Project | 2 * Copyright 2012 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 "SkBlitRow_opts_arm.h" | 8 #include "SkBlitRow_opts_arm.h" |
| 9 | 9 |
| 10 #include "SkBlitMask.h" | 10 #include "SkBlitMask.h" |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 364 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { | 364 SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { |
| 365 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; | 365 return SK_ARM_NEON_WRAP(sk_blitrow_platform_32_procs_arm)[flags]; |
| 366 } | 366 } |
| 367 | 367 |
| 368 /////////////////////////////////////////////////////////////////////////////// | 368 /////////////////////////////////////////////////////////////////////////////// |
| 369 #define Color32_arm NULL | 369 #define Color32_arm NULL |
| 370 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { | 370 SkBlitRow::ColorProc SkBlitRow::PlatformColorProc() { |
| 371 return SK_ARM_NEON_WRAP(Color32_arm); | 371 return SK_ARM_NEON_WRAP(Color32_arm); |
| 372 } | 372 } |
| 373 | 373 |
| 374 #if SK_ARM_NEON_IS_NONE | |
| 374 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig, | 375 SkBlitMask::ColorProc SkBlitMask::PlatformColorProcs(SkBitmap::Config dstConfig, |
|
djsollen
2013/08/05 17:25:00
I would either leave these functions here or move
kevin.petit.not.used.account
2013/08/06 10:00:55
I agree that the current version duplicates the fu
| |
| 375 SkMask::Format maskFormat, | 376 SkMask::Format maskFormat, |
| 376 SkColor color) { | 377 SkColor color) { |
| 377 return NULL; | 378 return NULL; |
| 378 } | 379 } |
| 379 | 380 |
| 380 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { | 381 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { |
| 381 return NULL; | 382 return NULL; |
| 382 } | 383 } |
| 383 | 384 |
| 384 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig, | 385 SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkBitmap::Config dstConfig, |
| 385 SkMask::Format maskFormat, | 386 SkMask::Format maskFormat, |
| 386 RowFlags flags) { | 387 RowFlags flags) { |
| 387 return NULL; | 388 return NULL; |
| 388 } | 389 } |
| 390 #endif | |
| 391 | |
| OLD | NEW |