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

Unified Diff: cc/UnthrottledTextureUploader.h

Issue 10916292: Adaptively throttle texture uploads (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments in PS2, except constant partials 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
« cc/ThrottledTextureUploader.h ('K') | « cc/ThrottledTextureUploader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/UnthrottledTextureUploader.h
diff --git a/cc/UnthrottledTextureUploader.h b/cc/UnthrottledTextureUploader.h
index 36a6cb4f808f0788da479e4e41b4cf48ff06ad7c..1e2b08dc972ee80995bfa99e66f61a535dace984 100644
--- a/cc/UnthrottledTextureUploader.h
+++ b/cc/UnthrottledTextureUploader.h
@@ -20,6 +20,7 @@ public:
virtual ~UnthrottledTextureUploader() { }
virtual bool isBusy() OVERRIDE { return false; }
+ virtual double estimatedPixelsPerSecond() { return std::numeric_limits<double>::max(); }
virtual void beginUploads() OVERRIDE { }
virtual void endUploads() OVERRIDE { }
virtual void uploadTexture(CCResourceProvider* resourceProvider, Parameters upload) OVERRIDE { upload.texture->updateRect(resourceProvider, upload.sourceRect, upload.destOffset); }
« cc/ThrottledTextureUploader.h ('K') | « cc/ThrottledTextureUploader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698