From fc0725645cee5dabc8d282da4c1fab7335152e15 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Wed, 13 May 2015 12:15:06 -0700 Subject: fix for blur large glyphs problems BUG=skia: Review URL: https://codereview.chromium.org/1131023006 --- src/gpu/SkGpuDevice.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpu/SkGpuDevice.cpp') diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 7a50e0409c..7b363635e2 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -785,9 +785,9 @@ void SkGpuDevice::internalDrawPath(const SkPath& origSrcPath, const SkPaint& pai SkMatrix viewMatrix = origViewMatrix; if (prePathMatrix) { - // stroking and path effects are supposed to be applied *after* the prePathMatrix. - // The pre-path-matrix also should not affect shadeing. - if (NULL == pathEffect && NULL == paint.getShader() && + // stroking, path effects, and blurs are supposed to be applied *after* the prePathMatrix. + // The pre-path-matrix also should not affect shading. + if (NULL == paint.getMaskFilter() && NULL == pathEffect && NULL == paint.getShader() && (strokeInfo.getStrokeRec().isFillStyle() || strokeInfo.getStrokeRec().isHairlineStyle())) { viewMatrix.preConcat(*prePathMatrix); -- cgit v1.2.3