mtklein | 8317a18 | 2015-07-30 07:30:16 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #include "SkOpts.h" |
Mike Klein | 8caa5af | 2015-08-04 16:48:43 -0400 | [diff] [blame] | 9 | |
mtklein | b2a3270 | 2015-08-18 10:00:29 -0700 | [diff] [blame] | 10 | #define SK_OPTS_NS sk_sse41 |
mtklein | dce5ce4 | 2015-08-04 08:49:21 -0700 | [diff] [blame] | 11 | #include "SkBlurImageFilter_opts.h" |
mtklein | b4a7dc9 | 2016-03-23 06:29:12 -0700 | [diff] [blame] | 12 | #include "SkBlitRow_opts.h" |
herb | cc49e59 | 2016-05-17 09:57:34 -0700 | [diff] [blame] | 13 | #include "SkBlend_opts.h" |
mtklein | 8317a18 | 2015-07-30 07:30:16 -0700 | [diff] [blame] | 14 | |
| 15 | namespace SkOpts { |
| 16 | void Init_sse41() { |
mtklein | 6e47209 | 2016-06-13 10:48:06 -0700 | [diff] [blame^] | 17 | box_blur_xx = sk_sse41::box_blur_xx; |
| 18 | box_blur_xy = sk_sse41::box_blur_xy; |
| 19 | box_blur_yx = sk_sse41::box_blur_yx; |
| 20 | srcover_srgb_srgb = sk_sse41::srcover_srgb_srgb; |
mtklein | b4a7dc9 | 2016-03-23 06:29:12 -0700 | [diff] [blame] | 21 | blit_row_s32a_opaque = sk_sse41::blit_row_s32a_opaque; |
mtklein | 8317a18 | 2015-07-30 07:30:16 -0700 | [diff] [blame] | 22 | } |
| 23 | } |