| Index: src/gpu/GrBlurUtils.h
|
| diff --git a/src/gpu/GrBlurUtils.h b/src/gpu/GrBlurUtils.h
|
| index 0fc77266b0024f006d1f89c314acabca20077bed..d64f4924737b362212f0ab03c11ab21f2917bb9c 100644
|
| --- a/src/gpu/GrBlurUtils.h
|
| +++ b/src/gpu/GrBlurUtils.h
|
| @@ -11,11 +11,15 @@
|
| class GrClip;
|
| class GrContext;
|
| class GrDrawContext;
|
| +class GrPaint;
|
| class GrRenderTarget;
|
| +class GrStrokeInfo;
|
| struct SkIRect;
|
| +class SkMaskFilter;
|
| class SkMatrix;
|
| class SkPaint;
|
| class SkPath;
|
| +class SkPathEffect;
|
|
|
|
|
| /**
|
| @@ -35,6 +39,22 @@ namespace GrBlurUtils {
|
| const SkMatrix* prePathMatrix,
|
| const SkIRect& clipBounds,
|
| bool pathIsMutable);
|
| +
|
| + /**
|
| + * Draw a path handling the mask filter. The mask filter is not optional. The path effect is
|
| + * optional. The GrPaint will be modified after return.
|
| + */
|
| + void drawPathWithMaskFilter(GrContext*,
|
| + GrDrawContext*,
|
| + GrRenderTarget*,
|
| + const GrClip&,
|
| + const SkPath& path,
|
| + GrPaint*,
|
| + const SkMatrix& viewMatrix,
|
| + const SkMaskFilter*,
|
| + const SkPathEffect*,
|
| + const GrStrokeInfo&);
|
| +
|
| };
|
|
|
| #endif
|
|
|