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

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

Issue 1872193002: Graduate matrix map-point procs out of SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: missed Created 4 years, 8 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/opts/SkMatrix_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 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"
16 #include "SkMorphologyImageFilter_opts.h" 15 #include "SkMorphologyImageFilter_opts.h"
17 #include "SkSwizzler_opts.h" 16 #include "SkSwizzler_opts.h"
18 #include "SkTextureCompressor_opts.h" 17 #include "SkTextureCompressor_opts.h"
19 #include "SkXfermode_opts.h" 18 #include "SkXfermode_opts.h"
20 19
21 namespace SkOpts { 20 namespace SkOpts {
22 void Init_neon() { 21 void Init_neon() {
23 create_xfermode = sk_neon::create_xfermode; 22 create_xfermode = sk_neon::create_xfermode;
24 23
25 box_blur_xx = sk_neon::box_blur_xx; 24 box_blur_xx = sk_neon::box_blur_xx;
26 box_blur_xy = sk_neon::box_blur_xy; 25 box_blur_xy = sk_neon::box_blur_xy;
27 box_blur_yx = sk_neon::box_blur_yx; 26 box_blur_yx = sk_neon::box_blur_yx;
28 27
29 dilate_x = sk_neon::dilate_x; 28 dilate_x = sk_neon::dilate_x;
30 dilate_y = sk_neon::dilate_y; 29 dilate_y = sk_neon::dilate_y;
31 erode_x = sk_neon::erode_x; 30 erode_x = sk_neon::erode_x;
32 erode_y = sk_neon::erode_y; 31 erode_y = sk_neon::erode_y;
33 32
34 texture_compressor = sk_neon::texture_compressor; 33 texture_compressor = sk_neon::texture_compressor;
35 fill_block_dimensions = sk_neon::fill_block_dimensions; 34 fill_block_dimensions = sk_neon::fill_block_dimensions;
36 35
37 blit_mask_d32_a8 = sk_neon::blit_mask_d32_a8; 36 blit_mask_d32_a8 = sk_neon::blit_mask_d32_a8;
38 37
39 blit_row_color32 = sk_neon::blit_row_color32; 38 blit_row_color32 = sk_neon::blit_row_color32;
40 blit_row_s32a_opaque = sk_neon::blit_row_s32a_opaque; 39 blit_row_s32a_opaque = sk_neon::blit_row_s32a_opaque;
41 40
42 color_cube_filter_span = sk_neon::color_cube_filter_span; 41 color_cube_filter_span = sk_neon::color_cube_filter_span;
43 42
44 matrix_translate = sk_neon::matrix_translate;
45 matrix_scale_translate = sk_neon::matrix_scale_translate;
46 matrix_affine = sk_neon::matrix_affine;
47
48 RGBA_to_BGRA = sk_neon::RGBA_to_BGRA; 43 RGBA_to_BGRA = sk_neon::RGBA_to_BGRA;
49 RGBA_to_rgbA = sk_neon::RGBA_to_rgbA; 44 RGBA_to_rgbA = sk_neon::RGBA_to_rgbA;
50 RGBA_to_bgrA = sk_neon::RGBA_to_bgrA; 45 RGBA_to_bgrA = sk_neon::RGBA_to_bgrA;
51 RGB_to_RGB1 = sk_neon::RGB_to_RGB1; 46 RGB_to_RGB1 = sk_neon::RGB_to_RGB1;
52 RGB_to_BGR1 = sk_neon::RGB_to_BGR1; 47 RGB_to_BGR1 = sk_neon::RGB_to_BGR1;
53 gray_to_RGB1 = sk_neon::gray_to_RGB1; 48 gray_to_RGB1 = sk_neon::gray_to_RGB1;
54 grayA_to_RGBA = sk_neon::grayA_to_RGBA; 49 grayA_to_RGBA = sk_neon::grayA_to_RGBA;
55 grayA_to_rgbA = sk_neon::grayA_to_rgbA; 50 grayA_to_rgbA = sk_neon::grayA_to_rgbA;
56 inverted_CMYK_to_RGB1 = sk_neon::inverted_CMYK_to_RGB1; 51 inverted_CMYK_to_RGB1 = sk_neon::inverted_CMYK_to_RGB1;
57 inverted_CMYK_to_BGR1 = sk_neon::inverted_CMYK_to_BGR1; 52 inverted_CMYK_to_BGR1 = sk_neon::inverted_CMYK_to_BGR1;
58 } 53 }
59 } 54 }
OLDNEW
« no previous file with comments | « src/opts/SkMatrix_opts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698