Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1955)

Unified Diff: src/gpu/GrRenderTargetContextPriv.h

Issue 2215323003: Start using RenderTargetProxy (omnibus) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrRenderTargetContext.cpp ('k') | src/gpu/GrRenderTargetOpList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « src/gpu/GrRenderTargetContext.cpp ('k') | src/gpu/GrRenderTargetOpList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698