OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
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 "SkOpts.h" | 8 #include "SkOpts.h" |
9 | 9 |
10 #define SK_OPTS_NS neon | 10 #define SK_OPTS_NS neon |
| 11 #include "SkBlitMask_opts.h" |
11 #include "SkBlurImageFilter_opts.h" | 12 #include "SkBlurImageFilter_opts.h" |
12 #include "SkFloatingPoint_opts.h" | 13 #include "SkFloatingPoint_opts.h" |
13 #include "SkMorphologyImageFilter_opts.h" | 14 #include "SkMorphologyImageFilter_opts.h" |
14 #include "SkTextureCompressor_opts.h" | 15 #include "SkTextureCompressor_opts.h" |
15 #include "SkUtils_opts.h" | 16 #include "SkUtils_opts.h" |
16 #include "SkXfermode_opts.h" | 17 #include "SkXfermode_opts.h" |
17 | 18 |
18 namespace SkOpts { | 19 namespace SkOpts { |
19 void Init_neon() { | 20 void Init_neon() { |
20 rsqrt = neon::rsqrt; | 21 rsqrt = neon::rsqrt; |
21 memset16 = neon::memset16; | 22 memset16 = neon::memset16; |
22 memset32 = neon::memset32; | 23 memset32 = neon::memset32; |
23 create_xfermode = SkCreate4pxXfermode; | 24 create_xfermode = SkCreate4pxXfermode; |
24 | 25 |
25 box_blur_xx = neon::box_blur_xx; | 26 box_blur_xx = neon::box_blur_xx; |
26 box_blur_xy = neon::box_blur_xy; | 27 box_blur_xy = neon::box_blur_xy; |
27 box_blur_yx = neon::box_blur_yx; | 28 box_blur_yx = neon::box_blur_yx; |
28 | 29 |
29 dilate_x = neon::dilate_x; | 30 dilate_x = neon::dilate_x; |
30 dilate_y = neon::dilate_y; | 31 dilate_y = neon::dilate_y; |
31 erode_x = neon::erode_x; | 32 erode_x = neon::erode_x; |
32 erode_y = neon::erode_y; | 33 erode_y = neon::erode_y; |
33 | 34 |
34 texture_compressor = neon::texture_compressor; | 35 texture_compressor = neon::texture_compressor; |
35 fill_block_dimensions = neon::fill_block_dimensions; | 36 fill_block_dimensions = neon::fill_block_dimensions; |
| 37 |
| 38 blit_mask_d32_a8 = neon::blit_mask_d32_a8; |
36 } | 39 } |
37 } | 40 } |
OLD | NEW |