diff options
Diffstat (limited to 'src/gpu/ops/GrDrawVerticesOp.h')
-rw-r--r-- | src/gpu/ops/GrDrawVerticesOp.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gpu/ops/GrDrawVerticesOp.h b/src/gpu/ops/GrDrawVerticesOp.h index cbbc16e286..dccb5ecccb 100644 --- a/src/gpu/ops/GrDrawVerticesOp.h +++ b/src/gpu/ops/GrDrawVerticesOp.h @@ -36,8 +36,13 @@ public: * specified. If gammaCorrect is true, the vertex colors will be linearized in the shader to get * correct rendering. */ - static std::unique_ptr<GrDrawOp> Make(GrPaint&&, sk_sp<SkVertices>, const SkMatrix& viewMatrix, - GrAAType, bool gammaCorrect, sk_sp<GrColorSpaceXform>, + static std::unique_ptr<GrDrawOp> Make(GrContext* context, + GrPaint&&, + sk_sp<SkVertices>, + const SkMatrix& viewMatrix, + GrAAType, + bool gammaCorrect, + sk_sp<GrColorSpaceXform>, GrPrimitiveType* overridePrimType = nullptr); GrDrawVerticesOp(const Helper::MakeArgs& helperArgs, GrColor, sk_sp<SkVertices>, |