Flutter Engine
The Flutter Engine
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
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.
17 sk_cfp<GrMTLHandle> fDevice;
18 sk_cfp<GrMTLHandle> fQueue;
19};
20
21#endif
#define SK_API
Definition: SkAPI.h:35
sk_cfp< GrMTLHandle > fDevice
sk_cfp< GrMTLHandle > fQueue