Index: src/gpu/GrTest.cpp |
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp |
index 8d6208de7908fd3657cbdfc067c250f40f516646..0ff64984a8789ce0a75ece3ec93c138a2fd594d6 100644 |
--- a/src/gpu/GrTest.cpp |
+++ b/src/gpu/GrTest.cpp |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2013 Google Inc. |
* |
@@ -187,7 +186,7 @@ public: |
GrPixelConfig readConfig, DrawPreference*, |
ReadPixelTempDrawInfo*) override { return false; } |
- bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, size_t rowBytes, |
+ bool onGetWritePixelsInfo(GrSurface* dstSurface, int width, int height, |
GrPixelConfig srcConfig, DrawPreference*, |
WritePixelTempDrawInfo*) override { return false; } |
@@ -211,12 +210,12 @@ private: |
void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {} |
GrTexture* onCreateTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle lifeCycle, |
- const void* srcData, size_t rowBytes) override { |
+ const SkTArray<SkMipMapLevel>& texels) override { |
return nullptr; |
} |
GrTexture* onCreateCompressedTexture(const GrSurfaceDesc& desc, GrGpuResource::LifeCycle, |
- const void* srcData) override { |
+ const SkTArray<SkMipMapLevel>& texels) override { |
return nullptr; |
} |
@@ -248,8 +247,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<SkMipMapLevel>& texels) override { |
return false; |
} |
@@ -265,7 +263,7 @@ private: |
GrBackendObject createTestingOnlyBackendTexture(void* pixels, int w, int h, |
GrPixelConfig config) const override { |
- return 0; |
+ return 0; |
} |
bool isTestingOnlyBackendTexture(GrBackendObject id) const override { return false; } |
void deleteTestingOnlyBackendTexture(GrBackendObject id) const override {} |