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

Unified Diff: cc/tile_manager.h

Issue 12321053: cc: Complete pending tile uploads if they are needed for tree activation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased after managed_tile_state refactoring. Created 7 years, 9 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/resource_provider_unittest.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 9f40724633cc6c423a6a035f00211aa99919bace..4e2ab79506c0f16339512cd94c80623ed2084abf 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -61,7 +61,8 @@ enum TileRasterState {
WAITING_FOR_RASTER_STATE = 1,
RASTER_STATE = 2,
UPLOAD_STATE = 3,
- NUM_STATES = 4
+ FORCED_UPLOAD_COMPLETION_STATE = 4,
+ NUM_STATES = 5
};
scoped_ptr<base::Value> TileRasterStateAsValue(
TileRasterState bin);
@@ -88,6 +89,7 @@ class CC_EXPORT TileManager : public WorkerPoolClient {
void ManageTiles();
void CheckForCompletedTileUploads();
void AbortPendingTileUploads();
+ void ForceTileUploadToComplete(Tile* tile);
void DidCompleteFrame();
scoped_ptr<base::Value> BasicStateAsValue() const;
« no previous file with comments | « cc/resource_provider_unittest.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698