diff options
Diffstat (limited to 'src/gpu/ops/GrTextureOp.h')
-rw-r--r-- | src/gpu/ops/GrTextureOp.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gpu/ops/GrTextureOp.h b/src/gpu/ops/GrTextureOp.h index e99bd0a839..7211b5edc2 100644 --- a/src/gpu/ops/GrTextureOp.h +++ b/src/gpu/ops/GrTextureOp.h @@ -25,8 +25,14 @@ namespace GrTextureOp { * the rectangle to draw in local coords which will be transformed by 'viewMatrix' to be in device * space. 'viewMatrix' must be affine. */ -std::unique_ptr<GrDrawOp> Make(sk_sp<GrTextureProxy>, GrSamplerState::Filter, GrColor, - const SkRect& srcRect, const SkRect& dstRect, GrAAType, - SkCanvas::SrcRectConstraint, const SkMatrix& viewMatrix, +std::unique_ptr<GrDrawOp> Make(GrContext*, + sk_sp<GrTextureProxy>, + GrSamplerState::Filter, + GrColor, + const SkRect& srcRect, + const SkRect& dstRect, + GrAAType, + SkCanvas::SrcRectConstraint, + const SkMatrix& viewMatrix, sk_sp<GrColorSpaceXform>); } |