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

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') | src/gpu/GrResourceCache.cpp » ('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..78f46a2feb35fab42cecce529aee7f6ccd9c5df3 100644
--- a/include/gpu/GrCacheable.h
+++ b/include/gpu/GrCacheable.h
@@ -46,6 +46,8 @@ protected:
bool isInCache() const { return NULL != fCacheEntry; }
+ void onResourceSizeChanged() const;
bsalomon 2014/04/28 21:08:33 We usually use the onSuchAndSuch() naming style fo
Chris Dalton 2014/04/28 22:30:58 Done.
+
private:
GrResourceCacheEntry* fCacheEntry; // NULL if not in cache
« no previous file with comments | « no previous file | include/gpu/GrTexture.h » ('j') | src/gpu/GrResourceCache.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698