diff options
author | 2015-05-13 12:15:06 -0700 | |
---|---|---|
committer | 2015-05-13 12:15:06 -0700 | |
commit | fc0725645cee5dabc8d282da4c1fab7335152e15 (patch) | |
tree | 20015603508df6c20c73a937f4e08e534948ce73 /src/gpu/SkGpuDevice.cpp | |
parent | d0a1088bf747a9291a178cb08e162d2c84a9aa7c (diff) |
fix for blur large glyphs problems
BUG=skia:
Review URL: https://codereview.chromium.org/1131023006
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |