OLD | NEW |
1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
3 | 3 |
4 /* $Revision: 19436 $ on $Date:: 2012-10-10 10:37:04 -0700 #$ */ | 4 /* $Revision: 19436 $ on $Date:: 2012-10-10 10:37:04 -0700 #$ */ |
5 | 5 |
6 #include <GLES2/gl2chromium.h> | 6 #include <GLES2/gl2chromium.h> |
7 | 7 |
8 #ifdef __cplusplus | 8 #ifdef __cplusplus |
9 extern "C" { | 9 extern "C" { |
10 #endif | 10 #endif |
(...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2166 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x88EF | 2166 #define GL_PIXEL_UNPACK_TRANSFER_BUFFER_BINDING_CHROMIUM 0x88EF |
2167 #endif | 2167 #endif |
2168 | 2168 |
2169 /* GL_CHROMIUM_async_pixel_transfers */ | 2169 /* GL_CHROMIUM_async_pixel_transfers */ |
2170 #ifndef GL_CHROMIUM_async_pixel_transfers | 2170 #ifndef GL_CHROMIUM_async_pixel_transfers |
2171 #define GL_CHROMIUM_async_pixel_transfers 1 | 2171 #define GL_CHROMIUM_async_pixel_transfers 1 |
2172 // TODO: Get official numbers for these constants. | 2172 // TODO: Get official numbers for these constants. |
2173 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5 | 2173 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5 |
2174 #endif | 2174 #endif |
2175 | 2175 |
| 2176 /* GL_CHROMIUM_lose_context */ |
| 2177 #ifndef GL_CHROMIUM_lose_context |
| 2178 #define GL_CHROMIUM_lose_context 1 |
| 2179 #ifdef GL_GLEXT_PROTOTYPES |
| 2180 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM (GLenum current, GLenum other)
; |
| 2181 #endif |
| 2182 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUM) (GLenum current, GLenum oth
er); |
| 2183 #endif |
| 2184 |
2176 #ifdef __cplusplus | 2185 #ifdef __cplusplus |
2177 } | 2186 } |
2178 #endif | 2187 #endif |
2179 | 2188 |
2180 #endif /* __gl2ext_h_ */ | 2189 #endif /* __gl2ext_h_ */ |
OLD | NEW |