OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 | 7 |
8 #include "gl/GrGLExtensions.h" | 8 #include "gl/GrGLExtensions.h" |
9 #include "gl/GrGLDefines.h" | 9 #include "gl/GrGLDefines.h" |
10 #include "gl/GrGLUtil.h" | 10 #include "gl/GrGLUtil.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 SkTQSort(&fStrings->front(), &fStrings->back(), cmp); | 131 SkTQSort(&fStrings->front(), &fStrings->back(), cmp); |
132 } | 132 } |
133 } | 133 } |
134 | 134 |
135 void GrGLExtensions::print(const char* sep) const { | 135 void GrGLExtensions::print(const char* sep) const { |
136 if (NULL == sep) { | 136 if (NULL == sep) { |
137 sep = " "; | 137 sep = " "; |
138 } | 138 } |
139 int cnt = fStrings->count(); | 139 int cnt = fStrings->count(); |
140 for (int i = 0; i < cnt; ++i) { | 140 for (int i = 0; i < cnt; ++i) { |
141 GrPrintf("%s%s", (*fStrings)[i].c_str(), (i < cnt - 1) ? sep : ""); | 141 SkDebugf("%s%s", (*fStrings)[i].c_str(), (i < cnt - 1) ? sep : ""); |
142 } | 142 } |
143 } | 143 } |
OLD | NEW |