Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index a2e245d7e56f708e48c9ecb272e72e98c4153a2d..abbb5f1510bff8e5d2692cb322cba8fea2ca81dc 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -180,7 +180,8 @@ void GrTextContext::drawTextAsPath(GrDrawContext* dc, GrRenderTarget* rt, |
if (iterPath) { |
const SkPaint& pnt = iter.getPaint(); |
GrBlurUtils::drawPathWithMaskFilter(fContext, dc, rt, clip, *iterPath, |
- pnt, viewMatrix, &matrix, clipBounds, false); |
+ pnt, viewMatrix, &matrix, clipBounds, false, |
+ GrTextureProvider::kApprox_SizeConstraint); |
} |
prevXPos = xpos; |
} |
@@ -228,7 +229,8 @@ void GrTextContext::drawPosTextAsPath(GrDrawContext* dc, GrRenderTarget* rt, |
matrix[SkMatrix::kMTransX] = loc.fX; |
matrix[SkMatrix::kMTransY] = loc.fY; |
GrBlurUtils::drawPathWithMaskFilter(fContext, dc, rt, clip, *path, paint, |
- viewMatrix, &matrix, clipBounds, false); |
+ viewMatrix, &matrix, clipBounds, false, |
+ GrTextureProvider::kApprox_SizeConstraint); |
} |
} |
pos += scalarsPerPosition; |