Index: include/gpu/GrDrawContext.h |
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
index 82cf362d5799ecef0899f1b2ba97261cde97ce76..bf6f2a89f3adc8d6ceb34b31289ae2007c1dd212 100644 |
--- a/include/gpu/GrDrawContext.h |
+++ b/include/gpu/GrDrawContext.h |
@@ -278,6 +278,8 @@ public: |
int height() const { return fRenderTarget->height(); } |
int numColorSamples() const { return fRenderTarget->numColorSamples(); } |
+ GrRenderTarget* accessRenderTarget() { return fRenderTarget; } |
+ |
private: |
friend class GrAtlasTextContext; // for access to drawBatch |
friend class GrDrawingManager; // for ctor |