Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Unified Diff: src/opts/SkTextureCompression_opts.h

Issue 422023006: Add query for block dimensions of a given format (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Turn off compression Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/opts/SkTextureCompression_opts.h
diff --git a/src/opts/SkTextureCompression_opts.h b/src/opts/SkTextureCompression_opts.h
index e618280835ea5e53c2e363f7fa8ac8c3b74daef7..a84a5bfc1992c7be51e07810d600368f26c3fcc6 100644
--- a/src/opts/SkTextureCompression_opts.h
+++ b/src/opts/SkTextureCompression_opts.h
@@ -14,4 +14,7 @@
SkTextureCompressor::CompressionProc
SkTextureCompressorGetPlatformProc(SkColorType colorType, SkTextureCompressor::Format fmt);
+// Returns true if dimX and dimY are set. Returns false otherwise.
robertphillips 2014/07/29 16:16:04 set _to be the block size of the provided compress
krajcevski 2014/07/29 17:49:51 Done.
+bool SkTextureCompressorGetPlatformDims(SkTextureCompressor::Format fmt, int *dimX, int* dimY);
+
#endif // SkTextureCompression_opts_DEFINED

Powered by Google App Engine
This is Rietveld 408576698