Index: tools/gpu/GrTest.cpp |
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp |
index b99cf06d60a00408f3a6cfc8cfa304c6a4e93875..dbb4e6526287c00e89445aca3bc2365d64d68006 100644 |
--- a/tools/gpu/GrTest.cpp |
+++ b/tools/gpu/GrTest.cpp |
@@ -318,6 +318,10 @@ public: |
void drawDebugWireRect(GrRenderTarget*, const SkIRect&, GrColor) override {} |
+ GrFence SK_WARN_UNUSED_RESULT insertFence() const override { return 0; } |
+ bool waitFence(GrFence) const override { return true; } |
+ void deleteFence(GrFence) const override {} |
+ |
private: |
void onResetContext(uint32_t resetBits) override {} |
@@ -365,7 +369,7 @@ private: |
return false; |
} |
- bool onTransferPixels(GrSurface* surface, |
+ bool onTransferPixels(GrTexture* texture, |
int left, int top, int width, int height, |
GrPixelConfig config, GrBuffer* transferBuffer, |
size_t offset, size_t rowBytes) override { |