| Index: src/gpu/GrFlushToGpuDrawTarget.cpp
|
| diff --git a/src/gpu/GrFlushToGpuDrawTarget.cpp b/src/gpu/GrFlushToGpuDrawTarget.cpp
|
| index b8604684b110f2af1a8c27c11cee7509d346fc62..7007625737016386686fcf43219cbe578b56a554 100644
|
| --- a/src/gpu/GrFlushToGpuDrawTarget.cpp
|
| +++ b/src/gpu/GrFlushToGpuDrawTarget.cpp
|
| @@ -249,3 +249,14 @@ void GrFlushToGpuDrawTarget::geometrySourceWillPop(const GeometrySrcState& resto
|
| poolState.fUsedPoolIndexBytes = sizeof(uint16_t) * restoredState.fIndexCount;
|
| }
|
| }
|
| +
|
| +bool GrFlushToGpuDrawTarget::onCanCopySurface(const GrSurface* dst,
|
| + const GrSurface* src,
|
| + const SkIRect& srcRect,
|
| + const SkIPoint& dstPoint) {
|
| + return getGpu()->canCopySurface(dst, src, srcRect, dstPoint);
|
| +}
|
| +
|
| +bool GrFlushToGpuDrawTarget::onInitCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) {
|
| + return getGpu()->initCopySurfaceDstDesc(src, desc);
|
| +}
|
|
|