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

Unified Diff: cc/resources/resource_format.h

Issue 1379783002: Allow one-copy task tile worker pool to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove needs_conversion, fix tile size unit test and move modulo 4 DCHECK (for tests) Created 5 years 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: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index 79b815fcd297c73c1b922c98b608c2397c0be87e..e1a5fea240c7929c93e5bf47a883a23c1ad60148 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -38,6 +38,9 @@ CC_EXPORT GLenum GLDataFormat(ResourceFormat format);
CC_EXPORT GLenum GLInternalFormat(ResourceFormat format);
CC_EXPORT gfx::BufferFormat BufferFormat(ResourceFormat format);
+bool IsResourceFormatCompressed(ResourceFormat format);
+bool DoesResourceFormatSupportAlpha(ResourceFormat format);
+
} // namespace cc
#endif // CC_RESOURCES_RESOURCE_FORMAT_H_

Powered by Google App Engine
This is Rietveld 408576698