| 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 1348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1359 #ifdef GL_GLEXT_PROTOTYPES | 1359 #ifdef GL_GLEXT_PROTOTYPES |
| 1360 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM) | 1360 #define glPostSubBufferCHROMIUM GLES2_GET_FUN(PostSubBufferCHROMIUM) |
| 1361 #if !defined(GLES2_USE_CPP_BINDINGS) | 1361 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 1362 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint wid
th, GLint height); | 1362 GL_APICALL void GL_APIENTRY glPostSubBufferCHROMIUM (GLint x, GLint y, GLint wid
th, GLint height); |
| 1363 #endif | 1363 #endif |
| 1364 #else | 1364 #else |
| 1365 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUM) (GLint x, GLint y, GLint
width, GLint height); | 1365 typedef void (GL_APIENTRYP PFNGLPOSTSUBBUFFERCHROMIUM) (GLint x, GLint y, GLint
width, GLint height); |
| 1366 #endif | 1366 #endif |
| 1367 #endif | 1367 #endif |
| 1368 | 1368 |
| 1369 /* GL_CHROMIUM_front_buffer_cached */ |
| 1370 /* This extension implies that there is a cache of the front buffer of the |
| 1371 * surface supporting this extension (e.g. on OSX the front buffer |
| 1372 * is often backed by an IOSurface). Hence we do not need to redraw |
| 1373 * (via a SwapBuffers) in order to display the last frame. |
| 1374 */ |
| 1375 #ifndef GL_CHROMIUM_front_buffer_cached |
| 1376 #define GL_CHROMIUM_front_buffer_cached 1 |
| 1377 #endif |
| 1378 |
| 1369 /* GL_ARB_robustness */ | 1379 /* GL_ARB_robustness */ |
| 1370 /* This extension is subsetted for the moment, incorporating only the | 1380 /* This extension is subsetted for the moment, incorporating only the |
| 1371 * enums necessary to describe the reasons that we might encounter for | 1381 * enums necessary to describe the reasons that we might encounter for |
| 1372 * losing the context. The entry point querying the reset status is | 1382 * losing the context. The entry point querying the reset status is |
| 1373 * not yet incorporated; to do so, a spec will be needed of a GLES2 | 1383 * not yet incorporated; to do so, a spec will be needed of a GLES2 |
| 1374 * subset of GL_ARB_robustness. | 1384 * subset of GL_ARB_robustness. |
| 1375 */ | 1385 */ |
| 1376 #ifndef GL_ARB_robustness | 1386 #ifndef GL_ARB_robustness |
| 1377 #define GL_ARB_robustness 1 | 1387 #define GL_ARB_robustness 1 |
| 1378 #ifndef GL_GUILTY_CONTEXT_RESET_ARB | 1388 #ifndef GL_GUILTY_CONTEXT_RESET_ARB |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 #else | 1444 #else |
| 1435 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs
izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane); | 1445 typedef void (GL_APIENTRYP PFNGLTEXIMAGEIOSURFACE2DCHROMIUM) (GLenum target, GLs
izei width, GLsizei height, GLuint ioSurfaceId, GLuint plane); |
| 1436 #endif | 1446 #endif |
| 1437 #endif | 1447 #endif |
| 1438 | 1448 |
| 1439 #ifdef __cplusplus | 1449 #ifdef __cplusplus |
| 1440 } | 1450 } |
| 1441 #endif | 1451 #endif |
| 1442 | 1452 |
| 1443 #endif /* __gl2ext_h_ */ | 1453 #endif /* __gl2ext_h_ */ |
| OLD | NEW |