OLD | NEW |
1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
3 | 3 |
4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ | 4 /* $Revision: 16619 $ on $Date:: 2012-01-18 10:00:14 -0800 #$ */ |
5 | 5 |
6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
7 extern "C" { | 7 extern "C" { |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2030 #ifdef GL_GLEXT_PROTOTYPES | 2030 #ifdef GL_GLEXT_PROTOTYPES |
2031 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM) | 2031 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM) |
2032 #if !defined(GLES2_USE_CPP_BINDINGS) | 2032 #if !defined(GLES2_USE_CPP_BINDINGS) |
2033 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint
location, const GLchar* name); | 2033 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint
location, const GLchar* name); |
2034 #endif | 2034 #endif |
2035 #else | 2035 #else |
2036 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL
int location, const GLchar* name); | 2036 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL
int location, const GLchar* name); |
2037 #endif | 2037 #endif |
2038 #endif | 2038 #endif |
2039 | 2039 |
| 2040 /* GL_CHROMIUM_texture_from_image */ |
| 2041 #ifndef GL_CHROMIUM_texture_from_image |
| 2042 #define GL_CHROMIUM_texture_from_image 1 |
| 2043 #ifdef GL_GLEXT_PROTOTYPES |
| 2044 #define glBindTexImage2DCHROMIUM GLES2_GET_FUN(BindTexImage2DCHROMIUM) |
| 2045 #define glReleaseTexImage2DCHROMIUM GLES2_GET_FUN(ReleaseTexImage2DCHROMIUM) |
| 2046 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 2047 GL_APICALL void GL_APIENTRY glBindTexImage2DCHROMIUM (GLenum target, GLint image
Id); |
| 2048 GL_APICALL void GL_APIENTRY glReleaseTexImage2DCHROMIUM (GLenum target, GLint im
ageId); |
| 2049 #endif |
| 2050 #else |
| 2051 typedef void (GL_APIENTRYP PFNGLBINDTEXIMAGE2DCHROMIUM) (GLenum target, GLint im
ageId); |
| 2052 typedef void (GL_APIENTRYP PFNGLRELEASETEXIMAGE2DCHROMIUM) (GLenum target, GLint
imageId); |
| 2053 #endif |
| 2054 #endif |
| 2055 |
2040 #ifdef __cplusplus | 2056 #ifdef __cplusplus |
2041 } | 2057 } |
2042 #endif | 2058 #endif |
2043 | 2059 |
2044 #endif /* __gl2ext_h_ */ | 2060 #endif /* __gl2ext_h_ */ |
OLD | NEW |