diff options
author | 2017-07-13 11:20:51 -0400 | |
---|---|---|
committer | 2017-07-13 15:46:32 +0000 | |
commit | 0596909b055eb9493ba429cc09eae4a2ec53f158 (patch) | |
tree | 4c4383ea45f17893ab47c01c61fcff9b06288706 /src/gpu/GrRenderTargetContext.h | |
parent | 79e4d1b5dd5901c34c732252f814fdea4358ed3b (diff) |
Make ShadowRRectOp a non-legacy GrMeshDrawOp
This also removes the ability to have an arbitrary GrPaint with this op and as a consequence simplifies the op and its GrGeometryProcessor.
Change-Id: I19cc1c6f73a47e8925fc826291aad42e9423164d
Reviewed-on: https://skia-review.googlesource.com/22380
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.h')
-rw-r--r-- | src/gpu/GrRenderTargetContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrRenderTargetContext.h b/src/gpu/GrRenderTargetContext.h index f470a8642b..4485d6333c 100644 --- a/src/gpu/GrRenderTargetContext.h +++ b/src/gpu/GrRenderTargetContext.h @@ -154,13 +154,13 @@ public: * Use a fast method to render the ambient and spot shadows for a path. * Will return false if not possible for the given path. * - * @param paint describes how to color pixels. + * @param color shadow color. * @param viewMatrix transformation matrix * @param path the path to shadow * @param rec parameters for shadow rendering */ bool drawFastShadow(const GrClip&, - GrPaint&&, + GrColor color, const SkMatrix& viewMatrix, const SkPath& path, const SkDrawShadowRec& rec); |