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 #define SK_OPTS_NS ssse3 | 9 #define SK_OPTS_NS sk_ssse3 |
10 #include "SkBlitMask_opts.h" | 10 #include "SkBlitMask_opts.h" |
11 #include "SkColorCubeFilter_opts.h" | 11 #include "SkColorCubeFilter_opts.h" |
12 #include "SkXfermode_opts.h" | 12 #include "SkXfermode_opts.h" |
13 | 13 |
14 namespace SkOpts { | 14 namespace SkOpts { |
15 void Init_ssse3() { | 15 void Init_ssse3() { |
16 create_xfermode = SkCreate4pxXfermode; | 16 create_xfermode = SkCreate4pxXfermode; |
17 blit_mask_d32_a8 = ssse3::blit_mask_d32_a8; | 17 blit_mask_d32_a8 = sk_ssse3::blit_mask_d32_a8; |
18 color_cube_filter_span = ssse3::color_cube_filter_span; | 18 color_cube_filter_span = sk_ssse3::color_cube_filter_span; |
19 } | 19 } |
20 } | 20 } |
OLD | NEW |