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

Unified Diff: cc/TextureUploader.h

Issue 10916292: Adaptively throttle texture uploads (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix platform specific compile errors. Created 8 years, 3 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/CCTextureUpdateControllerTest.cpp ('k') | cc/ThrottledTextureUploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/TextureUploader.h
diff --git a/cc/TextureUploader.h b/cc/TextureUploader.h
index abb6089edf5ee78e1c8fbf1191e87eb282e01c70..d7cd55d0284b9c622bf2fc4bb5eff48ea8b956a3 100644
--- a/cc/TextureUploader.h
+++ b/cc/TextureUploader.h
@@ -20,6 +20,9 @@ public:
virtual ~TextureUploader() { }
virtual bool isBusy() = 0;
+
+ // Returns our throughput on the GPU process
+ virtual double estimatedTexturesPerSecond() = 0;
virtual void beginUploads() = 0;
virtual void endUploads() = 0;
virtual void uploadTexture(CCResourceProvider*, Parameters) = 0;
« no previous file with comments | « cc/CCTextureUpdateControllerTest.cpp ('k') | cc/ThrottledTextureUploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698