blob: d8dbbdae8b9f2b9f8c18579522d89f840a7627eb [file] [log] [blame]
/*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skgpu_graphite_MtlUtils_DEFINED
#define skgpu_graphite_MtlUtils_DEFINED
#include <memory>
namespace skgpu::graphite {
class Context;
struct ContextOptions;
struct MtlBackendContext;
namespace ContextFactory {
std::unique_ptr<Context> MakeMetal(const MtlBackendContext&, const ContextOptions&);
} // namespace ContextFactory
} // namespace skgpu::graphite
#endif // skgpu_graphite_MtlUtils_DEFINED