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 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1975 | 1975 |
1976 /* GL_CHROMIUM_command_buffer_query */ | 1976 /* GL_CHROMIUM_command_buffer_query */ |
1977 /* Exposes GL_CHROMIUM_command_buffer_query. | 1977 /* Exposes GL_CHROMIUM_command_buffer_query. |
1978 */ | 1978 */ |
1979 #ifndef GL_CHROMIUM_command_buffer_query | 1979 #ifndef GL_CHROMIUM_command_buffer_query |
1980 #define GL_CHROMIUM_command_buffer_query 1 | 1980 #define GL_CHROMIUM_command_buffer_query 1 |
1981 // TODO(gman): Get official numbers for these constants. | 1981 // TODO(gman): Get official numbers for these constants. |
1982 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 | 1982 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 |
1983 #endif | 1983 #endif |
1984 | 1984 |
| 1985 /* GL_CHROMIUM_texture_mailbox */ |
| 1986 #ifndef GL_CHROMIUM_texture_mailbox |
| 1987 #define GL_CHROMIUM_texture_mailbox 1 |
| 1988 #define GL_MAILBOX_SIZE_CHROMIUM 32 |
| 1989 #ifdef GL_GLEXT_PROTOTYPES |
| 1990 #define glGenMailboxCHROMIUM GLES2_GET_FUN(GenMailboxCHROMIUM) |
| 1991 #define glProduceTextureCHROMIUM GLES2_GET_FUN(ProduceTextureCHROMIUM) |
| 1992 #define glConsumeTextureCHROMIUM GLES2_GET_FUN(ConsumeTextureCHROMIUM) |
| 1993 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 1994 GL_APICALL void GL_APIENTRY glGenMailboxCHROMIUM (GLbyte* mailbox); |
| 1995 GL_APICALL void GL_APIENTRY glProduceTextureCHROMIUM (GLenum target, const GLbyt
e* mailbox); |
| 1996 GL_APICALL void GL_APIENTRY glConsumeTextureCHROMIUM (GLenum target, const GLby
te* mailbox); |
| 1997 #endif |
| 1998 #else |
| 1999 typedef void (GL_APIENTRYP PFNGLGENMAILBOXCHROMIUM) (GLbyte* mailbox); |
| 2000 typedef void (GL_APIENTRYP PFNGLPRODUCETEXTURECHROMIUM) (GLenum target, const GL
byte* mailbox); |
| 2001 typedef void (GL_APIENTRYP PFNGLCONSUMETEXTURECHROMIUM) (GLenum target, const G
Lbyte* mailbox); |
| 2002 #endif |
| 2003 #endif |
| 2004 |
1985 #ifdef __cplusplus | 2005 #ifdef __cplusplus |
1986 } | 2006 } |
1987 #endif | 2007 #endif |
1988 | 2008 |
1989 #endif /* __gl2ext_h_ */ | 2009 #endif /* __gl2ext_h_ */ |
OLD | NEW |