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

Unified Diff: cc/resources/resource_provider.h

Issue 12665005: cc: Use highp precision for texture coords if available and needed (Closed) Base URL: http://git.chromium.org/chromium/src.git@highp2
Patch Set: rebase after all dependencies landed Created 7 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
« no previous file with comments | « cc/resources/prioritized_resource_unittest.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 e5001a0d763e1f7a90d3bb9148119dfcf5713e3f..56daa3e534f5eb37fc009e88a91a9b3d061ef903 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -55,7 +55,8 @@ class CC_EXPORT ResourceProvider {
Bitmap,
};
- static scoped_ptr<ResourceProvider> Create(OutputSurface* output_surface);
+ static scoped_ptr<ResourceProvider> Create(OutputSurface* output_surface,
+ int highp_threshold_min);
virtual ~ResourceProvider();
@@ -356,7 +357,7 @@ class CC_EXPORT ResourceProvider {
}
explicit ResourceProvider(OutputSurface* output_surface);
- bool Initialize();
+ bool Initialize(int highp_threshold_min);
const Resource* LockForRead(ResourceId id);
void UnlockForRead(ResourceId id);
« no previous file with comments | « cc/resources/prioritized_resource_unittest.cc ('k') | cc/resources/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698