Chromium Code Reviews| Index: src/gpu/GrBlurUtils.cpp |
| diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp |
| index 5d691fb137abe2fd646d9f3f64db1c93dfd1c7fd..8d59fbbccf02bf91a49c98df391cb39ef97f6da9 100644 |
| --- a/src/gpu/GrBlurUtils.cpp |
| +++ b/src/gpu/GrBlurUtils.cpp |
| @@ -155,7 +155,8 @@ void GrBlurUtils::drawPathWithMaskFilter(GrContext* context, |
| const SkMatrix& origViewMatrix, |
| const SkMatrix* prePathMatrix, |
| const SkIRect& clipBounds, |
| - bool pathIsMutable) { |
| + bool pathIsMutable, |
| + GrTextureProvider::SizeConstraint constraint) { |
|
Stephen White
2015/10/22 15:25:04
Could we remove this, and just change the paramete
reed1
2015/10/22 16:24:55
Removed
|
| SkASSERT(!pathIsMutable || origSrcPath.isVolatile()); |
| GrStrokeInfo strokeInfo(paint); |
| @@ -265,7 +266,7 @@ void GrBlurUtils::drawPathWithMaskFilter(GrContext* context, |
| GrTexture* filtered; |
| if (paint.getMaskFilter()->filterMaskGPU(mask, viewMatrix, maskRect, |
| - &filtered, true)) { |
| + &filtered, true, constraint)) { |
| // filterMaskGPU gives us ownership of a ref to the result |
| SkAutoTUnref<GrTexture> atu(filtered); |
| if (draw_mask(drawContext, |