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_sse41 | 10 #define SK_OPTS_NS sk_sse41 |
11 #include "SkBlurImageFilter_opts.h" | 11 #include "SkBlurImageFilter_opts.h" |
12 #include "SkBlitRow_opts.h" | 12 #include "SkBlitRow_opts.h" |
13 #include "SkBlend_opts.h" | 13 #include "SkBlend_opts.h" |
14 #include "SkColorXform_opts.h" | 14 #include "SkColorXform_opts.h" |
15 | 15 |
16 namespace SkOpts { | 16 namespace SkOpts { |
17 void Init_sse41() { | 17 void Init_sse41() { |
18 box_blur_xx = sk_sse41::box_blur_xx; | 18 box_blur_xx = sk_sse41::box_blur_xx; |
19 box_blur_xy = sk_sse41::box_blur_xy; | 19 box_blur_xy = sk_sse41::box_blur_xy; |
20 box_blur_yx = sk_sse41::box_blur_yx; | 20 box_blur_yx = sk_sse41::box_blur_yx; |
21 srcover_srgb_srgb = sk_sse41::srcover_srgb_srgb; | 21 srcover_srgb_srgb = sk_sse41::srcover_srgb_srgb; |
22 blit_row_s32a_opaque = sk_sse41::blit_row_s32a_opaque; | 22 blit_row_s32a_opaque = sk_sse41::blit_row_s32a_opaque; |
23 | 23 |
24 color_xform_RGB1_srgb_to_2dot2 = sk_sse41::color_xform_RGB1_srgb_to_2do
t2; | 24 color_xform_RGB1_to_2dot2 = sk_sse41::color_xform_RGB1_to_2dot2; |
25 color_xform_RGB1_2dot2_to_2dot2 = sk_sse41::color_xform_RGB1_2dot2_to_2d
ot2; | 25 color_xform_RGB1_to_srgb = sk_sse41::color_xform_RGB1_to_srgb; |
26 color_xform_RGB1_srgb_to_srgb = sk_sse41::color_xform_RGB1_srgb_to_srg
b; | 26 color_xform_RGB1_to_table = sk_sse41::color_xform_RGB1_to_table; |
27 color_xform_RGB1_2dot2_to_srgb = sk_sse41::color_xform_RGB1_2dot2_to_sr
gb; | |
28 } | 27 } |
29 } | 28 } |
OLD | NEW |