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

Unified Diff: cc/tile_manager.h

Issue 12095053: cc: Avoid expensive RenderingStats collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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 | « cc/texture_layer.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 6137aabec53371ce798052ea87e40dcf5ee32a3f..46d374edd4f3d11c43dd76d4feb2b64b87c70659 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -93,7 +93,8 @@ class CC_EXPORT TileManager {
public:
TileManager(TileManagerClient* client,
ResourceProvider *resource_provider,
- size_t num_raster_threads);
+ size_t num_raster_threads,
+ bool record_rendering_stats);
virtual ~TileManager();
const GlobalStateThatImpactsTilePriority& GlobalState() const {
@@ -177,6 +178,7 @@ class CC_EXPORT TileManager {
size_t bytes_pending_set_pixels_;
bool ever_exceeded_memory_budget_;
+ bool record_rendering_stats_;
RenderingStats rendering_stats_;
int raster_state_count_[NUM_STATES][NUM_TREES][NUM_BINS];
« no previous file with comments | « cc/texture_layer.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698