blob: 227c643d42bc9dce4822a28867d4b62a7ca7c6bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrMtlTrampoline_DEFINED
#define GrMtlTrampoline_DEFINED
#include "GrTypes.h"
#include "SkRefCnt.h"
class GrContext;
class GrGpu;
struct GrContextOptions;
/*
* This class is used to hold functions which trampoline from the Ganesh cpp code to the GrMtl
* objective-c files.
*/
class GrMtlTrampoline {
public:
static sk_sp<GrGpu> MakeGpu(GrContext*, const GrContextOptions&, void* device, void* queue);
};
#endif
|