gl2extimg.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef __gl2extimg_h_
  2. #define __gl2extimg_h_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*------------------------------------------------------------------------*
  7. * IMG extension tokens
  8. *------------------------------------------------------------------------*/
  9. /* GL_IMG_binary_shader */
  10. #ifndef GL_IMG_binary_shader
  11. #define GL_SGX_BINARY_IMG 0x8C0A
  12. #endif
  13. /* GL_IMG_texture_compression_pvrtc */
  14. #ifndef GL_IMG_texture_compression_pvrtc
  15. #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
  16. #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
  17. #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
  18. #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
  19. #endif
  20. /* GL_IMG_texture_format_BGRA8888 */
  21. #define GL_BGRA 0x80E1
  22. /*------------------------------------------------------------------------*
  23. * IMG extension functions
  24. *------------------------------------------------------------------------*/
  25. /* GL_IMG_binary_shader */
  26. #ifndef GL_IMG_binary_shader
  27. #define GL_IMG_binary_shader 1
  28. #endif
  29. /* GL_IMG_texture_compression_pvrtc */
  30. #ifndef GL_IMG_texture_compression_pvrtc
  31. #define GL_IMG_texture_compression_pvrtc 1
  32. #endif
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36. #endif /* __gl2extimg_h_ */