1 #ifndef __gl2extimg_h_ 2 #define __gl2extimg_h_ 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 /*------------------------------------------------------------------------* 9 * IMG extension tokens 10 *------------------------------------------------------------------------*/ 11 12 /* GL_IMG_binary_shader */ 13 #ifndef GL_IMG_binary_shader 14 #define GL_SGX_BINARY_IMG 0x8C0A 15 #endif 16 17 /* GL_IMG_texture_compression_pvrtc */ 18 #ifndef GL_IMG_texture_compression_pvrtc 19 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 20 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 21 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 22 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 23 #endif 24 25 #ifndef GL_IMG_texture_compression_pvrtc2 26 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 27 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 28 #endif 29 30 /* GL_IMG_texture_format_BGRA8888 */ 31 #define GL_BGRA 0x80E1 32 33 /*------------------------------------------------------------------------* 34 * IMG extension functions 35 *------------------------------------------------------------------------*/ 36 37 /* GL_IMG_binary_shader */ 38 #ifndef GL_IMG_binary_shader 39 #define GL_IMG_binary_shader 1 40 #endif 41 42 /* GL_IMG_texture_compression_pvrtc */ 43 #ifndef GL_IMG_texture_compression_pvrtc 44 #define GL_IMG_texture_compression_pvrtc 1 45 #endif 46 47 #ifndef GL_IMG_texture_compression_pvrtc2 48 #define GL_IMG_texture_compression_pvrtc2 1 49 #endif 50 51 #ifdef __cplusplus 52 } 53 #endif 54 55 #endif /* __gl2extimg_h_ */ 56