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

Unified Diff: cc/resources/resource_provider.h

Issue 69343005: Added preliminary support for tile rasterization with Ganesh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (ScopedResource). Created 7 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
« no previous file with comments | « cc/resources/gpu_rasterizer.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 6e5c61a2bfa72a52c06282de8699cc4cd2a1e8e6..03c12a2401f66184d00c6174dc0015a2bc071471 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -250,11 +250,13 @@ class CC_EXPORT ResourceProvider {
~ScopedWriteLockGL();
unsigned texture_id() const { return texture_id_; }
+ ResourceFormat format() const { return format_; }
private:
ResourceProvider* resource_provider_;
ResourceProvider::ResourceId resource_id_;
unsigned texture_id_;
+ ResourceFormat format_;
DISALLOW_COPY_AND_ASSIGN(ScopedWriteLockGL);
};
« no previous file with comments | « cc/resources/gpu_rasterizer.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698