aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRendering.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-07-27 12:01:46 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-27 16:42:33 +0000
commit7311b40efb0e1a75f3024eac3386e4f7d806675a (patch)
tree6e2ff357d138fd8e7fd698924c0b7d96acfb2703 /src/gpu/GrPathRendering.h
parentcd924dba0496da51d766efa10828f4773d064f27 (diff)
Make StencilPathArgs hold a GrRenderTargetProxy (rather than a GrRenderTarget)
Again, this will be useful when GrSurface does not have a origin field. Change-Id: I0c4ef5b441eaf38f3489e8631aced11b11fdb6ac Reviewed-on: https://skia-review.googlesource.com/27540 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrPathRendering.h')
-rw-r--r--src/gpu/GrPathRendering.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/GrPathRendering.h b/src/gpu/GrPathRendering.h
index bcd2cfa89e..ac203eddeb 100644
--- a/src/gpu/GrPathRendering.h
+++ b/src/gpu/GrPathRendering.h
@@ -132,20 +132,20 @@ public:
/** None of these params are optional, pointers used just to avoid making copies. */
struct StencilPathArgs {
StencilPathArgs(bool useHWAA,
- GrRenderTarget* renderTarget,
+ GrRenderTargetProxy* proxy,
const SkMatrix* viewMatrix,
const GrScissorState* scissor,
const GrStencilSettings* stencil)
: fUseHWAA(useHWAA)
- , fRenderTarget(renderTarget)
+ , fProxy(proxy)
, fViewMatrix(viewMatrix)
, fScissor(scissor)
, fStencil(stencil) {
}
- bool fUseHWAA;
- GrRenderTarget* fRenderTarget;
- const SkMatrix* fViewMatrix;
- const GrScissorState* fScissor;
+ bool fUseHWAA;
+ GrRenderTargetProxy* fProxy;
+ const SkMatrix* fViewMatrix;
+ const GrScissorState* fScissor;
const GrStencilSettings* fStencil;
};