summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2013-03-19 11:48:41 -0300
committerThiago Santos <thiago.sousa.santos@collabora.com>2013-04-16 16:08:50 -0300
commitfb09e113287752343454b6349719c529ac3ba529 (patch)
treee1ac2a77e29535bdea54f9cdbdf139a89b709a96
parent6b0aaa95a47a71b7ab7af93d24cbed91b43e3756 (diff)
downloadgstreamer-plugins-bad-fb09e113287752343454b6349719c529ac3ba529.tar.gz
eglglessink: moving more egl specific code to egl adaptation
Remove more egl specific code, so that the eagl can build the common code
-rw-r--r--ext/eglgles/gstegladaptation.h11
-rw-r--r--ext/eglgles/gstegladaptation_egl.c11
2 files changed, 11 insertions, 11 deletions
diff --git a/ext/eglgles/gstegladaptation.h b/ext/eglgles/gstegladaptation.h
index b020ca585..19f91422f 100644
--- a/ext/eglgles/gstegladaptation.h
+++ b/ext/eglgles/gstegladaptation.h
@@ -71,17 +71,6 @@
#define GST_EGLGLESSINK_EGL_MIN_VERSION 1
G_BEGIN_DECLS
-/* will probably move elsewhere */
-static const EGLint eglglessink_RGBA8888_attribs[] = {
- EGL_RED_SIZE, 8,
- EGL_GREEN_SIZE, 8,
- EGL_BLUE_SIZE, 8,
- EGL_ALPHA_SIZE, 8,
- EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
- EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
- EGL_NONE
-};
-
typedef struct GstEglAdaptationContext GstEglAdaptationContext;
typedef struct _GstEglGlesRenderContext GstEglGlesRenderContext;
typedef struct _GstEglGlesImageFmt GstEglGlesImageFmt;
diff --git a/ext/eglgles/gstegladaptation_egl.c b/ext/eglgles/gstegladaptation_egl.c
index 4fe3ce28e..e4237c78a 100644
--- a/ext/eglgles/gstegladaptation_egl.c
+++ b/ext/eglgles/gstegladaptation_egl.c
@@ -46,6 +46,17 @@
#include "video_platform_wrapper.h"
+/* will probably move elsewhere */
+static const EGLint eglglessink_RGBA8888_attribs[] = {
+ EGL_RED_SIZE, 8,
+ EGL_GREEN_SIZE, 8,
+ EGL_BLUE_SIZE, 8,
+ EGL_ALPHA_SIZE, 8,
+ EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
+ EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
+ EGL_NONE
+};
+
/*
* GstEglGlesRenderContext:
* @config: Current EGL config