Flutter Engine
The Flutter Engine
third_party
skia
include
gpu
ganesh
mtl
GrMtlBackendContext.h
Go to the documentation of this file.
1
/*
2
* Copyright 2020 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
#ifndef GrMtlBackendContext_DEFINED
9
#define GrMtlBackendContext_DEFINED
10
11
#include "
include/gpu/ganesh/mtl/GrMtlTypes.h
"
12
#include "
include/ports/SkCFObject.h
"
13
14
// The BackendContext contains all of the base Metal objects needed by the GrMtlGpu. The assumption
15
// is that the client will set these up and pass them to the GrMtlGpu constructor.
16
struct
SK_API
GrMtlBackendContext
{
17
sk_cfp<GrMTLHandle>
fDevice
;
18
sk_cfp<GrMTLHandle>
fQueue
;
19
};
20
21
#endif
GrMtlTypes.h
SK_API
#define SK_API
Definition:
SkAPI.h:35
SkCFObject.h
GrMtlBackendContext
Definition:
GrMtlBackendContext.h:16
GrMtlBackendContext::fDevice
sk_cfp< GrMTLHandle > fDevice
Definition:
GrMtlBackendContext.h:17
GrMtlBackendContext::fQueue
sk_cfp< GrMTLHandle > fQueue
Definition:
GrMtlBackendContext.h:18
Generated on Sun Jun 23 2024 21:56:02 for Flutter Engine by
1.9.4