Flutter Engine
The Flutter Engine
third_party
skia
include
gpu
graphite
mtl
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
13
#include "
include/private/base/SkAPI.h
"
14
15
namespace
skgpu::graphite
{
16
17
class
Context
;
18
struct
ContextOptions;
19
struct
MtlBackendContext;
20
21
namespace
ContextFactory {
22
SK_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
SkAPI.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
skgpu::graphite::ContextFactory::MakeMetal
SK_API std::unique_ptr< Context > MakeMetal(const MtlBackendContext &, const ContextOptions &)
Definition:
MtlGraphiteUtils.mm:23
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
Context
Definition:
SerialProcsTest.cpp:126
Generated on Sun Jun 23 2024 21:56:02 for Flutter Engine by
1.9.4