diff options
Diffstat (limited to 'gfx/skia/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h')
-rw-r--r-- | gfx/skia/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gfx/skia/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h b/gfx/skia/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h new file mode 100644 index 0000000000..681f0867ae --- /dev/null +++ b/gfx/skia/skia/include/gpu/graphite/mtl/MtlGraphiteUtils.h @@ -0,0 +1,25 @@ +/* + * 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_MtlGraphiteUtils_DEFINED +#define skgpu_graphite_MtlGraphiteUtils_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_MtlGraphiteUtils_DEFINED |