[775/906] configure: Check for GLeglImageOES and others again
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 19 Jul 2013 07:20:09 +0000 (09:20 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:37:00 +0000 (18:37 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=704498

gst-libs/gst/gl/glprototypes/gstgl_compat.h [new file with mode: 0644]
gst-libs/gst/gl/gstglapi.h

diff --git a/gst-libs/gst/gl/glprototypes/gstgl_compat.h b/gst-libs/gst/gl/glprototypes/gstgl_compat.h
new file mode 100644 (file)
index 0000000..21b9f71
--- /dev/null
@@ -0,0 +1,40 @@
+ /*
+ * GStreamer
+ * Copyright (C) 2012 Matthew Waters <ystreet00@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef __GST_GL_COMPAT_H__
+#define __GST_GL_COMPAT_H__
+
+#include <gst/gl/gstglconfig.h>
+
+/* undefined typedefs */
+#ifndef GST_GL_HAVE_GLEGLIMAGEOES
+typedef gpointer GLeglImageOES;
+#endif
+#ifndef GST_GL_HAVE_GLCHAR
+typedef gchar GLchar;
+#endif
+#ifndef GST_GL_HAVE_GLSIZEIPTR
+typedef ptrdiff_t GLsizeiptr;
+#endif
+#ifndef GST_GL_HAVE_GLINTPTR
+typedef ptrdiff_t GLintptr;
+#endif
+
+#endif
index 1c6e76e..b5969c2 100644 (file)
@@ -23,6 +23,8 @@
 
 #include <gst/gl/gstglconfig.h>
 
+#include <gst/gl/glprototypes/gstgl_compat.h>
+
 /* OpenGL 2.0 for Embedded Systems */
 #if GST_GL_HAVE_GLES2
 # include <GLES2/gl2.h>