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

Unified Diff: cc/output/delegating_renderer.cc

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/output/delegating_renderer.h ('k') | cc/output/gl_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/delegating_renderer.cc
diff --git a/cc/output/delegating_renderer.cc b/cc/output/delegating_renderer.cc
index 68c29e5bfeec382715732a96c2ce349efc356280..75c3b6364a558bbe58f5f63313fb683a3fcf2002 100644
--- a/cc/output/delegating_renderer.cc
+++ b/cc/output/delegating_renderer.cc
@@ -146,22 +146,4 @@ void DelegatingRenderer::DidChangeVisibility() {
context_provider->ContextSupport()->SetSurfaceVisible(visible());
}
-void DelegatingRenderer::SendManagedMemoryStats(size_t bytes_visible,
- size_t bytes_visible_and_nearby,
- size_t bytes_allocated) {
- ContextProvider* context_provider = output_surface_->context_provider();
- if (!context_provider) {
- // In the software path each child process manages its memory separately,
- // so memory stats don't have to be sent anywhere.
- return;
- }
- gpu::ManagedMemoryStats stats;
- stats.bytes_required = bytes_visible;
- stats.bytes_nice_to_have = bytes_visible_and_nearby;
- stats.bytes_allocated = bytes_allocated;
- stats.backbuffer_requested = false;
-
- context_provider->ContextSupport()->SendManagedMemoryStats(stats);
-}
-
} // namespace cc
« no previous file with comments | « cc/output/delegating_renderer.h ('k') | cc/output/gl_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698