| Index: src/gpu/batches/GrCopySurfaceBatch.h
|
| diff --git a/src/gpu/batches/GrCopySurfaceBatch.h b/src/gpu/batches/GrCopySurfaceBatch.h
|
| index ed5e77f5b061d9bce393c3a30f4f2f3eeffe410a..204ade748f1ef41fb4abb0d767de7fb138b8cab3 100644
|
| --- a/src/gpu/batches/GrCopySurfaceBatch.h
|
| +++ b/src/gpu/batches/GrCopySurfaceBatch.h
|
| @@ -27,6 +27,8 @@ public:
|
| return rt ? rt->getUniqueID() : 0;
|
| }
|
|
|
| + GrRenderTarget* rt2() const override { return fDst.get()->asRenderTarget(); }
|
| +
|
| SkString dumpInfo() const override {
|
| SkString string;
|
| string.printf("SRC: 0x%p, DST: 0x%p, SRECT: [L: %d, T: %d, R: %d, B: %d], "
|
| @@ -41,7 +43,7 @@ private:
|
| const SkIPoint& dstPoint)
|
| : INHERITED(ClassID())
|
| , fDst(dst)
|
| - , fSrc(src)
|
| + , fSrc(src, dst)
|
| , fSrcRect(srcRect)
|
| , fDstPoint(dstPoint) {
|
| fBounds = SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY),
|
|
|