Flutter Engine
The Flutter Engine
MtlGraphiteUtils.h
Go to the documentation of this file.
1/*
2 * Copyright 2022 Google LLC
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef skgpu_graphite_MtlGraphiteUtils_DEFINED
9#define skgpu_graphite_MtlGraphiteUtils_DEFINED
10
11#include <memory>
12
14
15namespace skgpu::graphite {
16
17class Context;
18struct ContextOptions;
19struct MtlBackendContext;
20
21namespace ContextFactory {
22SK_API std::unique_ptr<Context> MakeMetal(const MtlBackendContext&, const ContextOptions&);
23} // namespace ContextFactory
24
25} // namespace skgpu::graphite
26
27#endif // skgpu_graphite_MtlGraphiteUtils_DEFINED
#define SK_API
Definition: SkAPI.h:35
SK_API std::unique_ptr< Context > MakeMetal(const MtlBackendContext &, const ContextOptions &)