diff options
Diffstat (limited to 'src/gpu/GrContextPriv.h')
-rw-r--r-- | src/gpu/GrContextPriv.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/gpu/GrContextPriv.h b/src/gpu/GrContextPriv.h index c2e525d9b9..a2a45b5007 100644 --- a/src/gpu/GrContextPriv.h +++ b/src/gpu/GrContextPriv.h @@ -10,7 +10,6 @@ #include "GrContext.h" #include "GrSurfaceContext.h" -#include "text/GrAtlasManager.h" class GrBackendRenderTarget; class GrOnFlushCallbackObject; @@ -188,19 +187,8 @@ public: GrGpu* getGpu() { return fContext->fGpu.get(); } const GrGpu* getGpu() const { return fContext->fGpu.get(); } - GrGlyphCache* getGlyphCache() { return fContext->fGlyphCache; } + GrAtlasGlyphCache* getAtlasGlyphCache() { return fContext->fAtlasGlyphCache; } GrTextBlobCache* getTextBlobCache() { return fContext->fTextBlobCache.get(); } - GrRestrictedAtlasManager* getRestrictedAtlasManager() { return fContext->fFullAtlasManager; } - - // This accessor should only ever be called by the GrOpFlushState. - GrAtlasManager* getFullAtlasManager() { - if (fContext->fResourceProvider) { - // Disallow access to the full atlasManager when recording DDLs - return fContext->fFullAtlasManager; - } - - return nullptr; - } void moveOpListsToDDL(SkDeferredDisplayList*); void copyOpListsFromDDL(const SkDeferredDisplayList*, GrRenderTargetProxy* newDest); |