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

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

Issue 1273103002: Port SkTextureCompression opts to SkOpts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update include_dirs Created 5 years, 4 months 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/core/SkOpts.cpp ('k') | src/opts/SkTextureCompression_opts.h » ('j') | 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 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 9
10 #define SK_OPTS_NS neon 10 #define SK_OPTS_NS neon
11 #include "SkBlurImageFilter_opts.h" 11 #include "SkBlurImageFilter_opts.h"
12 #include "SkFloatingPoint_opts.h" 12 #include "SkFloatingPoint_opts.h"
13 #include "SkMorphologyImageFilter_opts.h" 13 #include "SkMorphologyImageFilter_opts.h"
14 #include "SkTextureCompressor_opts.h"
14 #include "SkUtils_opts.h" 15 #include "SkUtils_opts.h"
15 #include "SkXfermode_opts.h" 16 #include "SkXfermode_opts.h"
16 17
17 namespace SkOpts { 18 namespace SkOpts {
18 void Init_neon() { 19 void Init_neon() {
19 rsqrt = neon::rsqrt; 20 rsqrt = neon::rsqrt;
20 memset16 = neon::memset16; 21 memset16 = neon::memset16;
21 memset32 = neon::memset32; 22 memset32 = neon::memset32;
22 create_xfermode = SkCreate4pxXfermode; 23 create_xfermode = SkCreate4pxXfermode;
23 24
24 box_blur_xx = neon::box_blur_xx; 25 box_blur_xx = neon::box_blur_xx;
25 box_blur_xy = neon::box_blur_xy; 26 box_blur_xy = neon::box_blur_xy;
26 box_blur_yx = neon::box_blur_yx; 27 box_blur_yx = neon::box_blur_yx;
27 28
28 dilate_x = neon::dilate_x; 29 dilate_x = neon::dilate_x;
29 dilate_y = neon::dilate_y; 30 dilate_y = neon::dilate_y;
30 erode_x = neon::erode_x; 31 erode_x = neon::erode_x;
31 erode_y = neon::erode_y; 32 erode_y = neon::erode_y;
33
34 texture_compressor = neon::texture_compressor;
35 fill_block_dimensions = neon::fill_block_dimensions;
32 } 36 }
33 } 37 }
OLDNEW
« no previous file with comments | « src/core/SkOpts.cpp ('k') | src/opts/SkTextureCompression_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698