Chromium Code Reviews| Index: src/core/SkOpts.h |
| diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h |
| index dad16b93d528c1d616fed8b4832aef76291008ab..7f5cd16c65df1f39d20a764474028d105cafc3f7 100644 |
| --- a/src/core/SkOpts.h |
| +++ b/src/core/SkOpts.h |
| @@ -8,6 +8,7 @@ |
| #ifndef SkOpts_DEFINED |
| #define SkOpts_DEFINED |
| +#include "../utils/SkTextureCompressor.h" |
|
djsollen
2015/08/06 14:59:42
utils is already in the include path in core.gyp s
mtklein_C
2015/08/06 15:08:34
Done. Note the changes to opts.gyp. This is safe
|
| #include "SkTypes.h" |
| #include "SkXfermode.h" |
| @@ -36,6 +37,12 @@ namespace SkOpts { |
| typedef void (*Morph)(const SkPMColor*, SkPMColor*, int, int, int, int, int); |
| extern Morph dilate_x, dilate_y, erode_x, erode_y; |
| + |
| + typedef bool (*TextureCompressor)(uint8_t* dst, const uint8_t* src, |
| + int width, int height, size_t rowBytes); |
| + extern TextureCompressor (*texture_compressor)(SkColorType, SkTextureCompressor::Format); |
| + extern bool (*fill_block_dimensions)(SkTextureCompressor::Format, int* x, int* y); |
| + |
| } |
| #endif//SkOpts_DEFINED |