Index: src/utils/SkTextureCompressor_LATC.h |
diff --git a/src/utils/SkTextureCompressor_LATC.h b/src/utils/SkTextureCompressor_LATC.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3446b546dca3cb40d06619c5d6639f443cf5621 |
--- /dev/null |
+++ b/src/utils/SkTextureCompressor_LATC.h |
@@ -0,0 +1,21 @@ |
+/* |
+ * Copyright 2014 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#ifndef SkTextureCompressor_LATC_DEFINED |
+#define SkTextureCompressor_LATC_DEFINED |
+ |
+#include "SkBlitter.h" |
+ |
+namespace SkTextureCompressor { |
+ |
+ bool CompressA8ToLATC(uint8_t* dst, const uint8_t* src, |
+ int width, int height, int rowBytes); |
+ |
+ SkBlitter* CreateLATCBlitter(int width, int height, void* outputBuffer); |
+} |
+ |
+#endif // SkTextureCompressor_LATC_DEFINED |