Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index d7c874cfda999afe2b610f2b2dadcefc7a563ea0..ae4f756b257a717254c8e73abcfe3fc0b5f585dd 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -50,14 +50,12 @@ |
virtual bool directFilterMaskGPU(GrContext* context, |
GrRenderTarget* rt, |
GrPaint* grp, |
- const GrClip&, |
const SkMatrix& viewMatrix, |
const SkStrokeRec& strokeRec, |
const SkPath& path) const SK_OVERRIDE; |
virtual bool directFilterRRectMaskGPU(GrContext* context, |
GrRenderTarget* rt, |
GrPaint* grp, |
- const GrClip&, |
const SkMatrix& viewMatrix, |
const SkStrokeRec& strokeRec, |
const SkRRect& rrect) const SK_OVERRIDE; |
@@ -832,7 +830,6 @@ |
bool SkBlurMaskFilterImpl::directFilterMaskGPU(GrContext* context, |
GrRenderTarget* rt, |
GrPaint* grp, |
- const GrClip& clip, |
const SkMatrix& viewMatrix, |
const SkStrokeRec& strokeRec, |
const SkPath& path) const { |
@@ -866,7 +863,7 @@ |
if (!viewMatrix.invert(&inverse)) { |
return false; |
} |
- context->drawNonAARectWithLocalMatrix(rt, clip, *grp, SkMatrix::I(), rect, inverse); |
+ context->drawNonAARectWithLocalMatrix(rt, *grp, SkMatrix::I(), rect, inverse); |
return true; |
} |
@@ -1123,7 +1120,6 @@ |
bool SkBlurMaskFilterImpl::directFilterRRectMaskGPU(GrContext* context, |
GrRenderTarget* rt, |
GrPaint* grp, |
- const GrClip& clip, |
const SkMatrix& viewMatrix, |
const SkStrokeRec& strokeRec, |
const SkRRect& rrect) const { |
@@ -1152,7 +1148,7 @@ |
if (!viewMatrix.invert(&inverse)) { |
return false; |
} |
- context->drawNonAARectWithLocalMatrix(rt, clip, *grp, SkMatrix::I(), proxy_rect, inverse); |
+ context->drawNonAARectWithLocalMatrix(rt, *grp, SkMatrix::I(), proxy_rect, inverse); |
return true; |
} |
@@ -1203,6 +1199,8 @@ |
SkRect clipRect = SkRect::MakeWH(maskRect.width(), maskRect.height()); |
GrContext* context = src->getContext(); |
+ |
+ GrContext::AutoWideOpenIdentityDraw awo(context); |
SkScalar xformedSigma = this->computeXformedSigma(ctm); |
SkASSERT(xformedSigma > 0); |
@@ -1234,8 +1232,7 @@ |
// = 0 * src + (1 - src) * dst |
paint.setCoverageSetOpXPFactory(SkRegion::kDifference_Op); |
} |
- context->drawRect((*result)->asRenderTarget(), GrClip::WideOpen(), paint, SkMatrix::I(), |
- clipRect); |
+ context->drawRect((*result)->asRenderTarget(), paint, SkMatrix::I(), clipRect); |
} |
return true; |