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

Unified Diff: Source/WebCore/platform/graphics/chromium/TextureManager.cpp

Issue 10690121: Merge 121076 - [chromium] LayerRendererChromium is not getting visibility messages in single thread… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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: Source/WebCore/platform/graphics/chromium/TextureManager.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/TextureManager.cpp (revision 122257)
+++ Source/WebCore/platform/graphics/chromium/TextureManager.cpp (working copy)
@@ -242,6 +242,13 @@
m_evictedTextures.clear();
}
+void TextureManager::evictAndRemoveAllDeletedTextures()
+{
+ unprotectAllTextures();
+ reduceMemoryToLimit(0);
+ m_evictedTextures.clear();
+}
+
void TextureManager::evictAndDeleteAllTextures(TextureAllocator* allocator)
{
unprotectAllTextures();

Powered by Google App Engine
This is Rietveld 408576698