Chromium Code Reviews| Index: cc/tile_manager.h |
| diff --git a/cc/tile_manager.h b/cc/tile_manager.h |
| index 6e42f75bee75d49f48d65720cabd7eb8a46e4a37..d7c1e48e78349fd8370c67b2ca5d1b36ebae4938 100644 |
| --- a/cc/tile_manager.h |
| +++ b/cc/tile_manager.h |
| @@ -63,6 +63,12 @@ enum TileRasterState { |
| scoped_ptr<base::Value> TileRasterStateAsValue( |
| TileRasterState bin); |
| +// Metadata that is passed to raster tasks for diagnostic purposes. |
| +struct RasterTaskMetadata { |
| + bool is_tile_in_pending_tree_now_bin; |
| + TileResolution tile_resolution; |
| +}; |
| + |
| // This is state that is specific to a tile that is |
| // managed by the TileManager. |
| class CC_EXPORT ManagedTileState { |
| @@ -175,7 +181,8 @@ class CC_EXPORT TileManager { |
| const gfx::Rect& rect, |
| float contents_scale, |
| bool use_cheapness_estimator, |
| - PicturePileImpl* picture_pile, |
| + const RasterTaskMetadata& metadata, |
| + PicturePileImpl* picture_pinle, |
|
reveman
2013/02/13 10:24:39
typo: should be picture_pile not picture_pinle
|
| RenderingStats* stats); |
| static void RunImageDecodeTask(skia::LazyPixelRef* pixel_ref, |
| RenderingStats* stats); |