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 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2021 #ifdef GL_GLEXT_PROTOTYPES | 2021 #ifdef GL_GLEXT_PROTOTYPES |
2022 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM) | 2022 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM) |
2023 #if !defined(GLES2_USE_CPP_BINDINGS) | 2023 #if !defined(GLES2_USE_CPP_BINDINGS) |
2024 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint
location, const GLchar* name); | 2024 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint
location, const GLchar* name); |
2025 #endif | 2025 #endif |
2026 #else | 2026 #else |
2027 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL
int location, const GLchar* name); | 2027 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL
int location, const GLchar* name); |
2028 #endif | 2028 #endif |
2029 #endif | 2029 #endif |
2030 | 2030 |
| 2031 /* GL_CHROMIUM_texture_from_pixmap */ |
| 2032 /* Exposes the GLX-specfic glXBindTexImageEXT entry point as a |
| 2033 * Chromium extension in the cross-platform API. Binds the Pixmap with |
| 2034 * the given ID (an X11 Pixmap) to the texture bound to the given target. |
| 2035 */ |
| 2036 #ifndef GL_CHROMIUM_texture_from_pixmap |
| 2037 #define GL_CHROMIUM_texture_from_pixmap 1 |
| 2038 #ifdef GL_GLEXT_PROTOTYPES |
| 2039 #define glTexImagePixmap2DCHROMIUM GLES2_GET_FUN(TexImagePixmap2DCHROMIUM) |
| 2040 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 2041 GL_APICALL void GL_APIENTRY glTexImagePixmap2DCHROMIUM (GLenum target, GLuint pi
xmapId); |
| 2042 #endif |
| 2043 #else |
| 2044 typedef void (GL_APIENTRYP PFNGLTEXIMAGEPIXMAP2DCHROMIUM) (GLenum target, GLuint
pixmapId); |
| 2045 #endif |
| 2046 #endif |
| 2047 |
2031 #ifdef __cplusplus | 2048 #ifdef __cplusplus |
2032 } | 2049 } |
2033 #endif | 2050 #endif |
2034 | 2051 |
2035 #endif /* __gl2ext_h_ */ | 2052 #endif /* __gl2ext_h_ */ |
OLD | NEW |