Ejemplo n.º 1
0
SkString PrettyPrintGLSL(const char** strings,
                         int* lengths,
                         int count,
                         bool countlines) {
    GLSLPrettyPrint pp;
    return pp.prettify(strings, lengths, count, countlines);
}
Ejemplo n.º 2
0
SkSL::String PrettyPrint(const SkSL::String& string) {
    GLSLPrettyPrint pp;
    return pp.prettify(string);
}
Ejemplo n.º 3
0
SkString PrettyPrintGLSL(const SkString& input, bool countlines) {
    GLSLPrettyPrint pp;
    return pp.prettify(input, countlines);
}