Rename GrBatchFontCache->GrAtlasGlyphCache
Change-Id: Ie21e18b631daa24e70df630b9f910213f62bdbdf
Reviewed-on: https://skia-review.googlesource.com/6164
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index a7feffc..ae1fae6 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -21,7 +21,7 @@
#include "SkMathPriv.h"
#include "SkString.h"
-#include "text/GrBatchFontCache.h"
+#include "text/GrAtlasGlyphCache.h"
#include "text/GrTextBlobCache.h"
namespace GrTest {
@@ -85,7 +85,7 @@
}
void GrContext::setTextContextAtlasSizes_ForTesting(const GrBatchAtlasConfig* configs) {
- fBatchFontCache->setAtlasSizes_ForTesting(configs);
+ fAtlasGlyphCache->setAtlasSizes_ForTesting(configs);
}
///////////////////////////////////////////////////////////////////////////////
@@ -139,7 +139,7 @@
}
GrTexture* GrContext::getFontAtlasTexture(GrMaskFormat format) {
- GrBatchFontCache* cache = this->getBatchFontCache();
+ GrAtlasGlyphCache* cache = this->getAtlasGlyphCache();
return cache->getTexture(format);
}