diff options
Diffstat (limited to 'src/gpu/GrOpFlushState.cpp')
-rw-r--r-- | src/gpu/GrOpFlushState.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gpu/GrOpFlushState.cpp b/src/gpu/GrOpFlushState.cpp index 06a05c6bb3..53986c5f6a 100644 --- a/src/gpu/GrOpFlushState.cpp +++ b/src/gpu/GrOpFlushState.cpp @@ -7,6 +7,7 @@ #include "GrOpFlushState.h" +#include "GrContextPriv.h" #include "GrDrawOpAtlas.h" #include "GrGpu.h" #include "GrResourceProvider.h" @@ -191,3 +192,11 @@ void GrOpFlushState::putBackVertices(int vertices, size_t vertexStride) { GrAppliedClip GrOpFlushState::detachAppliedClip() { return fOpArgs->fAppliedClip ? std::move(*fOpArgs->fAppliedClip) : GrAppliedClip(); } + +GrGlyphCache* GrOpFlushState::glyphCache() const { + return fGpu->getContext()->contextPriv().getGlyphCache(); +} + +GrAtlasManager* GrOpFlushState::fullAtlasManager() const { + return fGpu->getContext()->contextPriv().getFullAtlasManager(); +} |