24 if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, *)) {
std::unique_ptr< ResourceProvider > makeResourceProvider(SingleOwner *, uint32_t recorderID, size_t resourceBudget) override
skgpu::MtlMemoryAllocator * memoryAllocator() const
static sk_sp< SharedContext > Make(const MtlBackendContext &, const ContextOptions &)
~MtlSharedContext() override
id< MTLDevice > device() const
const Caps * caps() const
GlobalCache * globalCache()
sk_cfp< CFTypeRef > fDevice