diff options
author | Brian Salomon <bsalomon@google.com> | 2018-06-01 14:13:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-01 18:59:16 +0000 |
commit | d494f6e3d68269d1a60e864561aa66a7b125be1a (patch) | |
tree | 21541972d90da1252afd765d932020be1dd17a8e /src/gpu/mtl/GrMtlGpu.h | |
parent | ee56b834fcd5e1834772d8e60195a21811833267 (diff) |
Replace GrContextPriv::read/writeSurfacePixels with GrContextPriv::read/WritePixels2
Change-Id: I08be0f347d360e97bf9a6d1aeb25f9f584cc3d89
Reviewed-on: https://skia-review.googlesource.com/131442
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/mtl/GrMtlGpu.h')
-rw-r--r-- | src/gpu/mtl/GrMtlGpu.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/mtl/GrMtlGpu.h b/src/gpu/mtl/GrMtlGpu.h index fedce6ee6c..6b2f3c2933 100644 --- a/src/gpu/mtl/GrMtlGpu.h +++ b/src/gpu/mtl/GrMtlGpu.h @@ -31,12 +31,6 @@ public: id<MTLDevice> device() const { return fDevice; } - bool onGetReadPixelsInfo(GrSurface* srcSurface, GrSurfaceOrigin origin, int readWidth, - int readHeight, size_t rowBytes, GrColorType readConfig, - DrawPreference*, ReadPixelTempDrawInfo*) override { - return false; - } - bool onGetWritePixelsInfo(GrSurface* dstSurface, GrSurfaceOrigin dstOrigin, int width, int height, GrColorType srcColorType, DrawPreference*, WritePixelTempDrawInfo*) override { |