Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index efb37ca88c38ac023c44684a39b02802de68c324..5d31c15c060573d6010fcd2745c40103ed80b79f 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -71,6 +71,16 @@ public: |
virtual void discard(GrRenderTarget*) SK_OVERRIDE { } |
+ virtual bool canCopySurface(GrSurface* dst, |
+ GrSurface* src, |
+ const SkIRect& srcRect, |
+ const SkIPoint& dstPoint) SK_OVERRIDE { return false; }; |
+ |
+ virtual bool copySurface(GrSurface* dst, |
+ GrSurface* src, |
+ const SkIRect& srcRect, |
+ const SkIPoint& dstPoint) SK_OVERRIDE { return false; }; |
+ |
private: |
virtual void onResetContext(uint32_t resetBits) { }; |
virtual GrTexture* onCreateTexture(const GrSurfaceDesc& desc, |
@@ -108,7 +118,7 @@ private: |
const SkIRect& rect, |
bool insideClip) SK_OVERRIDE { } |
- virtual void onGpuDraw(const DrawInfo&) SK_OVERRIDE { } |
+ virtual void onGpuDraw(const GrDrawTarget::DrawInfo&) SK_OVERRIDE { } |
virtual bool onReadPixels(GrRenderTarget* target, |
int left, int top, int width, int height, |
GrPixelConfig, |