Index: src/gpu/GrRenderTargetContextPriv.h |
diff --git a/src/gpu/GrRenderTargetContextPriv.h b/src/gpu/GrRenderTargetContextPriv.h |
index 83a334b012dc06628e554603cfc3a47e98f9c9eb..c7180726f81aeba7e5e45e1950fa12ce46d10cfd 100644 |
--- a/src/gpu/GrRenderTargetContextPriv.h |
+++ b/src/gpu/GrRenderTargetContextPriv.h |
@@ -85,6 +85,10 @@ public: |
const GrUserStencilSettings* = nullptr, |
bool snapToCenters = false); |
+ GrContext* context() { return fRenderTargetContext->fContext; } |
+ |
+ GrRenderTargetProxy* accessRTP() { return fRenderTargetContext->fRenderTargetProxy.get(); } |
+ |
private: |
explicit GrRenderTargetContextPriv(GrRenderTargetContext* renderTargetContext) |
: fRenderTargetContext(renderTargetContext) {} |