Index: src/gpu/GrTest.h |
diff --git a/src/gpu/GrTest.h b/src/gpu/GrTest.h |
index eb1d7de25dcb2a943cddf8ced6b0db3de55057a9..92bfb137503686e8dbcf8b41377b4d1a60fa6586 100644 |
--- a/src/gpu/GrTest.h |
+++ b/src/gpu/GrTest.h |
@@ -13,6 +13,14 @@ |
#include "GrDrawTarget.h" |
#include "gl/GrGLContext.h" |
+namespace GrTest { |
+ /** |
+ * Forces the GrContext to use a small atlas which only has room for one plot and will thus |
+ * constantly be evicting entries |
+ */ |
+ void SetupAlwaysEvictAtlas(GrContext*); |
+}; |
+ |
/** Allows a test to temporarily draw to a GrDrawTarget owned by a GrContext. Tests that use this |
should be careful not to mix using the GrDrawTarget directly and drawing via SkCanvas or |
GrContext. In the future this object may provide some guards to prevent this. */ |