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 #ifndef GrGLExtensions_DEFINED | 8 #ifndef GrGLExtensions_DEFINED |
9 #define GrGLExtensions_DEFINED | 9 #define GrGLExtensions_DEFINED |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... | |
32 GrGLGetStringProc getString, | 32 GrGLGetStringProc getString, |
33 GrGLGetStringiProc getStringi, | 33 GrGLGetStringiProc getStringi, |
34 GrGLGetIntegervProc getIntegerv); | 34 GrGLGetIntegervProc getIntegerv); |
35 | 35 |
36 /** | 36 /** |
37 * Queries whether an extension is present. This will fail if init() has not been called. | 37 * Queries whether an extension is present. This will fail if init() has not been called. |
38 */ | 38 */ |
39 bool has(const char*) const; | 39 bool has(const char*) const; |
40 | 40 |
41 void reset() { fStrings.reset(); } | 41 void reset() { fStrings.reset(); } |
42 | 42 |
robertphillips
2013/05/02 19:39:14
const char * -> char?
bsalomon
2013/05/02 19:41:59
You might want ", " or something.
| |
43 void print(const char* sep = "\n") const; | |
44 | |
43 private: | 45 private: |
44 SkTArray<SkString> fStrings; | 46 SkTArray<SkString> fStrings; |
45 }; | 47 }; |
46 | 48 |
47 #endif | 49 #endif |
OLD | NEW |