aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mock/GrMockGpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/mock/GrMockGpu.h')
-rw-r--r--src/gpu/mock/GrMockGpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/mock/GrMockGpu.h b/src/gpu/mock/GrMockGpu.h
index 25ad5b0fc0..b6ba4942a3 100644
--- a/src/gpu/mock/GrMockGpu.h
+++ b/src/gpu/mock/GrMockGpu.h
@@ -67,7 +67,7 @@ private:
void xferBarrier(GrRenderTarget*, GrXferBarrierType) override {}
sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted,
- const SkTArray<GrMipLevel>&) override;
+ const GrMipLevel texels[], int mipLevelCount) override;
sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
GrSurfaceOrigin,
@@ -103,7 +103,8 @@ private:
bool onWritePixels(GrSurface* surface,
int left, int top, int width, int height,
- GrPixelConfig config, const SkTArray<GrMipLevel>& texels) override {
+ GrPixelConfig config,
+ const GrMipLevel texels[], int mipLevelCount) override {
return true;
}