Index: src/utils/SkTextureCompressor.h |
diff --git a/src/utils/SkTextureCompressor.h b/src/utils/SkTextureCompressor.h |
index 5238ba221be035c78d118b78346dee5fc788f0d6..81aa6e29948afc418c6053abeb01352597dab8cb 100644 |
--- a/src/utils/SkTextureCompressor.h |
+++ b/src/utils/SkTextureCompressor.h |
@@ -55,6 +55,12 @@ namespace SkTextureCompressor { |
// RGB source data into an R11 EAC texture, you're gonna have a bad time. |
SkBlitter* CreateBlitterForFormat(int width, int height, void* compressedBuffer, |
Format format); |
+ |
+ // Returns the desired dimensions of the block size for the given format. These dimensions |
+ // don't necessarily correspond to the hardware-specified dimensions, since there may |
+ // be specialized algorithms that operate on multiple blocks at once. These dimensions |
robertphillips
2014/07/29 16:16:04
operable ?
krajcevski
2014/07/29 17:49:51
Done.
|
+ // reflect that optimization and return the appropriate operatable dimensions. |
+ void GetBlockDimensions(Format format, int* dimX, int* dimY); |
} |
#endif |