gl: keep only one occurence of '#include <EGL/egl.h>'

To simply maintainance if we need to put specific includes around it.
This commit is contained in:
Julien Isorce 2014-03-19 13:45:35 +00:00 committed by Tim-Philipp Müller
parent 8c2c3d8dbf
commit b30d15d4b8
9 changed files with 8 additions and 20 deletions

View file

@ -47,8 +47,6 @@
#include <bcm_host.h>
#endif
#include <gst/gl/gstglconfig.h>
#include "gstglimagesink.h"
#include "gstglfiltercube.h"

View file

@ -22,8 +22,6 @@
#ifndef __GST_GL_WINDOW_ANDROID_EGL_H__
#define __GST_GL_WINDOW_ANDROID_EGL_H__
#include <EGL/egl.h>
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -21,12 +21,9 @@
#ifndef __GST_GL_WINDOW_DISPMANX_EGL_H__
#define __GST_GL_WINDOW_DISPMANX_EGL_H__
#include <bcm_host.h>
#include <gst/video/gstvideosink.h>
#include <EGL/egl.h>
#include <gst/gl/gl.h>
#include <bcm_host.h>
G_BEGIN_DECLS

View file

@ -27,7 +27,6 @@
*/
#include "gstglcontext_egl.h"
#include <gst/gl/gl.h>
#if GST_GL_HAVE_WINDOW_X11
#include "../x11/gstglwindow_x11.h"

View file

@ -22,10 +22,7 @@
#define __GST_GL_EGL_H__
#include <gst/gst.h>
#include <EGL/egl.h>
#include <gst/gl/gstgl_fwd.h>
#include <gst/gl/gstglcontext.h>
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -22,12 +22,11 @@
#define __GST_GL_DISPLAY_EGL_H__
#include <gst/gst.h>
#include <gst/gl/gl.h>
/* FIXME temp until merge */
#include <gst/egl/egl.h>
#include <gst/gl/gstgl_fwd.h>
#include <gst/gl/gstgldisplay.h>
G_BEGIN_DECLS
GType gst_gl_display_egl_get_type (void);

View file

@ -25,6 +25,10 @@
#include <gst/gl/glprototypes/gstgl_compat.h>
#if GST_GL_HAVE_PLATFORM_EGL
#include <EGL/egl.h>
#endif
/* OpenGL 2.0 for Embedded Systems */
#if GST_GL_HAVE_GLES2
# include <GLES2/gl2.h>

View file

@ -25,8 +25,6 @@
#include <wayland-egl.h>
#include <wayland-cursor.h>
#include <EGL/egl.h>
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -23,8 +23,6 @@
#include <gst/gst.h>
#include <EGL/egl.h>
#include "gstglwindow_win32.h"
G_BEGIN_DECLS