mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
[775/906] configure: Check for GLeglImageOES and others again
https://bugzilla.gnome.org/show_bug.cgi?id=704498
This commit is contained in:
parent
fe0ad33572
commit
e4f45140d6
2 changed files with 42 additions and 0 deletions
40
gst-libs/gst/gl/glprototypes/gstgl_compat.h
Normal file
40
gst-libs/gst/gl/glprototypes/gstgl_compat.h
Normal 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
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue