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

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

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.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/TextureManager.h (revision 122257)
+++ Source/WebCore/platform/graphics/chromium/TextureManager.h (working copy)
@@ -44,6 +44,7 @@
public:
virtual unsigned createTexture(const IntSize&, GC3Denum format) = 0;
virtual void deleteTexture(unsigned texture, const IntSize&, GC3Denum) = 0;
+ virtual void deleteAllTextures() = 0;
protected:
virtual ~TextureAllocator() { }
@@ -88,6 +89,7 @@
unsigned allocateTexture(TextureAllocator*, TextureToken);
void deleteEvictedTextures(TextureAllocator*);
+ void evictAndRemoveAllDeletedTextures();
void evictAndDeleteAllTextures(TextureAllocator*);
void reduceMemoryToLimit(size_t);

Powered by Google App Engine
This is Rietveld 408576698