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 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const int * [2], | 54 const int * [2], |
55 const SkScalar * [2], | 55 const SkScalar * [2], |
56 int, | 56 int, |
57 const SkColor*); | 57 const SkColor*); |
58 | 58 |
59 extern SkMatrix::MapPtsProc matrix_translate, matrix_scale_translate, matrix
_affine; | 59 extern SkMatrix::MapPtsProc matrix_translate, matrix_scale_translate, matrix
_affine; |
60 | 60 |
61 typedef void (*Swizzle_8888_8888)(uint32_t[], const uint32_t[], int); | 61 typedef void (*Swizzle_8888_8888)(uint32_t[], const uint32_t[], int); |
62 extern Swizzle_8888_8888 premul_xxxa, // BGRA -> bgrA or RGBA -> rgbA | 62 extern Swizzle_8888_8888 premul_xxxa, // BGRA -> bgrA or RGBA -> rgbA |
63 swaprb_xxxa, // BGRA -> RGBA or RGBA -> BGRA | 63 swaprb_xxxa, // BGRA -> RGBA or RGBA -> BGRA |
64 premul_swaprb_xxxa; // BGRA -> rgbA or RGBA -> bgrA | 64 premul_swaprb_xxxa, // BGRA -> rgbA or RGBA -> bgrA |
| 65 xxx_xxxa, // BGR -> RGBA or RGB -> RGBA |
| 66 xxx_swaprb_xxxa; // BGR -> RGBA or RGB -> BGRA |
65 } | 67 } |
66 | 68 |
67 #endif//SkOpts_DEFINED | 69 #endif//SkOpts_DEFINED |
OLD | NEW |