aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 9f3c9f6a59..09be3655a8 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -929,6 +929,12 @@ private:
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;
};