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

Unified Diff: include/gpu/GrCacheable.h

Issue 257093002: Add size change notifications to GrResourceCache (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 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 | include/gpu/GrTexture.h » ('j') | include/gpu/GrTexture.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrCacheable.h
diff --git a/include/gpu/GrCacheable.h b/include/gpu/GrCacheable.h
index 75dec16033f9b2b6dcf86938c54346ce4e7d51df..49b4f5941f221259db8c03665f1b6eb4c29b958a 100644
--- a/include/gpu/GrCacheable.h
+++ b/include/gpu/GrCacheable.h
@@ -46,6 +46,8 @@ protected:
bool isInCache() const { return NULL != fCacheEntry; }
robertphillips 2014/04/29 13:46:25 // This entry point should be called whenever gpuM
+ void didChangeGpuMemorySize() const;
+
private:
GrResourceCacheEntry* fCacheEntry; // NULL if not in cache
« no previous file with comments | « no previous file | include/gpu/GrTexture.h » ('j') | include/gpu/GrTexture.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698