| Index: src/gpu/GrGpu.h
|
| diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
|
| index 83f6c992fc2f56d54e18058115ed9fc325ff010e..5b5d3d0a045cf7a854836ceae1245d68ebc7d955 100644
|
| --- a/src/gpu/GrGpu.h
|
| +++ b/src/gpu/GrGpu.h
|
| @@ -257,16 +257,6 @@ public:
|
| const GrPipeline&,
|
| const GrBatchTracker&) const = 0;
|
|
|
| - // Called to determine whether a copySurface call would succeed or not. Derived
|
| - // classes must keep this consistent with their implementation of onCopySurface(). Fallbacks
|
| - // to issuing a draw from the src to dst take place at the GrDrawTarget level and this function
|
| - // should only return true if a faster copy path exists. The rect and point are pre-clipped. The
|
| - // src rect and implied dst rect are guaranteed to be within the src/dst bounds and non-empty.
|
| - virtual bool canCopySurface(const GrSurface* dst,
|
| - const GrSurface* src,
|
| - const SkIRect& srcRect,
|
| - const SkIPoint& dstPoint) = 0;
|
| -
|
| // Called to perform a surface to surface copy. Fallbacks to issuing a draw from the src to dst
|
| // take place at the GrDrawTarget level and this function implement faster copy paths. The rect
|
| // and point are pre-clipped. The src rect and implied dst rect are guaranteed to be within the
|
|
|