commit | 3950f0d7239c05687ac96c211e49ceab9ab9ff4d | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Thu Jul 07 07:33:13 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jul 07 07:33:13 2016 -0700 |
tree | 3e2cd5430b2f05f37ceda3b735a5ebb3924c037e | |
parent | 82356cc41f360c607a1612cb9aead2423c0846a0 [diff] [blame] |
Remove fColor from PathRenderer DrawPathArgs struct This was getting in the way of other refactorings. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2126083002 Review-Url: https://codereview.chromium.org/2126083002
diff --git a/src/gpu/batches/GrTessellatingPathRenderer.cpp b/src/gpu/batches/GrTessellatingPathRenderer.cpp index b17bf1a..992d773 100644 --- a/src/gpu/batches/GrTessellatingPathRenderer.cpp +++ b/src/gpu/batches/GrTessellatingPathRenderer.cpp
@@ -271,7 +271,8 @@ vmi.mapRect(&clipBounds); SkPath path; args.fShape->asPath(&path); - SkAutoTUnref<GrDrawBatch> batch(TessellatingPathBatch::Create(args.fColor, *args.fShape, + SkAutoTUnref<GrDrawBatch> batch(TessellatingPathBatch::Create(args.fPaint->getColor(), + *args.fShape, *args.fViewMatrix, clipBounds)); GrPipelineBuilder pipelineBuilder(*args.fPaint, args.fDrawContext->mustUseHWAA(*args.fPaint));