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

Unified Diff: cc/resources/resource_provider.h

Issue 99553002: cc: Prevent ResourceUpdateContoller from uploading textures after lost context (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | cc/resources/resource_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index 8244ef6d5767606a7d03336615de29a682caaafd..53a3747b1a2b6e6ec1f7fda6bd89f7f52609e1fc 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -138,10 +138,10 @@ class CC_EXPORT ResourceProvider {
// Check upload status.
size_t NumBlockingUploads();
void MarkPendingUploadsAsNonBlocking();
- double EstimatedUploadsPerSecond();
+ size_t EstimatedUploadsPerTick();
void FlushUploads();
void ReleaseCachedData();
- base::TimeDelta TextureUpdateTickRate();
+ base::TimeTicks EstimatedUploadCompletionTime(size_t uploads_per_tick);
// Flush all context operations, kicking uploads and ensuring ordering with
// respect to other contexts.
« no previous file with comments | « no previous file | cc/resources/resource_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698