OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
| 7 |
8 #include "SkBitmapProcState.h" | 8 #include "SkBitmapProcState.h" |
9 #include "SkBitmapProcState_filter.h" | 9 #include "SkBitmapProcState_filter.h" |
10 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
11 #include "SkFilterProc.h" | 11 #include "SkFilterProc.h" |
12 #include "SkPaint.h" | 12 #include "SkPaint.h" |
13 #include "SkShader.h" // for tilemodes | 13 #include "SkShader.h" // for tilemodes |
14 #include "SkUtilsArm.h" | 14 #include "SkUtilsArm.h" |
15 | 15 |
16 // Required to ensure the table is part of the final binary. | 16 // Required to ensure the table is part of the final binary. |
17 extern const SkBitmapProcState::SampleProc32 gSkBitmapProcStateSample32_neon[]; | 17 extern const SkBitmapProcState::SampleProc32 gSkBitmapProcStateSample32_neon[]; |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 } | 515 } |
516 } | 516 } |
517 | 517 |
518 void platformConvolutionProcs_arm_neon(SkConvolutionProcs* procs) { | 518 void platformConvolutionProcs_arm_neon(SkConvolutionProcs* procs) { |
519 procs->fExtraHorizontalReads = 3; | 519 procs->fExtraHorizontalReads = 3; |
520 procs->fConvolveVertically = &convolveVertically_neon; | 520 procs->fConvolveVertically = &convolveVertically_neon; |
521 procs->fConvolve4RowsHorizontally = &convolve4RowsHorizontally_neon; | 521 procs->fConvolve4RowsHorizontally = &convolve4RowsHorizontally_neon; |
522 procs->fConvolveHorizontally = &convolveHorizontally_neon; | 522 procs->fConvolveHorizontally = &convolveHorizontally_neon; |
523 procs->fApplySIMDPadding = &applySIMDPadding_neon; | 523 procs->fApplySIMDPadding = &applySIMDPadding_neon; |
524 } | 524 } |
OLD | NEW |