aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContextPriv.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-03-09 12:00:34 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-09 17:33:20 +0000
commit41a3b87846553e9d77e0e113bfaf4ec74a068e96 (patch)
tree1494d36c2b5704e5bb364100b06fa217a72527e4 /src/gpu/GrContextPriv.h
parentafdc6b1ba9f5dba52916bd20b608f1f7c21c3160 (diff)
Make GrTextureStripAtlas DDL friendly
Change-Id: If8fdd7a1c027bc2b2791cfe1af13f99c2561d93d Reviewed-on: https://skia-review.googlesource.com/113268 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrContextPriv.h')
-rw-r--r--src/gpu/GrContextPriv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrContextPriv.h b/src/gpu/GrContextPriv.h
index 35dc4a9ff4..745397658c 100644
--- a/src/gpu/GrContextPriv.h
+++ b/src/gpu/GrContextPriv.h
@@ -186,6 +186,10 @@ public:
GrResourceCache* getResourceCache() { return fContext->fResourceCache; }
+ GrTextureStripAtlasManager* textureStripAtlasManager() {
+ return fContext->fTextureStripAtlasManager.get();
+ }
+
GrGpu* getGpu() { return fContext->fGpu.get(); }
const GrGpu* getGpu() const { return fContext->fGpu.get(); }