| Index: src/effects/SkDisplacementMapEffect.cpp
|
| diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp
|
| index f10af7079bdd2a50ccb5b4c340f5c736c385c8c9..b1f6a97e7147ac4e84f58bca0b584974f62347c4 100644
|
| --- a/src/effects/SkDisplacementMapEffect.cpp
|
| +++ b/src/effects/SkDisplacementMapEffect.cpp
|
| @@ -432,13 +432,10 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src,
|
| color))->unref();
|
| SkIRect colorBounds = bounds;
|
| colorBounds.offset(-colorOffset);
|
| - GrContext::AutoMatrix am;
|
| - am.setIdentity(context);
|
| SkMatrix matrix;
|
| matrix.setTranslate(-SkIntToScalar(colorBounds.x()),
|
| -SkIntToScalar(colorBounds.y()));
|
| - context->concatMatrix(matrix);
|
| - context->drawRect(paint, SkRect::Make(colorBounds));
|
| + context->drawRect(paint, matrix, SkRect::Make(colorBounds));
|
| offset->fX = bounds.left();
|
| offset->fY = bounds.top();
|
| WrapTexture(dst, bounds.width(), bounds.height(), result);
|
|
|