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

Unified Diff: cc/resources/resource_provider.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_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 5a03cda2644f8418337bc8298e3d04c663fb8007..e7bf671314e9bed4cd35e359ce0cc7c7a3bf30fb 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -106,6 +106,8 @@ class CC_EXPORT ResourceProvider
}
size_t num_resources() const { return resources_.size(); }
+ bool IsResourceFormatSupported(ResourceFormat format) const;
+
// Checks whether a resource is in use by a consumer.
bool InUseByConsumer(ResourceId id);

Powered by Google App Engine
This is Rietveld 408576698