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

Unified Diff: cc/tile_manager.h

Issue 12088110: HACK: Rasterize tiles immediately if there are only a few of them (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | 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 6137aabec53371ce798052ea87e40dcf5ee32a3f..5ad3dd6b15f266fc307ff4d5a9874d6660ac047e 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -132,11 +132,12 @@ class CC_EXPORT TileManager {
void OnImageDecodeTaskCompleted(
scoped_refptr<Tile> tile, uint32_t pixel_ref_id);
bool CanDispatchRasterTask(Tile* tile);
- void DispatchOneRasterTask(scoped_refptr<Tile> tile);
+ void DispatchOneRasterTask(scoped_refptr<Tile> tile, bool immediate);
void OnRasterTaskCompleted(
scoped_refptr<Tile> tile,
scoped_ptr<ResourcePool::Resource> resource,
- int manage_tiles_call_count_when_dispatched);
+ int manage_tiles_call_count_when_dispatched,
+ bool dispatch_more);
void DidFinishTileInitialization(Tile* tile);
void DidTileRasterStateChange(Tile* tile, TileRasterState state);
void DidTileBinChange(Tile* tile,
« no previous file with comments | « no previous file | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698