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

Unified Diff: cc/TextureUploader.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/CCTextureUpdateController.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 6e6e3465892198f081da42f7d12e7708587adb03..7918627c5fff929d7faf76e182817bebb9a8d4f9 100644
--- a/cc/TextureUploader.h
+++ b/cc/TextureUploader.h
@@ -19,7 +19,8 @@ public:
virtual ~TextureUploader() { }
- virtual size_t numPendingUploads() = 0;
+ virtual size_t numBlockingUploads() = 0;
+ virtual void markPendingUploadsAsNonBlocking() = 0;
// Returns our throughput on the GPU process
virtual double estimatedTexturesPerSecond() = 0;
« no previous file with comments | « cc/CCTextureUpdateController.cpp ('k') | cc/ThrottledTextureUploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698