• 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_RUNTIME_EFFECTS
9 #define SKSL_DSL_RUNTIME_EFFECTS
10 
11 #include "include/sksl/DSL.h"
12 
13 class SkRuntimeEffect;
14 
15 namespace SkSL {
16 
17 class Compiler;
18 
19 namespace dsl {
20 
21 #ifndef SKSL_STANDALONE
22 
23 void StartRuntimeShader(SkSL::Compiler* compiler);
24 
25 sk_sp<SkRuntimeEffect> EndRuntimeShader();
26 
27 #endif
28 
29 } // namespace dsl
30 
31 } // namespace SkSL
32 
33 #endif
34