Rename GrMeshDrawOp::Target::glyphCache to strikeCache
This renaming, obviously, propagates to the GrOpFlushState derived class.
This CL also removes GrStrikeCache access from:
SkInternalAtlasTextContext - accessor not used
GrAtlasManager - strike cache not used internally
Change-Id: I7b82dc14be7ba7eabe604218f29f875f08a259a5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/282602
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/text/GrAtlasManager.cpp b/src/gpu/text/GrAtlasManager.cpp
index af31c0a..47dae97 100644
--- a/src/gpu/text/GrAtlasManager.cpp
+++ b/src/gpu/text/GrAtlasManager.cpp
@@ -11,13 +11,12 @@
#include "src/gpu/GrImageInfo.h"
#include "src/gpu/text/GrStrikeCache.h"
-GrAtlasManager::GrAtlasManager(GrProxyProvider* proxyProvider, GrStrikeCache* glyphCache,
+GrAtlasManager::GrAtlasManager(GrProxyProvider* proxyProvider,
size_t maxTextureBytes,
GrDrawOpAtlas::AllowMultitexturing allowMultitexturing)
: fAllowMultitexturing{allowMultitexturing}
, fProxyProvider{proxyProvider}
, fCaps{fProxyProvider->refCaps()}
- , fGlyphCache{glyphCache}
, fAtlasConfig{fCaps->maxTextureSize(), maxTextureBytes} { }
GrAtlasManager::~GrAtlasManager() = default;