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 &)
const MtlCaps & mtlCaps() const
~MtlSharedContext() override
id< MTLDevice > device() const
const Caps * caps() const