Index: cc/tile_manager.h |
diff --git a/cc/tile_manager.h b/cc/tile_manager.h |
index 1e0de2e89ced350643a96c53b08cec69573e42f4..38bf907e16e1f814403d111c29298f4ab1d30b6c 100644 |
--- a/cc/tile_manager.h |
+++ b/cc/tile_manager.h |
@@ -119,6 +119,7 @@ class CC_EXPORT TileManager : public WorkerPoolClient { |
void ManageTiles(); |
void CheckForCompletedTileUploads(); |
void AbortPendingTileUploads(); |
+ void DidCompleteFrame(); |
scoped_ptr<base::Value> BasicStateAsValue() const; |
scoped_ptr<base::Value> AllTilesAsValue() const; |
@@ -166,10 +167,9 @@ class CC_EXPORT TileManager : public WorkerPoolClient { |
void OnImageDecodeTaskCompleted( |
scoped_refptr<Tile> tile, |
uint32_t pixel_ref_id); |
- bool CanDispatchRasterTask(Tile* tile); |
+ bool CanDispatchRasterTask(Tile* tile) const; |
scoped_ptr<ResourcePool::Resource> PrepareTileForRaster(Tile* tile); |
void DispatchOneRasterTask(scoped_refptr<Tile> tile); |
- void PerformOneRaster(Tile* tile); |
void OnRasterCompleted( |
scoped_refptr<Tile> tile, |
scoped_ptr<ResourcePool::Resource> resource, |
@@ -192,7 +192,7 @@ class CC_EXPORT TileManager : public WorkerPoolClient { |
const RasterTaskMetadata& raster_task_metadata, |
PicturePileImpl* picture_pile, |
RenderingStats* stats); |
- static void RunImageDecodeTask(skia::LazyPixelRef* pixel_ref, |
+ static void PerformImageDecode(skia::LazyPixelRef* pixel_ref, |
RenderingStats* stats); |
static void RecordCheapnessPredictorResults(bool is_predicted_cheap, |
@@ -231,6 +231,8 @@ class CC_EXPORT TileManager : public WorkerPoolClient { |
RenderingStats rendering_stats_; |
bool use_cheapness_estimator_; |
+ bool did_schedule_cheap_tasks_; |
+ bool allow_cheap_tasks_; |
int raster_state_count_[NUM_STATES][NUM_TREES][NUM_BINS]; |
DISALLOW_COPY_AND_ASSIGN(TileManager); |