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 sk_neon | 10 #define SK_OPTS_NS sk_neon |
11 #include "SkBlitMask_opts.h" | 11 #include "SkBlitMask_opts.h" |
12 #include "SkBlitRow_opts.h" | 12 #include "SkBlitRow_opts.h" |
13 #include "SkBlurImageFilter_opts.h" | 13 #include "SkBlurImageFilter_opts.h" |
14 #include "SkColorCubeFilter_opts.h" | 14 #include "SkColorCubeFilter_opts.h" |
15 #include "SkFloatingPoint_opts.h" | 15 #include "SkFloatingPoint_opts.h" |
16 #include "SkMatrix_opts.h" | 16 #include "SkMatrix_opts.h" |
17 #include "SkMorphologyImageFilter_opts.h" | 17 #include "SkMorphologyImageFilter_opts.h" |
| 18 #include "SkSwizzler_opts.h" |
18 #include "SkTextureCompressor_opts.h" | 19 #include "SkTextureCompressor_opts.h" |
19 #include "SkUtils_opts.h" | 20 #include "SkUtils_opts.h" |
20 #include "SkXfermode_opts.h" | 21 #include "SkXfermode_opts.h" |
21 | 22 |
22 namespace SkOpts { | 23 namespace SkOpts { |
23 void Init_neon() { | 24 void Init_neon() { |
24 rsqrt = sk_neon::rsqrt; | 25 rsqrt = sk_neon::rsqrt; |
25 memset16 = sk_neon::memset16; | 26 memset16 = sk_neon::memset16; |
26 memset32 = sk_neon::memset32; | 27 memset32 = sk_neon::memset32; |
27 create_xfermode = sk_neon::create_xfermode; | 28 create_xfermode = sk_neon::create_xfermode; |
(...skipping 12 matching lines...) Expand all Loading... |
40 | 41 |
41 blit_mask_d32_a8 = sk_neon::blit_mask_d32_a8; | 42 blit_mask_d32_a8 = sk_neon::blit_mask_d32_a8; |
42 | 43 |
43 blit_row_color32 = sk_neon::blit_row_color32; | 44 blit_row_color32 = sk_neon::blit_row_color32; |
44 | 45 |
45 color_cube_filter_span = sk_neon::color_cube_filter_span; | 46 color_cube_filter_span = sk_neon::color_cube_filter_span; |
46 | 47 |
47 matrix_translate = sk_neon::matrix_translate; | 48 matrix_translate = sk_neon::matrix_translate; |
48 matrix_scale_translate = sk_neon::matrix_scale_translate; | 49 matrix_scale_translate = sk_neon::matrix_scale_translate; |
49 matrix_affine = sk_neon::matrix_affine; | 50 matrix_affine = sk_neon::matrix_affine; |
| 51 |
| 52 premul_xxxa = sk_neon::premul_xxxa; |
| 53 premul_swaprb_xxxa = sk_neon::premul_swaprb_xxxa; |
| 54 swaprb_xxxa = sk_neon::swaprb_xxxa; |
50 } | 55 } |
51 } | 56 } |
OLD | NEW |