• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2019 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 GrShaderUtils_DEFINED
9 #define GrShaderUtils_DEFINED
10 
11 #include "include/core/SkTypes.h"
12 #include "include/gpu/GrContextOptions.h"
13 #include "src/sksl/SkSLString.h"
14 
15 namespace GrShaderUtils {
16 
17 SkSL::String PrettyPrint(const SkSL::String& string);
18 void PrintLineByLine(const char* header, const SkSL::String& text);
19 GrContextOptions::ShaderErrorHandler* DefaultShaderErrorHandler();
20 
21 }
22 
23 #endif
24