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

Unified Diff: cc/tile_manager.h

Issue 11434033: Track the cost of impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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
Index: cc/tile_manager.h
===================================================================
--- cc/tile_manager.h (revision 170195)
+++ cc/tile_manager.h (working copy)
@@ -20,6 +20,7 @@
class Tile;
class TileVersion;
+class RenderingStats;
class ResourceProvider;
class CC_EXPORT TileManagerClient {
@@ -74,6 +75,8 @@
void ManageTiles();
+ void renderingStats(RenderingStats* stats);
+
protected:
// Methods called by Tile
friend class Tile;
@@ -90,7 +93,8 @@
void OnRasterTaskCompleted(
scoped_refptr<Tile>,
ResourceProvider::ResourceId,
- scoped_refptr<PicturePileImpl>);
+ scoped_refptr<PicturePileImpl>,
+ RenderingStats*);
void DidFinishTileInitialization(Tile*, ResourceProvider::ResourceId);
TileManagerClient* client_;
@@ -104,6 +108,8 @@
typedef std::vector<Tile*> TileVector;
TileVector tiles_;
TileVector tiles_that_need_to_be_rasterized_;
+
+ RenderingStats rendering_stats_;
};
} // namespace cc
« no previous file with comments | « cc/picture_pile_impl.cc ('k') | cc/tile_manager.cc » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698