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 25 matching lines...) Expand all Loading... |
36 extern BoxBlur box_blur_xx, box_blur_xy, box_blur_yx; | 36 extern BoxBlur box_blur_xx, box_blur_xy, box_blur_yx; |
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 } | 47 } |
47 | 48 |
48 #endif//SkOpts_DEFINED | 49 #endif//SkOpts_DEFINED |
OLD | NEW |