diff options
author | 2014-08-07 08:15:14 -0700 | |
---|---|---|
committer | 2014-08-07 08:15:14 -0700 | |
commit | b8ccc2f6d258a8466f79fc418e9e0a55aeaf58ce (patch) | |
tree | 1e859270a248919ef5f5562fe576958384b8abeb /src/utils/SkTextureCompressor_ASTC.h | |
parent | 963137b75c0a1fe91f35e9826742f36309f5e65d (diff) |
Pass compressed blitters to our mask drawing algorithm
R=robertphillips@google.com, reed@google.com
Author: krajcevski@google.com
Review URL: https://codereview.chromium.org/446103002
Diffstat (limited to 'src/utils/SkTextureCompressor_ASTC.h')
-rw-r--r-- | src/utils/SkTextureCompressor_ASTC.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/SkTextureCompressor_ASTC.h b/src/utils/SkTextureCompressor_ASTC.h index 57ba08d440..bdbe6305c6 100644 --- a/src/utils/SkTextureCompressor_ASTC.h +++ b/src/utils/SkTextureCompressor_ASTC.h @@ -8,9 +8,8 @@ #ifndef SkTextureCompressor_ASTC_DEFINED #define SkTextureCompressor_ASTC_DEFINED -#include <stdint.h> +#include "SkBitmapProcShader.h" -// Forward declare class SkBlitter; namespace SkTextureCompressor { @@ -18,7 +17,8 @@ namespace SkTextureCompressor { bool CompressA8To12x12ASTC(uint8_t* dst, const uint8_t* src, int width, int height, int rowBytes); - SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer); + SkBlitter* CreateASTCBlitter(int width, int height, void* outputBuffer, + SkTBlitterAllocator *allocator); void DecompressASTC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height, int blockDimX, int blockDimY); |