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

Unified Diff: cc/gl_renderer.cc

Issue 12284013: Shrink texture uploader when not visible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 7 years, 10 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 | « no previous file | cc/resource_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/gl_renderer.cc
diff --git a/cc/gl_renderer.cc b/cc/gl_renderer.cc
index 42aaf8f6d9ea87a181eb4d04b174a69126aebfbf..71899607559b89533af656aeeb288860d27fbca1 100644
--- a/cc/gl_renderer.cc
+++ b/cc/gl_renderer.cc
@@ -1402,6 +1402,7 @@ void GLRenderer::enforceMemoryPolicy()
releaseRenderPassTextures();
if (m_discardBackbufferWhenNotVisible)
discardBackbuffer();
+ m_resourceProvider->releaseCachedData();
GLC(m_context, m_context->flush());
}
}
« no previous file with comments | « no previous file | cc/resource_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698