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" | |
16 #include "SkMatrix_opts.h" | 15 #include "SkMatrix_opts.h" |
17 #include "SkMorphologyImageFilter_opts.h" | 16 #include "SkMorphologyImageFilter_opts.h" |
18 #include "SkSwizzler_opts.h" | 17 #include "SkSwizzler_opts.h" |
19 #include "SkTextureCompressor_opts.h" | 18 #include "SkTextureCompressor_opts.h" |
20 #include "SkUtils_opts.h" | 19 #include "SkUtils_opts.h" |
21 #include "SkXfermode_opts.h" | 20 #include "SkXfermode_opts.h" |
22 | 21 |
23 namespace SkOpts { | 22 namespace SkOpts { |
24 void Init_neon() { | 23 void Init_neon() { |
25 rsqrt = sk_neon::rsqrt; | |
26 memset16 = sk_neon::memset16; | 24 memset16 = sk_neon::memset16; |
27 memset32 = sk_neon::memset32; | 25 memset32 = sk_neon::memset32; |
28 create_xfermode = sk_neon::create_xfermode; | 26 create_xfermode = sk_neon::create_xfermode; |
29 | 27 |
30 box_blur_xx = sk_neon::box_blur_xx; | 28 box_blur_xx = sk_neon::box_blur_xx; |
31 box_blur_xy = sk_neon::box_blur_xy; | 29 box_blur_xy = sk_neon::box_blur_xy; |
32 box_blur_yx = sk_neon::box_blur_yx; | 30 box_blur_yx = sk_neon::box_blur_yx; |
33 | 31 |
34 dilate_x = sk_neon::dilate_x; | 32 dilate_x = sk_neon::dilate_x; |
35 dilate_y = sk_neon::dilate_y; | 33 dilate_y = sk_neon::dilate_y; |
(...skipping 11 matching lines...) Expand all Loading... |
47 | 45 |
48 matrix_translate = sk_neon::matrix_translate; | 46 matrix_translate = sk_neon::matrix_translate; |
49 matrix_scale_translate = sk_neon::matrix_scale_translate; | 47 matrix_scale_translate = sk_neon::matrix_scale_translate; |
50 matrix_affine = sk_neon::matrix_affine; | 48 matrix_affine = sk_neon::matrix_affine; |
51 | 49 |
52 RGBA_to_BGRA = sk_neon::RGBA_to_BGRA; | 50 RGBA_to_BGRA = sk_neon::RGBA_to_BGRA; |
53 RGBA_to_rgbA = sk_neon::RGBA_to_rgbA; | 51 RGBA_to_rgbA = sk_neon::RGBA_to_rgbA; |
54 RGBA_to_bgrA = sk_neon::RGBA_to_bgrA; | 52 RGBA_to_bgrA = sk_neon::RGBA_to_bgrA; |
55 } | 53 } |
56 } | 54 } |
OLD | NEW |