diff options
Diffstat (limited to 'src/gpu/ops/GrLatticeOp.h')
-rw-r--r-- | src/gpu/ops/GrLatticeOp.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gpu/ops/GrLatticeOp.h b/src/gpu/ops/GrLatticeOp.h index ab3b8ea733..ef723ceb99 100644 --- a/src/gpu/ops/GrLatticeOp.h +++ b/src/gpu/ops/GrLatticeOp.h @@ -12,6 +12,7 @@ #include "GrSamplerState.h" #include "SkRefCnt.h" +class GrContext; class GrDrawOp; class GrPaint; class SkLatticeIter; @@ -21,9 +22,14 @@ class SkMatrix; struct SkRect; namespace GrLatticeOp { -std::unique_ptr<GrDrawOp> MakeNonAA(GrPaint&&, const SkMatrix& viewMatrix, sk_sp<GrTextureProxy>, - sk_sp<GrColorSpaceXform>, GrSamplerState::Filter, - std::unique_ptr<SkLatticeIter>, const SkRect& dst); +std::unique_ptr<GrDrawOp> MakeNonAA(GrContext*, + GrPaint&&, + const SkMatrix& viewMatrix, + sk_sp<GrTextureProxy>, + sk_sp<GrColorSpaceXform>, + GrSamplerState::Filter, + std::unique_ptr<SkLatticeIter>, + const SkRect& dst); }; #endif |