diff options
author | Robert Phillips <robertphillips@google.com> | 2019-01-31 14:13:59 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2019-02-01 13:36:53 +0000 |
commit | d0fe875455a6ebf0b61297f2f5ee33963e54873b (patch) | |
tree | 57e7fd84faeccf50f1a93346123e9903b5207299 /gm | |
parent | 3dc93896b3a9c368c9f051a20822c35fd2efc25c (diff) | |
download | skqp-d0fe875455a6ebf0b61297f2f5ee33963e54873b.tar.gz |
Remove destination GrRenderTargetProxy from GrPipeline
Change-Id: Ie2ee3d51220163fde8a959255dd5f6cce4e27ad8
Reviewed-on: https://skia-review.googlesource.com/c/188038
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'gm')
-rw-r--r-- | gm/clockwise.cpp | 3 | ||||
-rw-r--r-- | gm/fwidth_squircle.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
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)); |