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

Unified Diff: cc/layer_tree_host_impl.h

Issue 12149004: [cc] Show GPU memory usage and overage below FPS counter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works 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/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 12cecc26e38c01019e834d1f035c248651ac91d9..53927f03c397b2d1d8b8c2d41fd91a620cddc291 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -34,6 +34,7 @@ class LayerTreeHostImplTimeSourceAdapter;
class LayerTreeImpl;
class PageScaleAnimation;
class PaintTimeCounter;
+class MemoryHistory;
class RenderPassDrawQuad;
class ResourceProvider;
class TopControlsManager;
@@ -205,6 +206,7 @@ public:
FrameRateCounter* fpsCounter() const { return m_fpsCounter.get(); }
PaintTimeCounter* paintTimeCounter() const { return m_paintTimeCounter.get(); }
+ MemoryHistory* memoryHistory() const { return m_memoryHistory.get(); }
DebugRectHistory* debugRectHistory() const { return m_debugRectHistory.get(); }
ResourceProvider* resourceProvider() const { return m_resourceProvider.get(); }
TopControlsManager* topControlsManager() const { return m_topControlsManager.get(); }
@@ -343,6 +345,7 @@ private:
scoped_ptr<FrameRateCounter> m_fpsCounter;
scoped_ptr<PaintTimeCounter> m_paintTimeCounter;
+ scoped_ptr<MemoryHistory> m_memoryHistory;
scoped_ptr<DebugRectHistory> m_debugRectHistory;
int64 m_numImplThreadScrolls;

Powered by Google App Engine
This is Rietveld 408576698