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

Unified Diff: cc/layer_tree_impl.cc

Issue 12149004: [cc] Show GPU memory usage and overage below FPS counter (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
« no previous file with comments | « cc/layer_tree_impl.h ('k') | cc/memory_history.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_impl.cc
diff --git a/cc/layer_tree_impl.cc b/cc/layer_tree_impl.cc
index 5f7dea8c576ab7f154d8c9acb38336c0249bf1d1..38a40f315cab2288e0fa14718754aad2427e8ec2 100644
--- a/cc/layer_tree_impl.cc
+++ b/cc/layer_tree_impl.cc
@@ -374,6 +374,10 @@ PaintTimeCounter* LayerTreeImpl::paint_time_counter() const {
return layer_tree_host_impl_->paintTimeCounter();
}
+MemoryHistory* LayerTreeImpl::memory_history() const {
+ return layer_tree_host_impl_->memoryHistory();
+}
+
bool LayerTreeImpl::IsActiveTree() const {
return layer_tree_host_impl_->activeTree() == this;
}
« no previous file with comments | « cc/layer_tree_impl.h ('k') | cc/memory_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698