iwgeric
6f4b90feed
Temporary fix for searching for version strings until URA is done.
2014-12-08 22:41:45 -05:00
shadowislord
8426bb7baf
Officially switch to the new Android audio system (PART 2..)
2014-11-20 20:36:36 -05:00
shadowislord
be1f219f29
The old Android MediaPlayer based audio renderer is now deprecated
2014-11-20 20:33:30 -05:00
shadowislord
6cad69e067
Officially switch to the new Android audio system
...
Now uses OpenAL Soft 1.16 by default with the Tremor-based OGG/Vorbis decoder.
All jME3 audio features now work on Android.
2014-11-20 20:27:43 -05:00
shadowislord
62a235fbf7
Add streaming + looping support for Android vorbis audio
2014-11-20 20:07:42 -05:00
shadowislord
4241ce9ead
Fix ESSL version parsing (incorrect prefix)
2014-11-20 20:00:28 -05:00
shadowislord
de0027eee3
Fix OGL version parsing
2014-11-20 19:40:31 -05:00
shadowislord
6bdebb937a
Assume OpenGL ES 2.0 is supported on ICS and higher devices
...
Fixes running jME3 in Android Emulator
2014-11-18 22:05:14 -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
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
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
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
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
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
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
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
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
3ef5505faa
Allow render buffers to use 'Depth' format even if depth textures are not supported.
...
Fixes post processing on GPUs without depth texture support (e.g. NVIDIA Tegra)
2014-11-02 19:14:08 -05:00
shadowislord
3fa56c9467
Fix texture alpha channel not working on Android due to it premultiplying it by default. Fixes terrain shader.
2014-11-01 20:38:24 -04:00
shadowislord
661053689d
Fix glClear not working properly if the last rendered model disabled depth or color writing (fix issue #639 on google code)
2014-09-21 18:19:54 -04:00
Nehon
a709ba9a77
Use of glBufferData instead of glBufferSubData in android renderer, because it seems to cause GL oom on some devices.
2014-09-11 21:23:04 +02:00
pspeed42
5a482e2b98
Added another Photoshop tyle blend mode: Exclusion
...
Performs a sort of color XOR with source and destination.
Very useful for UI highlighting but is a bizarre (and
potentially useful) effect in 3D.
2014-09-10 14:00:27 -04:00
shadowislord
dbd9ed9d78
Merge pull request #126 from kwando/screen_blendmode
...
Add Screen blend mode.
2014-09-07 16:54:23 -04:00
Nehon
ca6d3f4e73
Commented out a line in the OglesShaderRenderer (android) that was occasionally causing a crash on android.
...
This line was already commented in other renderers, and I have to admit I have no clue of what it does except crashing the app
2014-08-12 23:05:24 +02:00
Nehon
1b7421a153
Used correct colorSpace in android Image loaders
2014-07-02 20:55:02 +02:00
Hannes Nevalainen
dd88363900
Screen blend mode for andriod.
2014-07-01 19:23:28 +02:00
shadowislord
65094e9ca1
* Put the shader compile log on the next line so its slightly more readable
2014-06-05 23:28:28 -04:00
shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
2014-05-31 13:12:46 -04:00
shadowislord
81498d6f79
* Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations.
2014-05-31 12:27:31 -04:00
shadowislord
35cfae5ef0
* Merge revision 11058 from experimental branch
...
- Add instanced geometry support. This is performed by uploading 4 vertex buffers each containing 4 floats. The top 3 rows are the world matrix and the bottom row is a quaternion representing the normal matrix. Hence, both unshaded and lit geometries can be rendered through instancing.
See Instancing.glsllib for more information as well as the comment in LwjglRenderer.
2014-05-31 11:46:58 -04:00
Nehon
e4ba4e9e9e
- Image loaders now assume ALL images are in sRGB space and set the flag accordingly
...
- All images constructors now take the isSrgb flag as a parameter, all engine classes has been changed to accommodate the change, old constructors has been deprecated for backward compatibility. One should always ask himself in which color space is an image if dealing with gamma correction
- Gamma correction has been defaulted to false in the appSettings
2014-05-26 12:11:56 +02:00
Nehon
77a4002c3d
Added support for hardware srgb output (gamma correction).
...
It can be toggled at render time.
Works with lwjgl
Couldn't test with Jogl and might be not working
Not supported by mobile renderers
2014-05-26 12:11:55 +02:00
iwgeric
7c8fa29b26
Adding a VideoRecorderAppState for Android. Performance is really bad, but it will at least run and store the AVI. Not really intended for app usage, but it's been handy in a couple of places. Just committing to lot lose the changes necessary to make it run. More work required, for sure.
2014-03-31 13:12:10 -04:00
iwgeric
d1033005ae
Change AndroidAssetManager to use the native lib to load png and gif files
2014-03-24 00:48:30 -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
Normen Hansen
a16857c8f4
switch to gradle layout
2014-03-21 02:32:11 +01:00