Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 7b6cb5ed37071fc14b7f41e691f8d35fe541d04c..a2efb4829beee513b07ff84a46dcdc655e16aa50 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -8,6 +8,7 @@ |
#include "GrTest.h" |
+#include "GrBatchFontCache.h" |
#include "GrBufferedDrawTarget.h" |
#include "GrContextOptions.h" |
#include "GrGpuResourceCacheAccess.h" |
@@ -35,6 +36,10 @@ void GrContext::setTextBlobCacheLimit_ForTesting(size_t bytes) { |
fTextBlobCache->setBudget(bytes); |
} |
+void GrContext::setTextContextAtlasSizes_ForTesting(const GrBatchAtlasConfig* configs) { |
+ fBatchFontCache->setAtlasSizes_ForTesting(configs); |
+} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
void GrContext::purgeAllUnlockedResources() { |