Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
ganesh
mtl
GrMtlTrampoline.mm
Go to the documentation of this file.
1
/*
2
* Copyright 2017 Google Inc.
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
#include "
src/gpu/ganesh/mtl/GrMtlTrampoline.h
"
9
10
#include "
src/gpu/ganesh/mtl/GrMtlGpu.h
"
11
12
#if !__has_feature(objc_arc)
13
#error This file must be compiled with Arc. Use -fobjc-arc flag
14
#endif
15
16
GR_NORETAIN_BEGIN
17
18
std::unique_ptr<GrGpu>
GrMtlTrampoline::MakeGpu
(
const
GrMtlBackendContext
& backendContext,
19
const
GrContextOptions
&
options
,
20
GrDirectContext
* direct) {
21
return
GrMtlGpu::Make
(backendContext,
options
, direct);
22
}
23
24
GR_NORETAIN_END
options
const char * options
Definition:
CommonFlagsConfig.cpp:43
GrMtlGpu.h
GrMtlTrampoline.h
GrDirectContext
Definition:
GrDirectContext.h:60
GrMtlGpu::Make
static std::unique_ptr< GrGpu > Make(const GrMtlBackendContext &, const GrContextOptions &, GrDirectContext *)
Definition:
GrMtlGpu.mm:56
GrMtlTrampoline::MakeGpu
static std::unique_ptr< GrGpu > MakeGpu(const GrMtlBackendContext &, const GrContextOptions &, GrDirectContext *)
Definition:
GrMtlTrampoline.mm:18
GrContextOptions
Definition:
GrContextOptions.h:23
GrMtlBackendContext
Definition:
GrMtlBackendContext.h:16
Generated on Sun Jun 23 2024 21:56:22 for Flutter Engine by
1.9.4