shadowislord
4bfd992751
* Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform()
10 years ago
shadowislord
3f63d43461
* Add license to android renderer files
10 years ago
shadowislord
af65215450
* Delete useless Android22Workaround
10 years ago
iwgeric
b71d94c37c
Fix NPE while destroying the Fragment when a splash screen is used.
10 years ago
iwgeric
6d8ef39976
Add support for setting a maximum resolution on the GLSurfaceView while maintaining the aspect ratio (AndroidHarnessFragment only).
10 years ago
iwgeric
6ec86fe919
Initial commit for support of launching a jME application as an Android Fragment
10 years ago
iwgeric
0777a18a84
Deprecate screenOrientation from AndroidHarness.
...
Users should set the AndroidManifest.xml property for screen orientation instead. Removes app start, end, restart if the MainActivity.screenOrientation doesn't match the current device orientation. Setting the value in AndroidManifest.xml sets the device orientation before the app starts.
10 years ago
shadowislord
aaac8cb613
URA is now used by default on Android
10 years ago
shadowislord
6ca111b13d
Refactor renderer system
...
* Support OpenGL ES 2 in GLRenderer (various error fixes)
* Get rid of OpenGL 1 remenants
* Other minor cleanups
10 years ago
iwgeric
31bc6bf526
Add a default app profiler for Android.
...
Users can add this app profiler in the MainActivity to show the application timings within the Android systrace utility.
10 years ago
iwgeric
3a82c9eca1
Add frame rate limitiing on Android.
...
If frameRate is set in MainActivity, the application will limit the frame rate to the value defined. This can be used to save battery life.
10 years ago
iwgeric
47477daa05
Forgot to update the commit text
10 years ago
iwgeric
5948479de4
comment out android show keyboard. Now using JmeSystem method to show/hide android soft keyboard.
10 years ago
Nehon
b1739fd9d7
Also fixed Android's VideoRecorderAppState
10 years ago
Nehon
9f459af4e3
One can now call readFrameBuffer with a specific format, implementation has been done for the GLRenderer only.
...
For now only placeholders have been done for the renderers that are still not using URA (all except LWJGL).
10 years ago
iwgeric
a55aae21f9
Minor cleanup of mouse / keyboard methods for touch.
...
Depreciated InputManager.getSimluateMouse and replaced with InputManager.isSimulateMouse for consistancy.
Removed depreciated TouchInput.getSimulateMouse().
Added InputManager.isSimulateKeyboard() to keep consistancy with mouse methods.
10 years ago
iwgeric
a116389814
Forgot to add isSimulateKeyboard to TouchInput interface.
10 years ago
iwgeric
1ed1463476
Add support for enabling/disabling KeyEvent simulation for soft keyboards on Android similar to MouseEvents.
10 years ago
iwgeric
249f62fe95
remove showVirtualKeyboard from TouchInput
10 years ago
iwgeric
858fd433ca
Implement showSoftKeyboard for Android.
...
Also changed JmeAndroidSystem to store the view instead of the activity.
When users call JmeSystem.showSoftKeyboard(true), the default Android soft keyboard is displayed and any key presses are sent to jME as touch events. Key events are also generated so the user can use the same key listeners as Desktop to keep the user code common between Desktop and Android platforms.
10 years ago
iwgeric
d42a777909
Add showSoftKeyboard(boolean show) to JmeSystem.
...
Includes empty implementations for now. Android to be implemented in next commit.
10 years ago
iwgeric
8560b98aa0
Add android.jar to root project and use during jme-android project build.
...
Current version is rev19, KitKat.
10 years ago
iwgeric
6f4b90feed
Temporary fix for searching for version strings until URA is done.
10 years ago
shadowislord
8426bb7baf
Officially switch to the new Android audio system (PART 2..)
10 years ago
shadowislord
be1f219f29
The old Android MediaPlayer based audio renderer is now deprecated
10 years ago
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.
10 years ago
shadowislord
62a235fbf7
Add streaming + looping support for Android vorbis audio
10 years ago
shadowislord
4241ce9ead
Fix ESSL version parsing (incorrect prefix)
10 years ago
shadowislord
de0027eee3
Fix OGL version parsing
10 years ago
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