From 3727136ab14ba73b3f0879b3251a9c35de88f49e Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Fri, 13 Oct 2017 12:52:17 -0400 Subject: 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 Reviewed-by: Brian Salomon Commit-Queue: Brian Salomon --- src/gpu/mtl/GrMtlTexture.h | 4 ++++ 1 file changed, 4 insertions(+) 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, GrMipMapsStatus); -- cgit v1.2.3