gl: keep only one occurence of '#include <EGL/egl.h>'
authorJulien Isorce <julien.isorce@collabora.co.uk>
Wed, 19 Mar 2014 13:45:35 +0000 (13:45 +0000)
committerJulien Isorce <julien.isorce@collabora.co.uk>
Wed, 19 Mar 2014 14:43:13 +0000 (14:43 +0000)
To simply maintainance if we need to put specific includes around it.

ext/gl/gstopengl.c
gst-libs/gst/gl/android/gstglwindow_android_egl.h
gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.h
gst-libs/gst/gl/egl/gstglcontext_egl.c
gst-libs/gst/gl/egl/gstglcontext_egl.h
gst-libs/gst/gl/egl/gstgldisplay_egl.h
gst-libs/gst/gl/gstglapi.h
gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h
gst-libs/gst/gl/win32/gstglwindow_win32_egl.h

index ff5e150..6f2ec49 100644 (file)
@@ -47,8 +47,6 @@
 #include <bcm_host.h>
 #endif
 
-#include <gst/gl/gstglconfig.h>
-
 #include "gstglimagesink.h"
 
 #include "gstglfiltercube.h"
index 7ff2bd9..e5ea1cb 100644 (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
index 72e8848..a3f11a2 100644 (file)
 #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
 
index c7283ed..f9a570d 100644 (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"
index fcd2fe1..18c09ff 100644 (file)
 #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
 
index bd188d5..0a3b1db 100644 (file)
 #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);
index ba84958..78951d1 100644 (file)
 
 #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>
index 1cdd5e4..21b82da 100644 (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
index f3167f4..ef851a7 100644 (file)
@@ -23,8 +23,6 @@
 
 #include <gst/gst.h>
 
-#include <EGL/egl.h>
-
 #include "gstglwindow_win32.h"
 
 G_BEGIN_DECLS