| Index: src/gpu/GrPictureUtils.cpp
|
| ===================================================================
|
| --- src/gpu/GrPictureUtils.cpp (revision 14658)
|
| +++ src/gpu/GrPictureUtils.cpp (working copy)
|
| @@ -137,17 +137,8 @@
|
| device->fInfo.fCTM.postTranslate(SkIntToScalar(-device->getOrigin().fX),
|
| SkIntToScalar(-device->getOrigin().fY));
|
|
|
| - // We need the x & y values that will yield 'getOrigin' when transformed
|
| - // by 'draw.fMatrix'.
|
| - device->fInfo.fOffset.iset(device->getOrigin());
|
| + device->fInfo.fOffset = device->getOrigin();
|
|
|
| - SkMatrix invMatrix;
|
| - if (draw.fMatrix->invert(&invMatrix)) {
|
| - invMatrix.mapPoints(&device->fInfo.fOffset, 1);
|
| - } else {
|
| - device->fInfo.fValid = false;
|
| - }
|
| -
|
| if (NeedsDeepCopy(paint)) {
|
| // This NULL acts as a signal that the paint was uncopyable (for now)
|
| device->fInfo.fPaint = NULL;
|
|
|