gl: update gles2 compatability header
authorMatthew Waters <ystreet00@gmail.com>
Thu, 26 Jun 2014 00:30:41 +0000 (10:30 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:44 +0000 (19:31 +0000)
gst-libs/gst/gl/glprototypes/gstgl_gles2compat.h

index 5465961..b185e6a 100644 (file)
 G_BEGIN_DECLS
 
 /* SUPPORTED */
-/* FIXME: On iOS this exists but maps to an actual BGRA extension */
-#ifdef __APPLE__
-#ifdef GL_BGRA
-#undef GL_BGRA
-#endif
-#endif
-
 //FIXME:
 #define GL_RGB16 GL_RGB565
 #define GL_RGB8 GL_RGB
 #define GL_RGBA8 GL_RGBA
-#define GL_BGRA GL_RGBA
-#define GL_BGR GL_RGB
-#define GL_UNSIGNED_INT_8_8_8_8 GL_UNSIGNED_BYTE
-#define GL_UNSIGNED_INT_8_8_8_8_REV GL_UNSIGNED_BYTE
 //END FIXME
 
 /* UNSUPPORTED */
 
-#define GL_YCBCR_MESA 0
-#define GL_UNSIGNED_SHORT_8_8_MESA 0
-#define GL_UNSIGNED_SHORT_8_8_MESA 0
-#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0
-
 #define GL_COLOR_ATTACHMENT1 0
 #define GL_COLOR_ATTACHMENT2 0
 #ifndef GL_TEXTURE_ENV