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

Side by Side Diff: cc/resources/managed_tile_state.h

Issue 26031002: cc: Remove unused metrics from RenderingStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed raster_worker_pool_perftest.cc Created 7 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_RESOURCES_MANAGED_TILE_STATE_H_ 5 #ifndef CC_RESOURCES_MANAGED_TILE_STATE_H_
6 #define CC_RESOURCES_MANAGED_TILE_STATE_H_ 6 #define CC_RESOURCES_MANAGED_TILE_STATE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/resources/platform_color.h" 9 #include "cc/resources/platform_color.h"
10 #include "cc/resources/raster_worker_pool.h" 10 #include "cc/resources/raster_worker_pool.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 ManagedTileState(); 118 ManagedTileState();
119 ~ManagedTileState(); 119 ~ManagedTileState();
120 120
121 scoped_ptr<base::Value> AsValue() const; 121 scoped_ptr<base::Value> AsValue() const;
122 122
123 // Persisted state: valid all the time. 123 // Persisted state: valid all the time.
124 TileVersion tile_versions[NUM_RASTER_MODES]; 124 TileVersion tile_versions[NUM_RASTER_MODES];
125 RasterMode raster_mode; 125 RasterMode raster_mode;
126 126
127 ManagedTileBin bin; 127 ManagedTileBin bin;
128 ManagedTileBin tree_bin[NUM_TREES];
129 128
130 TileResolution resolution; 129 TileResolution resolution;
131 bool required_for_activation; 130 bool required_for_activation;
132 float time_to_needed_in_seconds; 131 float time_to_needed_in_seconds;
133 float distance_to_visible_in_pixels; 132 float distance_to_visible_in_pixels;
134 bool visible_and_ready_to_draw; 133 bool visible_and_ready_to_draw;
135 134
136 // Priority for this state from the last time we assigned memory. 135 // Priority for this state from the last time we assigned memory.
137 unsigned scheduled_priority; 136 unsigned scheduled_priority;
138 }; 137 };
139 138
140 } // namespace cc 139 } // namespace cc
141 140
142 #endif // CC_RESOURCES_MANAGED_TILE_STATE_H_ 141 #endif // CC_RESOURCES_MANAGED_TILE_STATE_H_
OLDNEW
« no previous file with comments | « cc/resources/bitmap_skpicture_content_layer_updater.cc ('k') | cc/resources/managed_tile_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698