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

Unified Diff: cc/resources/resource_provider.h

Issue 2775723002: Enable RGBA_4444 in GpuRasterBufferProvider (Closed)
Patch Set: tweaks Created 3 years, 9 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: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index df3c5b85fb6bf1fa476f80761982df271ce19fa2..d51129ae489c4f793485d292aa090430652de992 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -109,7 +109,8 @@ class CC_EXPORT ResourceProvider
}
size_t num_resources() const { return resources_.size(); }
ccameron 2017/03/23 22:20:14 You may want to add a comment saying that RenderBu
ericrk 2017/03/24 01:46:32 Added.
- bool IsResourceFormatSupported(ResourceFormat format) const;
+ bool IsTextureFormatSupported(ResourceFormat format) const;
+ bool IsRenderBufferFormatSupported(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