• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2021 Google LLC.
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 SKSL_DSL_PRIV
9 #define SKSL_DSL_PRIV
10 
11 #include "include/private/SkSLProgramKind.h"
12 #include "src/sksl/SkSLParsedModule.h"
13 
14 namespace SkSL {
15 
16 class Compiler;
17 struct ProgramSettings;
18 
19 namespace dsl {
20 
21 /**
22  * Initializes the DSL for compiling modules (SkSL include files).
23  */
24 void StartModule(SkSL::Compiler* compiler, SkSL::ProgramKind kind,
25                  const SkSL::ProgramSettings& settings, SkSL::ParsedModule baseModule);
26 
27 } // namespace dsl
28 
29 } // namespace SkSL
30 
31 #endif
32