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

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: Rebase. Estimate in textures not pixels. 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/CCTextureUpdateController.cpp ('K') | « 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..20acc9536cd5c8ba9c3e9396d61c3729c3e2c828 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 { std::numeric_limits<double>::max(); }
virtual void beginUploads() OVERRIDE { }
virtual void endUploads() OVERRIDE { }
virtual void uploadTexture(cc::CCResourceProvider*, Parameters upload) OVERRIDE;
« cc/CCTextureUpdateController.cpp ('K') | « cc/UnthrottledTextureUploader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698