Index: src/opts/SkTextureCompression_opts.h |
diff --git a/src/opts/SkTextureCompression_opts.h b/src/opts/SkTextureCompression_opts.h |
index e618280835ea5e53c2e363f7fa8ac8c3b74daef7..07d645f0edbf4cfce683360133758a38e6bfbf1b 100644 |
--- a/src/opts/SkTextureCompression_opts.h |
+++ b/src/opts/SkTextureCompression_opts.h |
@@ -14,4 +14,8 @@ |
SkTextureCompressor::CompressionProc |
SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::Format fmt); |
+// Returns true if dimX and dimY are set to the block size of the supplied |
+// compression format according to how the platform can consume them. Returns false otherwise. |
+bool SkTextureCompressorGetPlatformDims(SkTextureCompressor::Format fmt, int* dimX, int* dimY); |
+ |
#endif // SkTextureCompression_opts_DEFINED |