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

Unified Diff: cc/tile.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.h
diff --git a/cc/tile.h b/cc/tile.h
index fb0c3f3ca9b7c89c9ea99a305dbb54fa4db4014a..ba0614c2ea5efbac1742d1bfeebf4adcc1a8fe18 100644
--- a/cc/tile.h
+++ b/cc/tile.h
@@ -44,6 +44,8 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
void set_priority(WhichTree tree, const TilePriority& priority);
+ scoped_ptr<base::Value> AsValue() const;
+
// Returns 0 if not drawable.
ResourceProvider::ResourceId GetResourceId() const;
@@ -80,6 +82,9 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
float contents_scale_;
gfx::Rect opaque_rect_;
+#ifndef NDEBUG
whunt 2013/02/01 21:09:33 question: does the style guide say anything about
+ gfx::RectF current_screen_rect_[2];
whunt 2013/02/01 21:09:33 I don't see this value used anywhere in your tile.
+#endif
TilePriority priority_[2];
ManagedTileState managed_state_;
};

Powered by Google App Engine
This is Rietveld 408576698