diff options
Diffstat (limited to 'src/gpu/GrDrawingManager.cpp')
-rw-r--r-- | src/gpu/GrDrawingManager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp index de414ae545..4391117248 100644 --- a/src/gpu/GrDrawingManager.cpp +++ b/src/gpu/GrDrawingManager.cpp @@ -26,7 +26,7 @@ #include "SkSurface_Gpu.h" #include "SkTTopoSort.h" #include "GrTracing.h" -#include "text/GrAtlasTextContext.h" +#include "text/GrTextContext.h" // Turn on/off the sorting of opLists at flush time #ifndef SK_DISABLE_RENDER_TARGET_SORTING @@ -35,16 +35,16 @@ GrDrawingManager::GrDrawingManager(GrContext* context, const GrPathRendererChain::Options& optionsForPathRendererChain, - const GrAtlasTextContext::Options& optionsForAtlasTextContext, + const GrTextContext::Options& optionsForTextContext, GrSingleOwner* singleOwner, bool explicitlyAllocating, GrContextOptions::Enable sortRenderTargets) : fContext(context) , fOptionsForPathRendererChain(optionsForPathRendererChain) - , fOptionsForAtlasTextContext(optionsForAtlasTextContext) + , fOptionsForTextContext(optionsForTextContext) , fSingleOwner(singleOwner) , fAbandoned(false) - , fAtlasTextContext(nullptr) + , fTextContext(nullptr) , fPathRendererChain(nullptr) , fSoftwarePathRenderer(nullptr) , fFlushing(false) { @@ -438,12 +438,12 @@ sk_sp<GrTextureOpList> GrDrawingManager::newTextureOpList(GrTextureProxy* textur return opList; } -GrAtlasTextContext* GrDrawingManager::getAtlasTextContext() { - if (!fAtlasTextContext) { - fAtlasTextContext = GrAtlasTextContext::Make(fOptionsForAtlasTextContext); +GrTextContext* GrDrawingManager::getTextContext() { + if (!fTextContext) { + fTextContext = GrTextContext::Make(fOptionsForTextContext); } - return fAtlasTextContext.get(); + return fTextContext.get(); } /* |