Index: include/gpu/GrContext.h |
=================================================================== |
--- include/gpu/GrContext.h (revision 9928) |
+++ include/gpu/GrContext.h (working copy) |
@@ -929,6 +929,12 @@ |
bool swapRAndB, |
const SkMatrix& matrix); |
+ /** |
+ * This callback allows the resource cache to callback into the GrContext |
+ * when the cache is still overbudget after a purge. |
+ */ |
+ static bool OverbudgetCB(void* data); |
+ |
typedef GrRefCnt INHERITED; |
}; |