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

Unified Diff: cc/resources/resource_format.h

Issue 1713503002: Reland Allow one-copy and zero-copy task tile worker pools to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/resource_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_format.h
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h
index 9a900d410de4da12e44eae95fe10d738f8021a2a..5266f31fe72197fdebce541d1eb2659729d6153a 100644
--- a/cc/resources/resource_format.h
+++ b/cc/resources/resource_format.h
@@ -39,6 +39,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_
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/resource_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698