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

Unified Diff: cc/tile_manager.h

Issue 12096112: [cc] Trace detailed tile info when --trace-all-rendered-frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 6137aabec53371ce798052ea87e40dcf5ee32a3f..89ea882c3efb4f7468e8b745962a2391c48cd2aa 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -49,6 +49,8 @@ enum TileManagerBinPriority {
LOW_PRIORITY_BIN = 1,
NUM_BIN_PRIORITIES = 2
};
+scoped_ptr<base::Value> TileManagerBinPriorityAsValue(
+ TileManagerBinPriority bin);
enum TileRasterState {
IDLE_STATE = 0,
@@ -57,6 +59,8 @@ enum TileRasterState {
SET_PIXELS_STATE = 3,
NUM_STATES = 4
};
+scoped_ptr<base::Value> TileRasterStateAsValue(
+ TileRasterState bin);
// This is state that is specific to a tile that is
// managed by the TileManager.
@@ -64,6 +68,7 @@ class CC_EXPORT ManagedTileState {
public:
ManagedTileState();
~ManagedTileState();
+ scoped_ptr<base::Value> AsValue() const;
// Persisted state: valid all the time.
bool can_use_gpu_memory;
@@ -105,6 +110,7 @@ class CC_EXPORT TileManager {
void CheckForCompletedTileUploads();
scoped_ptr<base::Value> AsValue() const;
+ scoped_ptr<base::Value> AllTilesAsValue() const;
void GetMemoryStats(size_t* memoryRequiredBytes,
size_t* memoryNiceToHaveBytes,
size_t* memoryUsedBytes) const;

Powered by Google App Engine
This is Rietveld 408576698