diff options
author | Brian Salomon <bsalomon@google.com> | 2017-10-13 12:52:17 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-13 17:02:07 +0000 |
commit | 3727136ab14ba73b3f0879b3251a9c35de88f49e (patch) | |
tree | 74d772c1971eafb328ae1a118e89e0417ba00365 | |
parent | ce4a389aa89642ed9a13765bd7e4495dceae701e (diff) |
Implemenet onStealBackendTexture in GrMtlTexture
TBR=egdaniel@google.com
NOTRY=true
Change-Id: I95eb405ccf7344426f1b6b8b34f221cbcd780358
Reviewed-on: https://skia-review.googlesource.com/59603
Reviewed-by: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
-rw-r--r-- | src/gpu/mtl/GrMtlTexture.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/mtl/GrMtlTexture.h b/src/gpu/mtl/GrMtlTexture.h index 39194ec26e..3f223d5d52 100644 --- a/src/gpu/mtl/GrMtlTexture.h +++ b/src/gpu/mtl/GrMtlTexture.h @@ -52,6 +52,10 @@ protected: fTexture = nil; } + bool onStealBackendTexture(GrBackendTexture*, SkImage::BackendTextureReleaseProc*) override { + return false; + } + private: enum Wrapped { kWrapped }; GrMtlTexture(GrMtlGpu*, SkBudgeted, const GrSurfaceDesc&, id<MTLTexture>, GrMipMapsStatus); |