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

Unified Diff: cc/UnthrottledTextureUploader.h

Issue 11008017: cc: Never block on uploads from previous frame and increase max pending uploads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename numPendingUploads to numBlockingUploads and discardPendingUploads to markPendingUploadsAsNon… Created 8 years, 2 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/ThrottledTextureUploaderTest.cpp ('k') | cc/UnthrottledTextureUploader.cpp » ('j') | 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 293126a76326292c2091376877152fd85397cea3..565a090686e291b74bfe29c0d041ebf5084aec0e 100644
--- a/cc/UnthrottledTextureUploader.h
+++ b/cc/UnthrottledTextureUploader.h
@@ -19,7 +19,8 @@ public:
}
virtual ~UnthrottledTextureUploader() { }
- virtual size_t numPendingUploads() OVERRIDE;
+ virtual size_t numBlockingUploads() OVERRIDE;
+ virtual void markPendingUploadsAsNonBlocking() OVERRIDE;
virtual double estimatedTexturesPerSecond() OVERRIDE;
virtual void beginUploads() OVERRIDE { }
virtual void endUploads() OVERRIDE { }
« no previous file with comments | « cc/ThrottledTextureUploaderTest.cpp ('k') | cc/UnthrottledTextureUploader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698