OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 #include "gl/GrGLSLPrettyPrint.h" | 7 #include "gl/GrGLSLPrettyPrint.h" |
8 | 8 |
9 namespace GrGLSLPrettyPrint { | 9 namespace GrGLSLPrettyPrint { |
10 | 10 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 size_t fIndex, fLength; | 164 size_t fIndex, fLength; |
165 SkString fInput, fPretty; | 165 SkString fInput, fPretty; |
166 }; | 166 }; |
167 | 167 |
168 SkString PrettyPrintGLSL(const SkString& input, bool countlines) { | 168 SkString PrettyPrintGLSL(const SkString& input, bool countlines) { |
169 GLSLPrettyPrint pp; | 169 GLSLPrettyPrint pp; |
170 return pp.prettify(input, countlines); | 170 return pp.prettify(input, countlines); |
171 } | 171 } |
172 | 172 |
173 } // end namespace | 173 } // end namespace |
OLD | NEW |