8#ifndef skgpu_MtlMemoryAllocatorImpl_DEFINED
9#define skgpu_MtlMemoryAllocatorImpl_DEFINED
14#import <Metal/Metal.h>
43 id<MTLDevice> fDevice;
~MtlMemoryAllocatorImpl() override
id< MTLTexture > newTextureWithDescriptor(MTLTextureDescriptor *texDesc, sk_sp< skgpu::MtlAlloc > *allocation) override
id< MTLBuffer > newBufferWithLength(NSUInteger length, MTLResourceOptions options, sk_sp< skgpu::MtlAlloc > *allocation) override
static sk_sp< MtlMemoryAllocator > Make(id< MTLDevice >)