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" |
mtklein | b2a3270 | 2015-08-18 10:00:29 -0700 | [diff] [blame^] | 9 | #define SK_OPTS_NS sk_ssse3 |
mtklein | 9483763 | 2015-08-18 05:18:52 -0700 | [diff] [blame] | 10 | #include "SkBlitMask_opts.h" |
mtklein | 2d141ba | 2015-08-18 09:43:28 -0700 | [diff] [blame] | 11 | #include "SkColorCubeFilter_opts.h" |
mtklein | 9483763 | 2015-08-18 05:18:52 -0700 | [diff] [blame] | 12 | #include "SkXfermode_opts.h" |
mtklein | 8317a18 | 2015-07-30 07:30:16 -0700 | [diff] [blame] | 13 | |
| 14 | namespace SkOpts { |
| 15 | void Init_ssse3() { |
mtklein | 9483763 | 2015-08-18 05:18:52 -0700 | [diff] [blame] | 16 | create_xfermode = SkCreate4pxXfermode; |
mtklein | b2a3270 | 2015-08-18 10:00:29 -0700 | [diff] [blame^] | 17 | blit_mask_d32_a8 = sk_ssse3::blit_mask_d32_a8; |
| 18 | color_cube_filter_span = sk_ssse3::color_cube_filter_span; |
mtklein | 8317a18 | 2015-07-30 07:30:16 -0700 | [diff] [blame] | 19 | } |
| 20 | } |