OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 "SkSafe_math.h" // Keep this first. | 8 #include "SkSafe_math.h" // Keep this first. |
9 #include "SkOpts.h" | 9 #include "SkOpts.h" |
10 | 10 |
11 #define SK_OPTS_NS hsw | 11 #define SK_OPTS_NS hsw |
| 12 #include "SkBitmapFilter_opts.h" |
12 #include "SkRasterPipeline_opts.h" | 13 #include "SkRasterPipeline_opts.h" |
13 | 14 |
14 #if defined(_INC_MATH) && !defined(INC_MATH_IS_SAFE_NOW) | 15 #if defined(_INC_MATH) && !defined(INC_MATH_IS_SAFE_NOW) |
15 #error We have included ucrt\math.h without protecting it against ODR violat
ion. | 16 #error We have included ucrt\math.h without protecting it against ODR violat
ion. |
16 #endif | 17 #endif |
17 | 18 |
18 namespace SkOpts { | 19 namespace SkOpts { |
19 void Init_hsw() { | 20 void Init_hsw() { |
20 run_pipeline = hsw::run_pipeline; | 21 run_pipeline = hsw::run_pipeline; |
21 compile_pipeline = hsw::compile_pipeline; | 22 compile_pipeline = hsw::compile_pipeline; |
| 23 convolve_vertically = hsw::convolve_vertically; |
22 } | 24 } |
23 } | 25 } |
24 | 26 |
OLD | NEW |