Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index b4fb27bcc51142b87e6eecd73587f2a40f546df3..0c164351e6e51b4ba970c29271ba7631f7b56b9a 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -328,12 +328,12 @@ private: |
void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} |
GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle lifeCycle, |
- const void* srcData, size_t rowBytes) override { |
+ const SkTArray<GrMipLevel>& texels) override { |
return nullptr; |
} |
GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle, |
- const void* srcData) override { |
+ const SkTArray<GrMipLevel>& texels) override { |
return nullptr; |
} |
@@ -367,8 +367,7 @@ private: |
bool onWritePixels(GrSurface* surface, |
int left, int top, int width, int height, |
- GrPixelConfig config, const void* buffer, |
- size_t rowBytes) override { |
+ GrPixelConfig config, const SkTArray<GrMipLevel>& texels) override { |
return false; |
} |