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

Unified Diff: cc/output/gl_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/gl_renderer.h ('k') | cc/output/renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.cc
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc
index 80e866df07d723c3ba779737acccac9577f6b93e..68bc2914082193133a48578f1ca1c9397fb769c8 100644
--- a/cc/output/gl_renderer.cc
+++ b/cc/output/gl_renderer.cc
@@ -387,17 +387,6 @@ void GLRenderer::DidChangeVisibility() {
context_support_->SetSurfaceVisible(visible());
}
-void GLRenderer::SendManagedMemoryStats(size_t bytes_visible,
- size_t bytes_visible_and_nearby,
- size_t bytes_allocated) {
- 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 = !is_backbuffer_discarded_;
- context_support_->SendManagedMemoryStats(stats);
-}
-
void GLRenderer::ReleaseRenderPassTextures() { render_pass_textures_.clear(); }
void GLRenderer::DiscardPixels(bool has_external_stencil_test,
« no previous file with comments | « cc/output/gl_renderer.h ('k') | cc/output/renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698