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

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

Issue 1639863002: try plain-old code for sk_memset16/32 now that NEON is compile-time (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: for Created 4 years, 10 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/SkUtils_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 sk_neon 10 #define SK_OPTS_NS sk_neon
11 #include "SkBlitMask_opts.h" 11 #include "SkBlitMask_opts.h"
12 #include "SkBlitRow_opts.h" 12 #include "SkBlitRow_opts.h"
13 #include "SkBlurImageFilter_opts.h" 13 #include "SkBlurImageFilter_opts.h"
14 #include "SkColorCubeFilter_opts.h" 14 #include "SkColorCubeFilter_opts.h"
15 #include "SkMatrix_opts.h" 15 #include "SkMatrix_opts.h"
16 #include "SkMorphologyImageFilter_opts.h" 16 #include "SkMorphologyImageFilter_opts.h"
17 #include "SkSwizzler_opts.h" 17 #include "SkSwizzler_opts.h"
18 #include "SkTextureCompressor_opts.h" 18 #include "SkTextureCompressor_opts.h"
19 #include "SkUtils_opts.h"
20 #include "SkXfermode_opts.h" 19 #include "SkXfermode_opts.h"
21 20
22 namespace SkOpts { 21 namespace SkOpts {
23 void Init_neon() { 22 void Init_neon() {
24 memset16 = sk_neon::memset16;
25 memset32 = sk_neon::memset32;
26 create_xfermode = sk_neon::create_xfermode; 23 create_xfermode = sk_neon::create_xfermode;
27 24
28 box_blur_xx = sk_neon::box_blur_xx; 25 box_blur_xx = sk_neon::box_blur_xx;
29 box_blur_xy = sk_neon::box_blur_xy; 26 box_blur_xy = sk_neon::box_blur_xy;
30 box_blur_yx = sk_neon::box_blur_yx; 27 box_blur_yx = sk_neon::box_blur_yx;
31 28
32 dilate_x = sk_neon::dilate_x; 29 dilate_x = sk_neon::dilate_x;
33 dilate_y = sk_neon::dilate_y; 30 dilate_y = sk_neon::dilate_y;
34 erode_x = sk_neon::erode_x; 31 erode_x = sk_neon::erode_x;
35 erode_y = sk_neon::erode_y; 32 erode_y = sk_neon::erode_y;
(...skipping 16 matching lines...) Expand all
52 RGBA_to_bgrA = sk_neon::RGBA_to_bgrA; 49 RGBA_to_bgrA = sk_neon::RGBA_to_bgrA;
53 RGB_to_RGB1 = sk_neon::RGB_to_RGB1; 50 RGB_to_RGB1 = sk_neon::RGB_to_RGB1;
54 RGB_to_BGR1 = sk_neon::RGB_to_BGR1; 51 RGB_to_BGR1 = sk_neon::RGB_to_BGR1;
55 gray_to_RGB1 = sk_neon::gray_to_RGB1; 52 gray_to_RGB1 = sk_neon::gray_to_RGB1;
56 grayA_to_RGBA = sk_neon::grayA_to_RGBA; 53 grayA_to_RGBA = sk_neon::grayA_to_RGBA;
57 grayA_to_rgbA = sk_neon::grayA_to_rgbA; 54 grayA_to_rgbA = sk_neon::grayA_to_rgbA;
58 inverted_CMYK_to_RGB1 = sk_neon::inverted_CMYK_to_RGB1; 55 inverted_CMYK_to_RGB1 = sk_neon::inverted_CMYK_to_RGB1;
59 inverted_CMYK_to_BGR1 = sk_neon::inverted_CMYK_to_BGR1; 56 inverted_CMYK_to_BGR1 = sk_neon::inverted_CMYK_to_BGR1;
60 } 57 }
61 } 58 }
OLDNEW
« no previous file with comments | « src/core/SkOpts.cpp ('k') | src/opts/SkUtils_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698