| Index: src/gpu/GrTest.cpp
|
| diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
|
| index ce98aa764ba11182a87f2911ea6a900c554b36ec..f77092ae7e96858a694d6e40a45556de853881d5 100644
|
| --- a/src/gpu/GrTest.cpp
|
| +++ b/src/gpu/GrTest.cpp
|
| @@ -12,6 +12,7 @@
|
| #include "GrContextOptions.h"
|
| #include "GrGpuResourceCacheAccess.h"
|
| #include "GrResourceCache.h"
|
| +#include "GrTextBlobCache.h"
|
| #include "SkString.h"
|
|
|
| void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target) {
|
| @@ -30,6 +31,10 @@ void GrContext::getTestTarget(GrTestTarget* tar) {
|
| tar->init(this, fDrawingMgr.fDrawTarget);
|
| }
|
|
|
| +void GrContext::setTextBlobCacheLimit_ForTesting(size_t bytes) {
|
| + fTextBlobCache->setBudget(bytes);
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| void GrContext::purgeAllUnlockedResources() {
|
|
|