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 1730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1741 typedef void* (GL_APIENTRYP PFNGLMAPTEXSUBIMAGE2DCHROMIUM) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLenum access); | 1741 typedef void* (GL_APIENTRYP PFNGLMAPTEXSUBIMAGE2DCHROMIUM) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum form
at, GLenum type, GLenum access); |
1742 typedef void (GL_APIENTRYP PFNGLUNMAPTEXSUBIMAGE2DCHROMIUM) (const void* mem); | 1742 typedef void (GL_APIENTRYP PFNGLUNMAPTEXSUBIMAGE2DCHROMIUM) (const void* mem); |
1743 #endif | 1743 #endif |
1744 | 1744 |
1745 /* GL_CHROMIUM_resize */ | 1745 /* GL_CHROMIUM_resize */ |
1746 #ifndef GL_CHROMIUM_resize | 1746 #ifndef GL_CHROMIUM_resize |
1747 #define GL_CHROMIUM_resize 1 | 1747 #define GL_CHROMIUM_resize 1 |
1748 #ifdef GL_GLEXT_PROTOTYPES | 1748 #ifdef GL_GLEXT_PROTOTYPES |
1749 #define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM) | 1749 #define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM) |
1750 #if !defined(GLES2_USE_CPP_BINDINGS) | 1750 #if !defined(GLES2_USE_CPP_BINDINGS) |
1751 GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint height); | 1751 GL_APICALL void GL_APIENTRY glResizeCHROMIUM ( |
| 1752 GLuint width, GLuint height, GLfloat scale_factor); |
1752 #endif | 1753 #endif |
1753 #else | 1754 #else |
1754 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUM) (GLuint width, GLuint height); | 1755 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUM) (GLuint width, GLuint height); |
1755 #endif | 1756 #endif |
1756 #endif | 1757 #endif |
1757 | 1758 |
1758 /* GL_CHROMIUM_request_extension */ | 1759 /* GL_CHROMIUM_request_extension */ |
1759 /* | 1760 /* |
1760 * This extension allows other extensions to be turned on at run time. | 1761 * This extension allows other extensions to be turned on at run time. |
1761 * | 1762 * |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1980 #define GL_CHROMIUM_command_buffer_query 1 | 1981 #define GL_CHROMIUM_command_buffer_query 1 |
1981 // TODO(gman): Get official numbers for these constants. | 1982 // TODO(gman): Get official numbers for these constants. |
1982 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 | 1983 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 |
1983 #endif | 1984 #endif |
1984 | 1985 |
1985 #ifdef __cplusplus | 1986 #ifdef __cplusplus |
1986 } | 1987 } |
1987 #endif | 1988 #endif |
1988 | 1989 |
1989 #endif /* __gl2ext_h_ */ | 1990 #endif /* __gl2ext_h_ */ |
OLD | NEW |