4432 Commits

Author SHA1 Message Date
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
d8c5985a73 Disable SDK build by default (maybe Travis can handle it then)
Fix compile error in jme3-android project
2014-11-11 18:18:57 -05:00
shadowislord
5f84147154 Fix issue where loading material parameters from J3O would fail 2014-11-11 17:55:47 -05:00
shadowislord
d6e427a50f Update .gitignore with new ignore files for jme3-android-native project 2014-11-11 17:35:17 -05:00
shadowislord
95ae7c386f Added the travis.yml file, maybe it will do something interesting 2014-11-10 23:38:16 -05:00
shadowislord
e17375665d Fix crash when loading ogre models due to changed lighting material 2014-11-10 23:30:59 -05:00
shadowislord
302ca00a3c Remove STBI image libs which will not be used anymore 2014-11-10 23:28:55 -05:00
shadowislord
89aac97a4a Fix crash when using AndroidNativeImageLoader due to changed lib name 2014-11-10 23:27:56 -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
Nehon
603432790b Fixed Gaussian blur weighting thanks to http://hub.jmonkeyengine.org/forum/topic/gaussian-blur-shader-issue/ 2014-11-10 00:15:21 +01:00
shadowislord
14bfc7e166 Minor cleanups (no functionality change) 2014-11-09 17:34:36 -05:00
shadowislord
e6df8b1e49 Remove deprecated ConfigType 2014-11-09 17:33:06 -05:00
shadowislord
1a8e6f1644 Reuse bindProgram in OGLESShaderRenderer 2014-11-09 17:32:27 -05:00
shadowislord
4717e7006f Goodbye, OpenGL1 2014-11-09 12:29:28 -05:00
shadowislord
c2b9b8a2e1 Fix JDK8 build for the rest of SDK plugins 2014-11-09 12:22:05 -05:00
shadowislord
5905a684ad Fix SDK build on JDK8 2014-11-09 12:15:08 -05:00
shadowislord
0c41d1725f Remove deprecated formats from Image (w/o changing enum ordinal) 2014-11-09 11:55:51 -05:00
shadowislord
eaa5a15f39 Remove use of deprecated image formats (IOS) 2014-11-09 11:54:34 -05:00
shadowislord
1dfa4d4c0d Remove usage of deprected image formats (JOGL) 2014-11-09 11:53:12 -05:00
shadowislord
62cfbc8a3e Remove usage of all deprecated image formats 2014-11-09 11:50:57 -05:00
shadowislord
b7a4faebf0 Remove deprecated fields from AndroidHarness 2014-11-09 11:35:42 -05:00
shadowislord
bbd6c613f0 Reduce "Integer" class churn in rendering statistics
* Use IntMap instead of HashMap<Integer>
 * Cache last set shader to save hashmap lookup on every set uniform
2014-11-08 18:04:03 -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
b83603cd8f Added support for ETC1 compression (regular OGL only for now) 2014-11-07 21:04:55 -05:00
shadowislord
8d406380b0 * Fix FXAA on Android (but it's not really noticeable .. pixels are too small) 2014-11-07 20:58:58 -05:00
Nehon
81fe180713 Better Single pass test 2014-11-07 23:19:59 +01:00
jmekaelthas
30d89da190 Bugfix: fixed a crash that occured after changes in Materials'
definitions.
2014-11-07 13:12:53 +01:00
kaelthas
550063367e Bugfix: fixed issues with subdivision surface modifier. 2014-11-06 20:21:04 +01:00
shadowislord
3992ed89af Fix point sprite on Android. Fixes issue #82. 2014-11-05 23:50:09 -05:00
shadowislord
15f35fc5c6 Fix "DXT1 not supported by hardware" error that started appearing since the renderer refactor. 2014-11-05 23:13:15 -05:00
shadowislord
bf2656abf3 If we are loading a material from a J3O file, do not crash on missing material parameters, but log it instead.
Fixes test crash on any tests using cornellbox.j3o
2014-11-05 23:11:35 -05:00
shadowislord
b7ae8e6e3a Fix issue #127 2014-11-05 20:59:22 -05:00
shadowislord
a9d8faf39e Modify TestDepthStencil to be simpler (based on TestFBOPassthrough) 2014-11-05 20:15:12 -05:00
shadowislord
aa03d73595 Merge pull request #184 from davidB/fix_fb_depth24stencil8
Add support of Depth24Stencil8 into *Renderer
2014-11-05 19:43:16 -05:00
David Bernard
4fdde38bc2 Merge remote-tracking branch 'upstream/master' into fix_fb_depth24stencil8 2014-11-05 12:15:38 +01:00
David Bernard
37da17e3eb add support of DepthStencil into *Renderer
+ a test app
- only tested on desktop with Lwjgl
2014-11-05 12:15:14 +01:00
shadowislord
84046018ba Avoid use of LWJGL specific ContextCapabilities class.
Instead parse GL_EXTENSIONS and use that to determine supported features.
2014-11-04 23:28:50 -05:00
shadowislord
18b9ef5540 Refactor Android system
* Minor clean in context creation
 * Remove AndroidGLSurfaceView (it wasn't doing anything)
 * Delete AndroidTimer. Now android will be using NanoTimer
2014-11-04 22:28:23 -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
shadowislord
4050b7cbbf * Require alpha discard define to be set in order to enable the alpha discard feature (for multi pass lighting shader) 2014-11-04 16:52:17 -05:00
shadowislord
22ab7c11c7 * Ensure cubemaps have square dimensions before uploading 2014-11-04 16:47:51 -05:00
shadowislord
7860ccca52 * Use mipmap minification modes only if mipmaps are actually available 2014-11-04 16:40:09 -05:00
shadowislord
4d7dcc17bb * Don't depend on ContextCapabilities for determining OGL / GLSL versions 2014-11-04 16:27:14 -05:00