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 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1998 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const GLbyt
e* mailbox); | 1998 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const GLbyt
e* mailbox); |
1999 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const GLby
te* mailbox); | 1999 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const GLby
te* mailbox); |
2000 #endif | 2000 #endif |
2001 #else | 2001 #else |
2002 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (GLbyte* mailbox); | 2002 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (GLbyte* mailbox); |
2003 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const GL
byte* mailbox); | 2003 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const GL
byte* mailbox); |
2004 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const G
Lbyte* mailbox); | 2004 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const G
Lbyte* mailbox); |
2005 #endif | 2005 #endif |
2006 #endif | 2006 #endif |
2007 | 2007 |
2008 /* GL_CHROMIUM_consistent_uniform_locations */ | 2008 /* GL_CHROMIUM_bind_uniform_location */ |
2009 #ifndef GL_CHROMIUM_consistent_uniform_locations | 2009 #ifndef GL_CHROMIUM_bind_uniform_location |
2010 #define GL_CHROMIUM_consistent_uniform_locations 1 | 2010 #define GL_CHROMIUM_bind_uniform_location 1 |
2011 | |
2012 struct GLUniformDefinitionCHROMIUM { | |
2013 GLenum type; | |
2014 GLsizei size; | |
2015 const GLchar* name; | |
2016 }; | |
2017 | 2011 |
2018 #ifdef GL_GLEXT_PROTOTYPES | 2012 #ifdef GL_GLEXT_PROTOTYPES |
2019 #define glGetUniformLocationsCHROMIUM GLES2_GET_FUN(GetUniformLocationsCHROMIUM) | 2013 #define glBindUniformLocationCHROMIUM GLES2_GET_FUN(BindUniformLocationCHROMIUM) |
2020 #if !defined(GLES2_USE_CPP_BINDINGS) | 2014 #if !defined(GLES2_USE_CPP_BINDINGS) |
2021 GL_APICALL void GL_APIENTRY glGetUniformLocationsCHROMIUM (GLuint program, const
GLUniformDefinitionCHROMIUM* uniforms, GLsizei count, GLsizei max_locations, GL
int* locations); | 2015 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM (GLuint program, GLint
location, const GLchar* name); |
2022 #endif | 2016 #endif |
2023 #else | 2017 #else |
2024 typedef void (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONSCHROMIUM) (GLuint program, co
nst GLUniformDefinitionCHROMIUM* uniforms, GLsizei count, GLsizei max_locations,
GLint* locations); | 2018 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUM) (GLuint program, GL
int location, const GLchar* name); |
2025 #endif | 2019 #endif |
2026 #endif | 2020 #endif |
2027 | 2021 |
2028 #ifdef __cplusplus | 2022 #ifdef __cplusplus |
2029 } | 2023 } |
2030 #endif | 2024 #endif |
2031 | 2025 |
2032 #endif /* __gl2ext_h_ */ | 2026 #endif /* __gl2ext_h_ */ |
OLD | NEW |