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

Unified Diff: cc/test/CCTiledLayerTestCommon.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/UnthrottledTextureUploader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/CCTiledLayerTestCommon.h
diff --git a/cc/test/CCTiledLayerTestCommon.h b/cc/test/CCTiledLayerTestCommon.h
index 7cfa93b5ffcbd225edfe0561cb00f06276971a34..39bbe8138da9d37477f5e106f5ea8b3c9d6f684d 100644
--- a/cc/test/CCTiledLayerTestCommon.h
+++ b/cc/test/CCTiledLayerTestCommon.h
@@ -131,6 +131,7 @@ protected:
class FakeTextureUploader : public cc::TextureUploader {
public:
virtual bool isBusy() OVERRIDE;
+ virtual double estimatedTexturesPerSecond() OVERRIDE { return std::numeric_limits<double>::max(); }
virtual void beginUploads() OVERRIDE { }
virtual void endUploads() OVERRIDE { }
virtual void uploadTexture(cc::CCResourceProvider*, Parameters upload) OVERRIDE;
« no previous file with comments | « cc/UnthrottledTextureUploader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698