From b8b9fced19085f369b7274961ca5df9ede5a3d34 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 21 Aug 2013 14:05:56 +1000 Subject: [PATCH] [796/906] move egl into its own directory --- gst-libs/gst/gl/Makefile.am | 4 ++-- gst-libs/gst/gl/android/gstglwindow_android_egl.h | 1 - gst-libs/gst/gl/{gstglegl.c => egl/gstglcontext_egl.c} | 6 +++--- gst-libs/gst/gl/{gstglegl.h => egl/gstglcontext_egl.h} | 0 gst-libs/gst/gl/gstglcontext.c | 2 +- gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h | 1 - 6 files changed, 6 insertions(+), 8 deletions(-) rename gst-libs/gst/gl/{gstglegl.c => egl/gstglcontext_egl.c} (99%) rename gst-libs/gst/gl/{gstglegl.h => egl/gstglcontext_egl.h} (100%) diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index e9d60b8..09cb785 100644 --- a/gst-libs/gst/gl/Makefile.am +++ b/gst-libs/gst/gl/Makefile.am @@ -56,8 +56,8 @@ libgstgl_@GST_API_VERSION@_la_LIBADD += android/libgstgl-android.la endif if USE_EGL -libgstgl_@GST_API_VERSION@_la_SOURCES += gstglegl.c -noinst_HEADERS += gstglegl.h +libgstgl_@GST_API_VERSION@_la_SOURCES += egl/gstglcontext_egl.c +noinst_HEADERS += egl/gstglcontext_egl.h endif libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl diff --git a/gst-libs/gst/gl/android/gstglwindow_android_egl.h b/gst-libs/gst/gl/android/gstglwindow_android_egl.h index d4cae36..e206685 100644 --- a/gst-libs/gst/gl/android/gstglwindow_android_egl.h +++ b/gst-libs/gst/gl/android/gstglwindow_android_egl.h @@ -25,7 +25,6 @@ #include #include -#include "../gstglegl.h" G_BEGIN_DECLS diff --git a/gst-libs/gst/gl/gstglegl.c b/gst-libs/gst/gl/egl/gstglcontext_egl.c similarity index 99% rename from gst-libs/gst/gl/gstglegl.c rename to gst-libs/gst/gl/egl/gstglcontext_egl.c index cb2cf1c..3ef5075 100644 --- a/gst-libs/gst/gl/gstglegl.c +++ b/gst-libs/gst/gl/egl/gstglcontext_egl.c @@ -22,14 +22,14 @@ #include "config.h" #endif -#include "gstglegl.h" +#include "gstglcontext_egl.h" #include #if GST_GL_HAVE_WINDOW_X11 -#include "x11/gstglwindow_x11.h" +#include "../x11/gstglwindow_x11.h" #endif #if GST_GL_HAVE_WINDOW_WIN32 -#include "win32/gstglwindow_win32.h" +#include "../win32/gstglwindow_win32.h" #endif static gboolean gst_gl_context_egl_create_context (GstGLContext * context, diff --git a/gst-libs/gst/gl/gstglegl.h b/gst-libs/gst/gl/egl/gstglcontext_egl.h similarity index 100% rename from gst-libs/gst/gl/gstglegl.h rename to gst-libs/gst/gl/egl/gstglcontext_egl.h diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index c8e233d..c2d20a7 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -31,7 +31,7 @@ #include "x11/gstglcontext_glx.h" #endif #if GST_GL_HAVE_PLATFORM_EGL -#include "gstglegl.h" +#include "egl/gstglcontext_egl.h" #endif #if GST_GL_HAVE_PLATFORM_COCOA #include "cocoa/gstglcontext_cocoa.h" diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h index 32389e7..1cdd5e4 100644 --- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h +++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.h @@ -28,7 +28,6 @@ #include #include -#include "../gstglegl.h" G_BEGIN_DECLS -- 2.7.4