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

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

Issue 2130013002: Make all color xforms 'fast' (step 1) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Need to round to pass tests Created 4 years, 5 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/SkColorXform_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_sse41 10 #define SK_OPTS_NS sk_sse41
11 #include "SkBlurImageFilter_opts.h" 11 #include "SkBlurImageFilter_opts.h"
12 #include "SkBlitRow_opts.h" 12 #include "SkBlitRow_opts.h"
13 #include "SkBlend_opts.h" 13 #include "SkBlend_opts.h"
14 #include "SkColorXform_opts.h" 14 #include "SkColorXform_opts.h"
15 15
16 namespace SkOpts { 16 namespace SkOpts {
17 void Init_sse41() { 17 void Init_sse41() {
18 box_blur_xx = sk_sse41::box_blur_xx; 18 box_blur_xx = sk_sse41::box_blur_xx;
19 box_blur_xy = sk_sse41::box_blur_xy; 19 box_blur_xy = sk_sse41::box_blur_xy;
20 box_blur_yx = sk_sse41::box_blur_yx; 20 box_blur_yx = sk_sse41::box_blur_yx;
21 srcover_srgb_srgb = sk_sse41::srcover_srgb_srgb; 21 srcover_srgb_srgb = sk_sse41::srcover_srgb_srgb;
22 blit_row_s32a_opaque = sk_sse41::blit_row_s32a_opaque; 22 blit_row_s32a_opaque = sk_sse41::blit_row_s32a_opaque;
23 23
24 color_xform_RGB1_srgb_to_2dot2 = sk_sse41::color_xform_RGB1_srgb_to_2do t2; 24 color_xform_RGB1_to_2dot2 = sk_sse41::color_xform_RGB1_to_2dot2;
25 color_xform_RGB1_2dot2_to_2dot2 = sk_sse41::color_xform_RGB1_2dot2_to_2d ot2; 25 color_xform_RGB1_to_srgb = sk_sse41::color_xform_RGB1_to_srgb;
26 color_xform_RGB1_srgb_to_srgb = sk_sse41::color_xform_RGB1_srgb_to_srg b; 26 color_xform_RGB1_to_table = sk_sse41::color_xform_RGB1_to_table;
27 color_xform_RGB1_2dot2_to_srgb = sk_sse41::color_xform_RGB1_2dot2_to_sr gb;
28 } 27 }
29 } 28 }
OLDNEW
« no previous file with comments | « src/opts/SkColorXform_opts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698