Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 8c58321eb637cc30fb07ec3c25980bb8a3c6d393..6a1c1dd5c95994460e4e478ada6c61024a44d8e2 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -234,6 +234,15 @@ void GrGpu::clearStencilClip(const SkIRect& rect, |
this->onClearStencilClip(renderTarget, rect, insideClip); |
} |
+bool GrGpu::copySurface(GrSurface* dst, |
+ GrSurface* src, |
+ const SkIRect& srcRect, |
+ const SkIPoint& dstPoint) { |
+ SkASSERT(dst && src); |
+ this->handleDirtyContext(); |
+ return this->onCopySurface(dst, src, srcRect, dstPoint); |
+} |
+ |
bool GrGpu::getReadPixelsInfo(GrSurface* srcSurface, int width, int height, size_t rowBytes, |
GrPixelConfig readConfig, DrawPreference* drawPreference, |
ReadPixelTempDrawInfo* tempDrawInfo) { |