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

Side by Side Diff: src/core/SkOpts.h

Issue 1320673014: Port SkMatrix opts to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 3 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/SkMatrix.cpp ('k') | src/core/SkOpts.cpp » ('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 #ifndef SkOpts_DEFINED 8 #ifndef SkOpts_DEFINED
9 #define SkOpts_DEFINED 9 #define SkOpts_DEFINED
10 10
11 #include "SkMatrix.h"
11 #include "SkTextureCompressor.h" 12 #include "SkTextureCompressor.h"
12 #include "SkTypes.h" 13 #include "SkTypes.h"
13 #include "SkXfermode.h" 14 #include "SkXfermode.h"
14 15
15 struct ProcCoeff; 16 struct ProcCoeff;
16 17
17 namespace SkOpts { 18 namespace SkOpts {
18 // Call to replace pointers to portable functions with pointers to CPU-speci fic functions. 19 // Call to replace pointers to portable functions with pointers to CPU-speci fic functions.
19 // Thread-safe and idempotent. 20 // Thread-safe and idempotent.
20 // Called by SkGraphics::Init(), and automatically #if SK_ALLOW_STATIC_GLOBA L_INITIALIZERS. 21 // Called by SkGraphics::Init(), and automatically #if SK_ALLOW_STATIC_GLOBA L_INITIALIZERS.
(...skipping 26 matching lines...) Expand all
47 extern void (*blit_row_color32)(SkPMColor*, const SkPMColor*, int, SkPMColor ); 48 extern void (*blit_row_color32)(SkPMColor*, const SkPMColor*, int, SkPMColor );
48 49
49 // This function is an optimized version of SkColorCubeFilter::filterSpan 50 // This function is an optimized version of SkColorCubeFilter::filterSpan
50 extern void (*color_cube_filter_span)(const SkPMColor[], 51 extern void (*color_cube_filter_span)(const SkPMColor[],
51 int, 52 int,
52 SkPMColor[], 53 SkPMColor[],
53 const int * [2], 54 const int * [2],
54 const SkScalar * [2], 55 const SkScalar * [2],
55 int, 56 int,
56 const SkColor*); 57 const SkColor*);
58
59 extern SkMatrix::MapPtsProc matrix_translate, matrix_scale_translate, matrix _affine;
57 } 60 }
58 61
59 #endif//SkOpts_DEFINED 62 #endif//SkOpts_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkMatrix.cpp ('k') | src/core/SkOpts.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698