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 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 #define GL_CHROMIUM_texture_compression_dxt3 1 | 1039 #define GL_CHROMIUM_texture_compression_dxt3 1 |
1040 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 | 1040 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 |
1041 #endif | 1041 #endif |
1042 | 1042 |
1043 /* GL_CHROMIUM_texture_compression_dxt5 */ | 1043 /* GL_CHROMIUM_texture_compression_dxt5 */ |
1044 #ifndef GL_CHROMIUM_texture_compression_dxt5 | 1044 #ifndef GL_CHROMIUM_texture_compression_dxt5 |
1045 #define GL_CHROMIUM_texture_compression_dxt5 1 | 1045 #define GL_CHROMIUM_texture_compression_dxt5 1 |
1046 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 | 1046 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 |
1047 #endif | 1047 #endif |
1048 | 1048 |
| 1049 /* GL_CHROMIUM_enable_feature */ |
| 1050 #ifndef GL_CHROMIUM_enable_feature |
| 1051 #define GL_CHROMIUM_enable_feature 1 |
| 1052 #ifdef GL_GLEXT_PROTOTYPES |
| 1053 #define glEnableFeatureCHROMIUM GLES2_GET_FUN(EnableFeatureCHROMIUM) |
| 1054 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 1055 GL_APICALL void GL_APIENTRY glEnableFeatureCHROMIUM (const GLchar *feature); |
| 1056 #endif |
| 1057 #else |
| 1058 typedef void (GL_APIENTRYP PFNGLENABLEFEATURECHROMIUM) (const GLchar *feature); |
| 1059 #endif |
| 1060 #endif |
| 1061 |
1049 /* GL_ARB_robustness */ | 1062 /* GL_ARB_robustness */ |
1050 /* This extension is subsetted for the moment, incorporating only the | 1063 /* This extension is subsetted for the moment, incorporating only the |
1051 * enums necessary to describe the reasons that we might encounter for | 1064 * enums necessary to describe the reasons that we might encounter for |
1052 * losing the context. The entry point querying the reset status is | 1065 * losing the context. The entry point querying the reset status is |
1053 * not yet incorporated; to do so, a spec will be needed of a GLES2 | 1066 * not yet incorporated; to do so, a spec will be needed of a GLES2 |
1054 * subset of GL_ARB_robustness. | 1067 * subset of GL_ARB_robustness. |
1055 */ | 1068 */ |
1056 #ifndef GL_ARB_robustness | 1069 #ifndef GL_ARB_robustness |
1057 #define GL_ARB_robustness 1 | 1070 #define GL_ARB_robustness 1 |
1058 #ifndef GL_GUILTY_CONTEXT_RESET_ARB | 1071 #ifndef GL_GUILTY_CONTEXT_RESET_ARB |
1059 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 | 1072 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 |
1060 #endif | 1073 #endif |
1061 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB | 1074 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB |
1062 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 | 1075 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 |
1063 #endif | 1076 #endif |
1064 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB | 1077 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB |
1065 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 | 1078 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 |
1066 #endif | 1079 #endif |
1067 #endif | 1080 #endif |
1068 | 1081 |
1069 #ifdef __cplusplus | 1082 #ifdef __cplusplus |
1070 } | 1083 } |
1071 #endif | 1084 #endif |
1072 | 1085 |
1073 #endif /* __gl2ext_h_ */ | 1086 #endif /* __gl2ext_h_ */ |
OLD | NEW |