OLD | NEW |
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 Loading... |
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 |
OLD | NEW |