| OLD | NEW |
| 1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
| 2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
| 3 | 3 |
| 4 /* $Revision: 15049 $ on $Date:: 2011-07-06 17:28:16 -0700 #$ */ | 4 /* $Revision: 15049 $ on $Date:: 2011-07-06 17:28:16 -0700 #$ */ |
| 5 | 5 |
| 6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
| 7 extern "C" { | 7 extern "C" { |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 /* | 10 /* |
| (...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1342 #ifdef GL_GLEXT_PROTOTYPES | 1342 #ifdef GL_GLEXT_PROTOTYPES |
| 1343 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM) | 1343 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM) |
| 1344 #if !defined(GLES2_USE_CPP_BINDINGS) | 1344 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 1345 GL_APICALL void GL_APIENTRY glEnableFeatureCHROMIUM (const GLchar *feature); | 1345 GL_APICALL void GL_APIENTRY glEnableFeatureCHROMIUM (const GLchar *feature); |
| 1346 #endif | 1346 #endif |
| 1347 #else | 1347 #else |
| 1348 typedef void (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUM) (const GLchar *feature); | 1348 typedef void (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUM) (const GLchar *feature); |
| 1349 #endif | 1349 #endif |
| 1350 #endif | 1350 #endif |
| 1351 | 1351 |
| 1352 /* GL_CHROMIUM_post_sub_buffer */ |
| 1353 #ifndef GL_CHROMIUM_post_sub_buffer |
| 1354 #define GL_CHROMIUM_post_sub_buffer 1 |
| 1355 #ifdef GL_GLEXT_PROTOTYPES |
| 1356 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM) |
| 1357 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 1358 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint wid
th, GLint height); |
| 1359 #endif |
| 1360 #else |
| 1361 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUM) (GLint x, GLint y, GLint
width, GLint height); |
| 1362 #endif |
| 1363 #endif |
| 1364 |
| 1352 /* GL_ARB_robustness */ | 1365 /* GL_ARB_robustness */ |
| 1353 /* This extension is subsetted for the moment, incorporating only the | 1366 /* This extension is subsetted for the moment, incorporating only the |
| 1354 * enums necessary to describe the reasons that we might encounter for | 1367 * enums necessary to describe the reasons that we might encounter for |
| 1355 * losing the context. The entry point querying the reset status is | 1368 * losing the context. The entry point querying the reset status is |
| 1356 * not yet incorporated; to do so, a spec will be needed of a GLES2 | 1369 * not yet incorporated; to do so, a spec will be needed of a GLES2 |
| 1357 * subset of GL_ARB_robustness. | 1370 * subset of GL_ARB_robustness. |
| 1358 */ | 1371 */ |
| 1359 #ifndef GL_ARB_robustness | 1372 #ifndef GL_ARB_robustness |
| 1360 #define GL_ARB_robustness 1 | 1373 #define GL_ARB_robustness 1 |
| 1361 #ifndef GL_GUILTY_CONTEXT_RESET_ARB | 1374 #ifndef GL_GUILTY_CONTEXT_RESET_ARB |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1382 #endif | 1395 #endif |
| 1383 #endif | 1396 #endif |
| 1384 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad
er, GLsizei bufsize, GLsizei* length, GLchar* source); | 1397 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad
er, GLsizei bufsize, GLsizei* length, GLchar* source); |
| 1385 #endif | 1398 #endif |
| 1386 | 1399 |
| 1387 #ifdef __cplusplus | 1400 #ifdef __cplusplus |
| 1388 } | 1401 } |
| 1389 #endif | 1402 #endif |
| 1390 | 1403 |
| 1391 #endif /* __gl2ext_h_ */ | 1404 #endif /* __gl2ext_h_ */ |
| OLD | NEW |