shadowislord
6bdebb937a
Assume OpenGL ES 2.0 is supported on ICS and higher devices
...
Fixes running jME3 in Android Emulator
10 years ago
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)
10 years ago
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
10 years ago
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
10 years ago
shadowislord
d8c5985a73
Disable SDK build by default (maybe Travis can handle it then)
...
Fix compile error in jme3-android project
10 years ago
shadowislord
89aac97a4a
Fix crash when using AndroidNativeImageLoader due to changed lib name
10 years ago
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
10 years ago
shadowislord
14bfc7e166
Minor cleanups (no functionality change)
10 years ago
shadowislord
e6df8b1e49
Remove deprecated ConfigType
10 years ago
shadowislord
1a8e6f1644
Reuse bindProgram in OGLESShaderRenderer
10 years ago
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
10 years ago
shadowislord
b7a4faebf0
Remove deprecated fields from AndroidHarness
10 years ago
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
10 years ago
David Bernard
37da17e3eb
add support of DepthStencil into *Renderer
...
+ a test app
- only tested on desktop with Lwjgl
10 years ago
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
10 years ago
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)
10 years ago
shadowislord
3fa56c9467
Fix texture alpha channel not working on Android due to it premultiplying it by default. Fixes terrain shader.
10 years ago
shadowislord
661053689d
Fix glClear not working properly if the last rendered model disabled depth or color writing (fix issue #639 on google code)
10 years ago
Nehon
a709ba9a77
Use of glBufferData instead of glBufferSubData in android renderer, because it seems to cause GL oom on some devices.
10 years ago
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.
10 years ago
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
10 years ago
Nehon
1b7421a153
Used correct colorSpace in android Image loaders
11 years ago
Hannes Nevalainen
dd88363900
Screen blend mode for andriod.
11 years ago
shadowislord
65094e9ca1
* Put the shader compile log on the next line so its slightly more readable
11 years ago
shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
11 years ago
shadowislord
81498d6f79
* Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations.
11 years ago
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.
11 years ago
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
11 years ago
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
11 years ago
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.
11 years ago
iwgeric
d1033005ae
Change AndroidAssetManager to use the native lib to load png and gif files
11 years ago
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 )
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
rem..om
54ab14e5ae
Merged commits r11015 to gradle restructure branch.
...
Made similar cleanup in other renderer implementations
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
e65d6ea44b
Merged commits r11009 to r11012 to gradle restructure branch.
...
Moved the workaround for GLSL100 into the renderers instead of having it when selecting a technique
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
ed77d40c63
First pass at copying the source files with history into the
...
new gradle-based structure.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago