From d0fe875455a6ebf0b61297f2f5ee33963e54873b Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 31 Jan 2019 14:13:59 -0500 Subject: Remove destination GrRenderTargetProxy from GrPipeline Change-Id: Ie2ee3d51220163fde8a959255dd5f6cce4e27ad8 Reviewed-on: https://skia-review.googlesource.com/c/188038 Reviewed-by: Chris Dalton Commit-Queue: Robert Phillips --- gm/clockwise.cpp | 3 +-- gm/fwidth_squircle.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'gm') diff --git a/gm/clockwise.cpp b/gm/clockwise.cpp index 608c12e473..7086f98e12 100644 --- a/gm/clockwise.cpp +++ b/gm/clockwise.cpp @@ -121,8 +121,7 @@ private: if (!vertexBuffer) { return; } - GrPipeline pipeline(flushState->drawOpArgs().fProxy, GrScissorTest::kDisabled, - SkBlendMode::kPlus); + GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kPlus); GrMesh mesh(GrPrimitiveType::kTriangleStrip); mesh.setNonIndexedNonInstanced(4); mesh.setVertexData(std::move(vertexBuffer)); diff --git a/gm/fwidth_squircle.cpp b/gm/fwidth_squircle.cpp index e9aa9f84cc..eb8ffa0023 100644 --- a/gm/fwidth_squircle.cpp +++ b/gm/fwidth_squircle.cpp @@ -146,8 +146,7 @@ private: if (!vertexBuffer) { return; } - GrPipeline pipeline(flushState->drawOpArgs().fProxy, GrScissorTest::kDisabled, - SkBlendMode::kSrcOver); + GrPipeline pipeline(GrScissorTest::kDisabled, SkBlendMode::kSrcOver); GrMesh mesh(GrPrimitiveType::kTriangleStrip); mesh.setNonIndexedNonInstanced(4); mesh.setVertexData(std::move(vertexBuffer)); -- cgit v1.2.3