aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrSoftwarePathRenderer.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-07 07:33:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-07 07:33:13 -0700
commit3950f0d7239c05687ac96c211e49ceab9ab9ff4d (patch)
tree3e2cd5430b2f05f37ceda3b735a5ebb3924c037e /src/gpu/GrSoftwarePathRenderer.h
parent82356cc41f360c607a1612cb9aead2423c0846a0 (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.h6
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);