Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: src/opts/SkOpts_hsw.cpp

Issue 2526733002: Add AVX2 version of ConvolveVertically (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/opts/SkBitmapFilter_opts.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « src/opts/SkBitmapFilter_opts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698