aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mtl/GrMtlGpu.h
diff options
context:
space:
mode:
authorGravatar Timothy Liang <timliang@google.com>2018-07-19 09:58:00 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-19 19:26:15 +0000
commita8046af0b0501e53726c01fa5ec2ec6590c79a82 (patch)
tree600e9ff937e325da8b1ee56f0b3da819ae234433 /src/gpu/mtl/GrMtlGpu.h
parent97ae0c89025dfd791047f5701e57d58da37c125c (diff)
implemented onWritePixels and related tests for metal gpu backend
Bug: skia: Change-Id: Iab8bc8611a9de8afcf0eaeb58a8ef46fdc38d4f1 Reviewed-on: https://skia-review.googlesource.com/140571 Commit-Queue: Timothy Liang <timliang@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/mtl/GrMtlGpu.h')
-rw-r--r--src/gpu/mtl/GrMtlGpu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gpu/mtl/GrMtlGpu.h b/src/gpu/mtl/GrMtlGpu.h
index 1c25dedbac..054f1e6842 100644
--- a/src/gpu/mtl/GrMtlGpu.h
+++ b/src/gpu/mtl/GrMtlGpu.h
@@ -113,9 +113,7 @@ private:
void* buffer, size_t rowBytes) override;
bool onWritePixels(GrSurface*, int left, int top, int width, int height, GrColorType,
- const GrMipLevel[], int) override {
- return false;
- }
+ const GrMipLevel[], int mipLevelCount) override;
bool onTransferPixels(GrTexture*,
int left, int top, int width, int height,