diff options
author | robertphillips <robertphillips@google.com> | 2016-07-07 07:33:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-07 07:33:13 -0700 |
commit | 3950f0d7239c05687ac96c211e49ceab9ab9ff4d (patch) | |
tree | 3e2cd5430b2f05f37ceda3b735a5ebb3924c037e /src/gpu/GrSoftwarePathRenderer.h | |
parent | 82356cc41f360c607a1612cb9aead2423c0846a0 (diff) |
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
Diffstat (limited to 'src/gpu/GrSoftwarePathRenderer.h')
-rw-r--r-- | src/gpu/GrSoftwarePathRenderer.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gpu/GrSoftwarePathRenderer.h b/src/gpu/GrSoftwarePathRenderer.h index 30edfeb040..f488cbdceb 100644 --- a/src/gpu/GrSoftwarePathRenderer.h +++ b/src/gpu/GrSoftwarePathRenderer.h @@ -21,18 +21,16 @@ public: GrSoftwarePathRenderer(GrTextureProvider* texProvider) : fTexProvider(texProvider) { } private: static void DrawNonAARect(GrDrawContext* drawContext, - const GrPaint* paint, + const GrPaint& paint, const GrUserStencilSettings* userStencilSettings, const GrClip& clip, - GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkMatrix& localMatrix); static void DrawAroundInvPath(GrDrawContext* drawContext, - const GrPaint* paint, + const GrPaint& paint, const GrUserStencilSettings* userStencilSettings, const GrClip& clip, - GrColor color, const SkMatrix& viewMatrix, const SkIRect& devClipBounds, const SkIRect& devPathBounds); |