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

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: Dont expose to extension yet Created 7 years, 10 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/tile.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 631469d5c6d9a4e1b4305a03f052a3961c4005f9..7b2131574b79f485418493cfca44319ee6b1c85b 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -50,6 +50,8 @@ enum TileManagerBinPriority {
LOW_PRIORITY_BIN = 1,
NUM_BIN_PRIORITIES = 2
};
+scoped_ptr<base::Value> TileManagerBinPriorityAsValue(
+ TileManagerBinPriority bin);
enum TileRasterState {
IDLE_STATE = 0,
@@ -58,6 +60,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.
@@ -65,6 +69,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;
@@ -106,7 +111,8 @@ class CC_EXPORT TileManager {
void ManageTiles();
void CheckForCompletedTileUploads();
- scoped_ptr<base::Value> AsValue() const;
+ scoped_ptr<base::Value> BasicStateAsValue() const;
+ scoped_ptr<base::Value> AllTilesAsValue() const;
void GetMemoryStats(size_t* memoryRequiredBytes,
size_t* memoryNiceToHaveBytes,
size_t* memoryUsedBytes) const;
« no previous file with comments | « cc/tile.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698