| 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 sse41 | 10 #define SK_OPTS_NS 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 = sse41::box_blur_xx; | 18 box_blur_xx = sse41::box_blur_xx; |
| 19 box_blur_xy = sse41::box_blur_xy; | 19 box_blur_xy = sse41::box_blur_xy; |
| 20 box_blur_yx = sse41::box_blur_yx; | 20 box_blur_yx = sse41::box_blur_yx; |
| 21 srcover_srgb_srgb = sse41::srcover_srgb_srgb; | 21 srcover_srgb_srgb = sse41::srcover_srgb_srgb; |
| 22 blit_row_s32a_opaque = sse41::blit_row_s32a_opaque; | 22 blit_row_s32a_opaque = sse41::blit_row_s32a_opaque; |
| 23 | 23 |
| 24 color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; | 24 color_xform_RGB1_to_2dot2 = sse41::color_xform_RGB1_to_2dot2; |
| 25 color_xform_RGB1_to_srgb = sse41::color_xform_RGB1_to_srgb; | 25 color_xform_RGB1_to_srgb = sse41::color_xform_RGB1_to_srgb; |
| 26 color_xform_RGB1_to_table = sse41::color_xform_RGB1_to_table; | 26 color_xform_RGB1_to_table = sse41::color_xform_RGB1_to_table; |
| 27 color_xform_RGB1_to_linear = sse41::color_xform_RGB1_to_linear; |
| 27 } | 28 } |
| 28 } | 29 } |
| OLD | NEW |