[Android] New OpenGL ES 2.0 vout for the Android port
Adrien Maglo
magsoft at videolan.org
Tue Nov 5 17:04:33 CET 2013
Hey all,
Here are a new series of patches (cleaner than the first ones) to add an
OpenGL ES 2.0 vout to the Android port. They should apply to latest
vlc-android.git and vlc.git. I tested them on a Galaxy S3 and a Nexus 7
2nd version.
I had to create a new vindow provider in VLC in order to handle Android
native windows. I also added an option in the app debug section to
select between the androidsurface (default) and new OpenGL ES 2.0 vout.
In order to compile with the patches you may have to add the following
lines to the files:
* vlc/contrib/arm-linux-androideabi/lib/pkgconfig/egl.pc
Name: EGL
Description: EGL
Version: 1.1
Libs: -lEGL
Cflags:
* vlc/contrib/arm-linux-androideabi/lib/pkgconfig/glesv2.pc
Name: GLESv2
Description: GLESv2
Version: 2
Libs: -lGLESv2
Cflags:
I would be interested by a better solution from someone who understand
the build system...
Your reviews would be of course very much welcomed.
Best regards,
--
MagSoft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Preferences-add-an-option-to-select-the-OpenGL-ES-2..patch
Type: text/x-patch
Size: 7953 bytes
Desc: not available
URL: <https://mailman.videolan.org/private/android/attachments/20131105/1a6b758c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Build-add-the-compilation-options-to-build-the-OpenG.patch
Type: text/x-patch
Size: 1310 bytes
Desc: not available
URL: <https://mailman.videolan.org/private/android/attachments/20131105/1a6b758c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Vout-add-a-new-vout_window-type-for-android-native-w.patch
Type: text/x-patch
Size: 1787 bytes
Desc: not available
URL: <https://mailman.videolan.org/private/android/attachments/20131105/1a6b758c/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Vout-add-a-new-window-provider-to-create-android-nat.patch
Type: text/x-patch
Size: 6448 bytes
Desc: not available
URL: <https://mailman.videolan.org/private/android/attachments/20131105/1a6b758c/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-EGL-add-the-OpenGL-ES-2.0-support-for-android.patch
Type: text/x-patch
Size: 2735 bytes
Desc: not available
URL: <https://mailman.videolan.org/private/android/attachments/20131105/1a6b758c/attachment-0004.bin>
More information about the Android
mailing list