Chromium Code Reviews| Index: include/gpu/GrDrawContext.h |
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h |
| index 1ed99c1891a1a2178de90bc0a2ee662c88f2e78f..c0309fdf6077e195f7c5d81c8df2870c9fc2d722 100644 |
| --- a/include/gpu/GrDrawContext.h |
| +++ b/include/gpu/GrDrawContext.h |
| @@ -25,6 +25,7 @@ class GrSurface; |
| struct SkIPoint; |
| struct SkIRect; |
| class SkMatrix; |
| +class SkPaint; |
| class SkPath; |
| struct SkPoint; |
| struct SkRect; |
| @@ -176,6 +177,20 @@ public: |
| const SkPath&, |
| const GrStrokeInfo&); |
| + |
| + /** |
| + * Draw a path handling the mask filter if present. |
| + */ |
| + void drawPathFull(GrContext* context, |
|
joshualitt
2015/05/27 15:02:29
drawPathWithMaskFilter? Kind of a mouthful, but a
bsalomon
2015/05/27 15:15:55
Hm... I feel like this is really blurring (get it?
robertphillips
2015/05/27 15:55:23
Done.
|
| + GrRenderTarget* rt, |
| + const GrClip& clip, |
| + const SkPath& origSrcPath, |
| + const SkPaint& paint, |
| + const SkMatrix& origViewMatrix, |
| + const SkMatrix* prePathMatrix, |
| + const SkIRect& clipBounds, |
| + bool pathIsMutable); |
| + |
| /** |
| * Draws vertices with a paint. |
| * |