aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 142140e39d..71f903c399 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -300,6 +300,10 @@ public:
///////////////////////////////////////////////////////////////////////////
// Functions intended for internal use only.
+ GrGpu* getGpu() { return fGpu.get(); }
+ const GrGpu* getGpu() const { return fGpu.get(); }
+ GrAtlasGlyphCache* getAtlasGlyphCache() { return fAtlasGlyphCache; }
+ GrTextBlobCache* getTextBlobCache() { return fTextBlobCache.get(); }
bool abandoned() const;
/** Reset GPU stats */