aboutsummaryrefslogtreecommitdiff
path: root/src/deps/skia/include/gpu/gl/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/deps/skia/include/gpu/gl/glx')
-rw-r--r--src/deps/skia/include/gpu/gl/glx/BUILD.bazel11
-rw-r--r--src/deps/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h14
2 files changed, 25 insertions, 0 deletions
diff --git a/src/deps/skia/include/gpu/gl/glx/BUILD.bazel b/src/deps/skia/include/gpu/gl/glx/BUILD.bazel
new file mode 100644
index 000000000..c336d4974
--- /dev/null
+++ b/src/deps/skia/include/gpu/gl/glx/BUILD.bazel
@@ -0,0 +1,11 @@
+load("//bazel:macros.bzl", "generated_cc_atom")
+
+generated_cc_atom(
+ name = "GrGLMakeGLXInterface_hdr",
+ hdrs = ["GrGLMakeGLXInterface.h"],
+ visibility = ["//:__subpackages__"],
+ deps = [
+ "//include/core:SkRefCnt_hdr",
+ "//include/gpu:GrTypes_hdr",
+ ],
+)
diff --git a/src/deps/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h b/src/deps/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h
new file mode 100644
index 000000000..b49cde458
--- /dev/null
+++ b/src/deps/skia/include/gpu/gl/glx/GrGLMakeGLXInterface.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2021 Google LLC
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "include/gpu/GrTypes.h"
+
+#include "include/core/SkRefCnt.h"
+
+struct GrGLInterface;
+
+sk_sp<const GrGLInterface> GrGLMakeGLXInterface();