aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mtl/GrMtlTrampoline.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/mtl/GrMtlTrampoline.mm')
-rw-r--r--src/gpu/mtl/GrMtlTrampoline.mm17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/gpu/mtl/GrMtlTrampoline.mm b/src/gpu/mtl/GrMtlTrampoline.mm
new file mode 100644
index 0000000000..ea91ebb827
--- /dev/null
+++ b/src/gpu/mtl/GrMtlTrampoline.mm
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "GrMtlTrampoline.h"
+
+#include "GrMtlGpu.h"
+
+GrGpu* GrMtlTrampoline::CreateGpu(GrBackendContext backendContext,
+ const GrContextOptions& options,
+ GrContext* context) {
+ return GrMtlGpu::Create(backendContext, options, context);
+}
+