8#ifndef SkShaderUtils_DEFINED
9#define SkShaderUtils_DEFINED
24 const std::function<
void(
int lineNumber,
const char* lineText)>&);
29 SkDebugf(
"%4i\t%s\n", lineNumber, lineText);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
Dart_NativeFunction function
std::string PrettyPrint(const std::string &string)
void VisitLineByLine(const std::string &text, const std::function< void(int lineNumber, const char *lineText)> &visitFn)
void PrintShaderBanner(SkSL::ProgramKind programKind)
std::string BuildShaderErrorMessage(const char *shader, const char *errors)
void PrintLineByLine(const std::string &text)