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

Unified Diff: cc/resources/resource_provider.h

Issue 184573002: Use MSAA in GPU rasterization if Skia suggests it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 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 6136015a326bf91d30c0e063d9c4c5101f06639f..1f4abac04053181607352a8dc5df582043637060 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -90,6 +90,8 @@ class CC_EXPORT ResourceProvider {
ResourceFormat best_texture_format() const { return best_texture_format_; }
size_t num_resources() const { return resources_.size(); }
+ unsigned num_gpu_rasterization_samples(ResourceFormat) const;
+
// Checks whether a resource is in use by a consumer.
bool InUseByConsumer(ResourceId id);

Powered by Google App Engine
This is Rietveld 408576698