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 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1027 /* | 1027 /* |
1028 * This extension provides GL_UNPACK_FLIP_Y_CHROMIUM as a parameter to | 1028 * This extension provides GL_UNPACK_FLIP_Y_CHROMIUM as a parameter to |
1029 * glPixelStorei. When true images submitted to glTexImage2D and glTexSubImage2D | 1029 * glPixelStorei. When true images submitted to glTexImage2D and glTexSubImage2D |
1030 * are flipped vertically. | 1030 * are flipped vertically. |
1031 */ | 1031 */ |
1032 #ifndef GL_CHROMIUM_flipy | 1032 #ifndef GL_CHROMIUM_flipy |
1033 #define GL_CHROMIUM_flipy 1 | 1033 #define GL_CHROMIUM_flipy 1 |
1034 #define GL_UNPACK_FLIP_Y_CHROMIUM 0x9240 | 1034 #define GL_UNPACK_FLIP_Y_CHROMIUM 0x9240 |
1035 #endif | 1035 #endif |
1036 | 1036 |
| 1037 /* GL_CHROMIUM_texture_compression_dxt3 */ |
| 1038 #ifndef GL_CHROMIUM_texture_compression_dxt3 |
| 1039 #define GL_CHROMIUM_texture_compression_dxt3 1 |
| 1040 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 |
| 1041 #endif |
| 1042 |
| 1043 /* GL_CHROMIUM_texture_compression_dxt5 */ |
| 1044 #ifndef GL_CHROMIUM_texture_compression_dxt5 |
| 1045 #define GL_CHROMIUM_texture_compression_dxt5 1 |
| 1046 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 |
| 1047 #endif |
| 1048 |
1037 /* GL_ARB_robustness */ | 1049 /* GL_ARB_robustness */ |
1038 /* This extension is subsetted for the moment, incorporating only the | 1050 /* This extension is subsetted for the moment, incorporating only the |
1039 * enums necessary to describe the reasons that we might encounter for | 1051 * enums necessary to describe the reasons that we might encounter for |
1040 * losing the context. The entry point querying the reset status is | 1052 * losing the context. The entry point querying the reset status is |
1041 * not yet incorporated; to do so, a spec will be needed of a GLES2 | 1053 * not yet incorporated; to do so, a spec will be needed of a GLES2 |
1042 * subset of GL_ARB_robustness. | 1054 * subset of GL_ARB_robustness. |
1043 */ | 1055 */ |
1044 #ifndef GL_ARB_robustness | 1056 #ifndef GL_ARB_robustness |
1045 #define GL_ARB_robustness 1 | 1057 #define GL_ARB_robustness 1 |
1046 #ifndef GL_GUILTY_CONTEXT_RESET_ARB | 1058 #ifndef GL_GUILTY_CONTEXT_RESET_ARB |
1047 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 | 1059 #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 |
1048 #endif | 1060 #endif |
1049 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB | 1061 #ifndef GL_INNOCENT_CONTEXT_RESET_ARB |
1050 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 | 1062 #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 |
1051 #endif | 1063 #endif |
1052 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB | 1064 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB |
1053 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 | 1065 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 |
1054 #endif | 1066 #endif |
1055 #endif | 1067 #endif |
1056 | 1068 |
1057 #ifdef __cplusplus | 1069 #ifdef __cplusplus |
1058 } | 1070 } |
1059 #endif | 1071 #endif |
1060 | 1072 |
1061 #endif /* __gl2ext_h_ */ | 1073 #endif /* __gl2ext_h_ */ |
OLD | NEW |