From 228474806c3b7f616ea3192c537bcd66a4ec8428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 19 Jul 2013 09:20:09 +0200 Subject: [PATCH] [775/906] configure: Check for GLeglImageOES and others again https://bugzilla.gnome.org/show_bug.cgi?id=704498 --- gst-libs/gst/gl/glprototypes/gstgl_compat.h | 40 +++++++++++++++++++++ gst-libs/gst/gl/gstglapi.h | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 gst-libs/gst/gl/glprototypes/gstgl_compat.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 index 0000000000..21b9f713e1 --- /dev/null +++ b/gst-libs/gst/gl/glprototypes/gstgl_compat.h @@ -0,0 +1,40 @@ + /* + * GStreamer + * Copyright (C) 2012 Matthew Waters + * + * 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 + +/* 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 diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index 1c6e76e405..b5969c285b 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -23,6 +23,8 @@ #include +#include + /* OpenGL 2.0 for Embedded Systems */ #if GST_GL_HAVE_GLES2 # include