コード例 #1
0
ファイル: GrGLSLPrettyPrint.cpp プロジェクト: 03050903/skia
SkString PrettyPrintGLSL(const char** strings,
                         int* lengths,
                         int count,
                         bool countlines) {
    GLSLPrettyPrint pp;
    return pp.prettify(strings, lengths, count, countlines);
}
コード例 #2
0
ファイル: GrShaderUtils.cpp プロジェクト: google/skia
SkSL::String PrettyPrint(const SkSL::String& string) {
    GLSLPrettyPrint pp;
    return pp.prettify(string);
}
コード例 #3
0
ファイル: GrGLSLPrettyPrint.cpp プロジェクト: 3rdexp/soui
SkString PrettyPrintGLSL(const SkString& input, bool countlines) {
    GLSLPrettyPrint pp;
    return pp.prettify(input, countlines);
}