32 Commits

Author SHA1 Message Date
shadowislord
373eaeae30 Match # of parallel build processes to number of CPUs for native builds 2014-12-09 18:07:38 -05:00
iwgeric
fb04910980 Always include the jme3-android-native but only build based on "buildNativeProjects" property.
Needed to allow for the project to package the pre-compiled libs if not building the project.
2014-12-08 22:35:23 -05:00
shadowislord
c6d0856480 Commit android library libdecodejme 2014-12-08 21:49:35 -05:00
shadowislord
4e04f4629a Native tremor decoder is now built in release mode 2014-11-16 12:59:49 -05:00
shadowislord
7169b7433d Updated Android OpenAL build based on latest changes 2014-11-15 15:20:53 -05:00
shadowislord
91715c4a48 Add support for URA, or Unified Renderer Architecture for audio
* Unified all renderers into common class 'ALAudioRenderer'
 * LWJGL and Android now implement the AL / ALC / EFX interfaces to provide a common OpenAL backend for jME
 * Added support for OpenAL Soft "Pause Device" extension, which allows the engine to pause the context while running in the background (currently requires OpenAL soft 1.16 and thus is Android only feature)
2014-11-15 15:15:50 -05:00
shadowislord
d7a152e9a8 TremorAndroid: properly set the 'LIMIT_TO_64kHz' define 2014-11-12 21:56:28 -05:00
shadowislord
ba91da8db4 Tremor decoder now working on Android
* fixed issue where FileDesc_read() would cause a stack overflow
 * fixed incorrect NativeVorbisFile field values
 * properly indicate that streaming is not supported yet
2014-11-12 21:47:36 -05:00
shadowislord
2556f67a15 Implemented the rest of the missing functions in NativeVorbisFile 2014-11-11 23:24:29 -05:00
shadowislord
891ffa175d More work on vorbis decoder
* added support for decoding from a section of a file descriptor (needed if decoding from an asset inside APK)
 * implemented seek function
2014-11-11 19:11:52 -05:00
shadowislord
302ca00a3c Remove STBI image libs which will not be used anymore 2014-11-10 23:28:55 -05:00
shadowislord
5f0c2035c1 android native improvements
* rename jme_stbi -> jme_decode, which is a new native library that will handle image and audio decoding in native code
 * add a special version of tremor designed to run on android
 * adjust the build process to handle these changes
2014-11-10 21:52:04 -05:00
shadowislord
ff55522f78 Change flow in STBI build script to ease development
* stb_image.h and AndroidNativeImageLoader.h are now placed in the source folder so that the IDE can access them
2014-11-08 18:02:22 -05:00
shadowislord
17f130615a Update STBI .so based on latest changes 2014-11-08 17:59:40 -05:00
shadowislord
a015e0836f Remove commented out code since it will not be used anymore 2014-11-08 17:23:44 -05:00
shadowislord
7057e9cb18 Android native image loader rewritten from scratch
* Now supports reading directly from Java InputStream instead of having to read image file into memory first
 * Optimized native code - reduced unneccessary memory copies
2014-11-08 17:18:37 -05:00
shadowislord
26d8ae8942 android natives: add updated builds 2014-11-04 22:25:13 -05:00
shadowislord
e1a3d2e79f Updated STB image build script 2014-11-04 22:20:17 -05:00
shadowislord
883ff7da71 Apply same fixes from OpenAL Soft to STB image loader.
Also make sure it works with the latest version from the website (which is downloaded automatically).
2014-11-04 22:19:18 -05:00
shadowislord
756497fb92 Specify TARGET_PLATFORM properly (:= instead of =) 2014-11-04 22:18:19 -05:00
shadowislord
393009ec2d Fix OpenAL Soft for Android
* Upgrade to latest OpenAL Soft (1.16)
 * Don't specify TARGET_PLATFORM on command line as that causes weird issues
 * Specify target platform via APP_PLATFORM in Application.mk and TARGET_PLATFORM in Android.mk
2014-11-04 22:09:01 -05:00
iwgeric
8b912cd768 change method to check for existance of the android ndk 2014-03-28 08:15:10 -04:00
iwgeric
13632f2ca9 remove unused project property 2014-03-25 12:24:27 -04:00
iwgeric
57b77151aa update android native build to support precompiled libs that are used if not building the libs. If building the libs, then the pre-compiled libs are updated with the output of the build. 2014-03-25 08:48:01 -04:00
iwgeric
a2ab6f183d merge and fix conflicts 2014-03-24 19:55:27 -04:00
iwgeric
df2e38798d update native android libs build to use pre-compiled versions of the libs from the repo if not building native libs 2014-03-24 19:46:06 -04:00
Normen Hansen
c374fea7f3 change android native build scripts to not execute tasks at configuration time 2014-03-24 14:04:40 +01:00
iwgeric
5cfd1c812b Change stb_image to be auto downloaded during build 2014-03-24 08:19:51 -04:00
iwgeric
ee8e42f921 add native android lib for loading png and gif files. Does not premultiply. Uses stb_image (http://www.nothings.org/stb_image.c) 2014-03-24 00:47:08 -04:00
iwgeric
f5c841aac5 reorganize build of Android OpenAL Soft lib 2014-03-24 00:11:38 -04:00
iwgeric
a186abba6a test commit from github site
only added a blank line to test making changes from the github site.
2014-03-22 07:50:49 -04:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00