| Index: src/gpu/GrDistanceFieldTextContext.cpp
|
| diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp
|
| index 4ce336beb01db0a309b242b17e75289d4850ab03..1a422c682a7d56f924aae5e39b7210bc07aec6d0 100755
|
| --- a/src/gpu/GrDistanceFieldTextContext.cpp
|
| +++ b/src/gpu/GrDistanceFieldTextContext.cpp
|
| @@ -81,10 +81,10 @@
|
| GrTextureParams params(SkShader::kRepeat_TileMode, GrTextureParams::kBilerp_FilterMode);
|
|
|
| // This effect could be stored with one of the cache objects (atlas?)
|
| + SkISize size = fStrike->getAtlasSize();
|
| drawState->addCoverageEffect(
|
| - GrDistanceFieldTextureEffect::Create(fCurrTexture, params,
|
| - fContext->getMatrix().isSimilarity()),
|
| - kGlyphCoordsAttributeIndex)->unref();
|
| + GrDistanceFieldTextureEffect::Create(fCurrTexture, params, size),
|
| + kGlyphCoordsAttributeIndex)->unref();
|
|
|
| if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) {
|
| if (kOne_GrBlendCoeff != fPaint.getSrcBlendCoeff() ||
|
|
|