Index: src/gpu/GrContext.cpp |
=================================================================== |
--- src/gpu/GrContext.cpp (revision 10113) |
+++ src/gpu/GrContext.cpp (working copy) |
@@ -119,6 +119,8 @@ |
fTextureCache = SkNEW_ARGS(GrResourceCache, |
(MAX_TEXTURE_CACHE_COUNT, |
MAX_TEXTURE_CACHE_BYTES)); |
+ fTextureCache->setOverbudgetCallback(OverbudgetCB, this); |
+ |
fFontCache = SkNEW_ARGS(GrFontCache, (fGpu)); |
fLastDrawWasBuffered = kNo_BufferedDraw; |