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 26 matching lines...) Expand all Loading... |
37 | 37 |
38 typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int)
; | 38 typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int)
; |
39 extern Morph dilate_x, dilate_y, erode_x, erode_y; | 39 extern Morph dilate_x, dilate_y, erode_x, erode_y; |
40 | 40 |
41 typedef bool (*TextureCompressor)(uint8_t* dst, const uint8_t* src, | 41 typedef bool (*TextureCompressor)(uint8_t* dst, const uint8_t* src, |
42 int width, int height, size_t rowBytes); | 42 int width, int height, size_t rowBytes); |
43 extern TextureCompressor (*texture_compressor)(SkColorType, SkTextureCompres
sor::Format); | 43 extern TextureCompressor (*texture_compressor)(SkColorType, SkTextureCompres
sor::Format); |
44 extern bool (*fill_block_dimensions)(SkTextureCompressor::Format, int* x, in
t* y); | 44 extern bool (*fill_block_dimensions)(SkTextureCompressor::Format, int* x, in
t* y); |
45 | 45 |
46 extern void (*blit_mask_d32_a8)(SkPMColor*, size_t, const SkAlpha*, size_t,
SkColor, int, int); | 46 extern void (*blit_mask_d32_a8)(SkPMColor*, size_t, const SkAlpha*, size_t,
SkColor, int, int); |
| 47 extern void (*blit_row_color32)(SkPMColor*, const SkPMColor*, int, SkPMColor
); |
47 | 48 |
48 // This function is an optimized version of SkColorCubeFilter::filterSpan | 49 // This function is an optimized version of SkColorCubeFilter::filterSpan |
49 extern void (*color_cube_filter_span)(const SkPMColor[], | 50 extern void (*color_cube_filter_span)(const SkPMColor[], |
50 int, | 51 int, |
51 SkPMColor[], | 52 SkPMColor[], |
52 const int * [2], | 53 const int * [2], |
53 const SkScalar * [2], | 54 const SkScalar * [2], |
54 int, | 55 int, |
55 const SkColor*); | 56 const SkColor*); |
56 } | 57 } |
57 | 58 |
58 #endif//SkOpts_DEFINED | 59 #endif//SkOpts_DEFINED |
OLD | NEW |