aboutsummaryrefslogtreecommitdiff
path: root/src/deps/skia/include/sksl/DSL.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/deps/skia/include/sksl/DSL.h')
-rw-r--r--src/deps/skia/include/sksl/DSL.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/deps/skia/include/sksl/DSL.h b/src/deps/skia/include/sksl/DSL.h
new file mode 100644
index 000000000..a8c8f5285
--- /dev/null
+++ b/src/deps/skia/include/sksl/DSL.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SKSL_DSL
+#define SKSL_DSL
+
+#include "include/sksl/DSLCore.h"
+
+namespace SkSL {
+
+namespace dsl {
+
+using Block = DSLBlock;
+using Case = DSLCase;
+using Expression = DSLExpression;
+using Field = DSLField;
+using Function = DSLFunction;
+using GlobalVar = DSLGlobalVar;
+using Layout = DSLLayout;
+using Modifiers = DSLModifiers;
+using Parameter = DSLParameter;
+using Statement = DSLStatement;
+using Var = DSLVar;
+template<typename T> using Wrapper = DSLWrapper<T>;
+
+} // namespace dsl
+
+} // namespace SkSL
+
+#endif