[775/906] configure: Check for GLeglImageOES and others again

https://bugzilla.gnome.org/show_bug.cgi?id=704498
This commit is contained in:
Sebastian Dröge 2013-07-19 09:20:09 +02:00 committed by Matthew Waters
parent 3900c6750c
commit 228474806c
2 changed files with 42 additions and 0 deletions

View file

@ -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

View 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>