OLD | NEW |
1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
3 | 3 |
4 /* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */ | 4 /* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */ |
5 | 5 |
6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
7 extern "C" { | 7 extern "C" { |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 #ifdef GL_GLEXT_PROTOTYPES | 915 #ifdef GL_GLEXT_PROTOTYPES |
916 #define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM) | 916 #define glResizeCHROMIUM GLES2_GET_FUN(ResizeCHROMIUM) |
917 #if !defined(GLES2_USE_CPP_BINDINGS) | 917 #if !defined(GLES2_USE_CPP_BINDINGS) |
918 GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint height); | 918 GL_APICALL void GL_APIENTRY glResizeCHROMIUM (GLuint width, GLuint height); |
919 #endif | 919 #endif |
920 #else | 920 #else |
921 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUM) (GLuint width, GLuint height); | 921 typedef void (GL_APIENTRYP PFNGLRESIZECHROMIUM) (GLuint width, GLuint height); |
922 #endif | 922 #endif |
923 #endif | 923 #endif |
924 | 924 |
| 925 /* GL_CHROMIUM_request_extension */ |
| 926 /* |
| 927 * This extension allows other extensions to be turned on at run time. |
| 928 * |
| 929 * glGetRequestableExtensionsCHROMIUM returns a space-separated and |
| 930 * null-terminated string containing all of the extension names that |
| 931 * can be successfully requested on the current hardware. It does not |
| 932 * return the names of extensions that have already been enabled. |
| 933 * |
| 934 * glRequestExtensionCHROMIUM requests that the given extension be |
| 935 * enabled. Call glGetString(GL_EXTENSIONS) to find out whether the |
| 936 * extension request succeeded. |
| 937 */ |
| 938 #ifndef GL_CHROMIUM_request_extension |
| 939 #define GL_CHROMIUM_request_extension 1 |
| 940 #ifdef GL_GLEXT_PROTOTYPES |
| 941 #define glGetRequestableExtensionsCHROMIUM GLES2_GET_FUN(GetRequestableExtension
sCHROMIUM) |
| 942 #define glRequestExtensionCHROMIUM GLES2_GET_FUN(RequestExtensionCHROMIUM) |
| 943 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 944 GL_APICALL const GLchar* GL_APIENTRY glGetRequestableExtensionsCHROMIUM (void); |
| 945 GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const GLchar *extension)
; |
| 946 #endif |
| 947 #else |
| 948 typedef const GLchar* (GL_APIENTRYP PFNGLGETREQUESTABLEEXTENSIONSCHROMIUM) (void
); |
| 949 typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUM) (const GLchar *extensi
on); |
| 950 #endif |
| 951 #endif |
| 952 |
925 | 953 |
926 #ifdef __cplusplus | 954 #ifdef __cplusplus |
927 } | 955 } |
928 #endif | 956 #endif |
929 | 957 |
930 #endif /* __gl2ext_h_ */ | 958 #endif /* __gl2ext_h_ */ |
931 | 959 |
OLD | NEW |