Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index dc14016973cc8636dada0a168bdae9949cc38975..9a37f2b82fb764c828fa1854e9913098e61bbd50 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; |
} |
@@ -372,8 +372,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; |
} |