<div>Hi</div>I think we have to use the SurfaceFlinger library so yes we need &quot;a new GL_BACKEND=xxxES2&quot;<div>Julien<br><br><div class="gmail_quote">2011/12/16 Stefan Sauer <span dir="ltr">&lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
I looked at bit into trying to build gst-plugin-gl for android. These<br>
are the modifications:<br>
1.) inside the gstramer_ndk_bundle dir get gst-plugin-gl and patch it<br>
  git clone git://<a href="http://anongit.freedesktop.org/gstreamer/gst-plugins-gl" target="_blank">anongit.freedesktop.org/gstreamer/gst-plugins-gl</a><br>
  git am 0001-build-Androigenizer-build-boilerplate.patch<br>
<br>
2.) patch jni/Android.mk (0002-include-gst-plugins-gl.patch)<br>
<br>
3.) build<br>
<br>
Right now one showstopper gst-plugin-gl support GL or EGL only via X11<br>
as it seems.<br>
<br>
configure:22715: checking for eglGetError in -lEGL<br>
configure:22740:<br>
/home/ensonic/android/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc<br>
-std=gnu99 -o conftest -nostdlib -Bdynamic<br>
-Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections<br>
-Wl,-z,nocopyreloc<br>
/home/ensonic/android/ndk/platforms/android-9/arch-arm/usr/lib/crtbegin_dynamic.o<br>
/home/ensonic/android/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a<br>
/home/ensonic/android/ndk/platforms/android-9/arch-arm/usr/lib/crtend_android.o<br>
-I/include -I/include<br>
-I/home/ensonic/android/ndk/platforms/android-9/arch-arm/usr/include<br>
-I/home/ensonic/android/gstreamer_ndk_bundle/jni/../libid3tag<br>
-I/home/ensonic/android/gstreamer_ndk_bundle/jni/../libmad<br>
-I/usr/include -I/usr/include -lc -ldl<br>
-L/home/ensonic/android/ndk/platforms/android-9/arch-arm/usr/lib<br>
-L/home/ensonic/android/gstreamer_ndk_bundle/obj/local/armeabi<br>
-L/home/ensonic/android/gstreamer_ndk_bundle/jni/../libs<br>
-Wl,--warn-unresolved-symbols conftest.c -lEGL    -L/usr/lib   -lX11<br>
-L/usr/lib   -lX11 &gt;&amp;5<br>
/usr/lib/libX11.so: file not recognized: File format not recognized<br>
<br>
After applying HACK.patch it configures, but I have to figure how to<br>
convince ndk-build to try building it...<br>
Also in the long run it looks like we wound need a new<br>
GL_BACKEND=xxxES2, julien any opinion?<br>
<font color="#888888"><br>
Stefan<br>
</font></blockquote></div><br></div>