Daniel Johansson
dc0bcb5d13
Resolves #378 , adding support for detecting ARMv8 on Android.
2015-11-12 15:11:41 +00:00
Kirill Vainer
5c35b9bb22
Renderer: delete deprecated renderers
2015-05-11 19:31:10 -04:00
Kirill Vainer
7393f79165
AudioSource: add method to get playback time
...
As was requested on the forum, getting playback time / position is needed to perform proper audio / video synchronization.
2015-04-29 23:58:34 -04:00
iwgeric
5c6deeb5ab
Android: add GLFbo interface to AndroidGL to fix cast exception
2015-04-27 23:23:26 -04:00
Kirill Vainer
ed4b70bcad
GLTiming: new GL wrapper to profile GL calls
2015-04-25 17:41:50 -04:00
Kirill Vainer
5b95f8a4b0
GLRenderer: Improve compatibility with OpenGL 3.2 core profile
...
* Separate GLFbo and GLExt implementations. GLFbo can now be implemented either via vanilla OpenGL3 calls or GL_EXT_framebuffer_*** extensions (OpenGL2.1- only).
* Use modern way of getting supported extensions in core profile.
* Luminance and Alpha formats are not available when running in core profile.
* Bind a dummy vertex array object (VAO) when running in core profile.
* Point sprite mode is always enabled. Since both OpenGL ES 2.0 and OpenGL 3.2 core require it, jME3 is no longer capable of rendering regular points.
2015-04-25 16:57:24 -04:00
iwgeric
116adbba1f
Android: Support JoystickCompatibilityMappings for reassigning joystick axes and buttons.
...
Also added ability to add new buttons as events come in due to Android not providing a definitive way to determine which buttons are supported on the device.
2015-04-19 12:40:17 -04:00
iwgeric
d80de0cc5b
Android: Add static property to disable sensors but still have joysticks.
...
May move this to AppSettings later, but not sure yet.
2015-04-18 14:48:30 -04:00
iwgeric
6c24390663
Android: Fix issue handling key events that are tied to both keyboard and gamepad
2015-04-17 19:53:55 -04:00
iwgeric
61ba11d872
Rework of Android input system to support future expansion and gamepad support.
...
Gamepad support is still a work in progress, but functions.
2015-04-17 19:02:19 -04:00
iwgeric
22d3f7f9f4
Android: Refactor joystick support to prepare for upcoming gamepad support.
2015-04-07 18:35:48 -04:00
iwgeric
47e9b9ba16
Android: Remove unused property to track if joysticks are enabled.
2015-04-07 17:53:54 -04:00
iwgeric
4102e91456
Android: remove unused properties in AndroidHarnessFragment
2015-04-02 23:51:26 -04:00
iwgeric
5ab8fb8f6a
Android: remove reference to screenOrientation from unused test project
2015-04-02 13:09:49 -04:00
iwgeric
1569e9583a
Android: remove deprecated screenOrientation from AndroidHarness.
...
Screen orientation is set in manifest instead of in MainActivity.
2015-04-02 13:08:53 -04:00
shadowislord
068047200e
Threads: standardize names. Make sure they all start with "jME3".
2015-03-27 21:43:32 -04:00
shadowislord
2bc5545171
OGLESShaderRenderer: remove clearTextureUnits since it doesnt do anything
2015-03-27 21:36:43 -04:00
shadowislord
40926dc32d
AssetConfig: Platform asset config now returned as URL
...
- Return back DesktopAssetManager constructor with boolean argument - this time it shall use platform config instead of always using Desktop.cfg
2015-03-01 15:11:57 -05:00
shadowislord
25b1780e09
AssetManager: remove useless subclasses
...
* All platforms now use asset configuration files. Subclasses of DesktopAssetManager no longer required.
* Added general asset config file which is included by all
* JmeSystemDelegate now always returns DesktopAssetManager
* JmeSystem is now responsible for providing the platform-specific asset config path
* Deprecate JmeSystem.createImageRaster(), it is simpler to create a DefaultImageRaster
2015-02-28 18:32:38 -05:00
shadowislord
bbbcd8eba5
Android Images: deprecate classes that won't be used in 3.1
2015-02-28 18:28:35 -05:00
shadowislord
9651d6d822
GL interface: add support for PBO, FB readback, and fences (ARB sync)
2015-02-15 16:42:42 -05:00
iwgeric
4baceb6a08
fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit
2015-02-14 10:27:23 -05:00
shadowislord
253c3ac80d
JmeSystem: print build info on initialization
2015-02-09 21:07:59 -05:00
shadowislord
d3cbf7fbf2
GL implementations: Fix uploading of buffers with position != 0
...
* this is required for pregenerated mipmaps in e.g. DDS files
* others checks are added to make sure a zero-length buffer cannot be uploaded (that's an error for now)
2015-02-07 19:08:54 -05:00
shadowislord
4bfd992751
* Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform()
2015-01-31 12:47:07 -05:00
shadowislord
3f63d43461
* Add license to android renderer files
2015-01-31 12:46:45 -05:00
shadowislord
af65215450
* Delete useless Android22Workaround
2015-01-31 12:46:09 -05:00
iwgeric
b71d94c37c
Fix NPE while destroying the Fragment when a splash screen is used.
2015-01-30 13:00:39 -05:00
iwgeric
6d8ef39976
Add support for setting a maximum resolution on the GLSurfaceView while maintaining the aspect ratio (AndroidHarnessFragment only).
2015-01-27 12:57:35 -05:00
iwgeric
6ec86fe919
Initial commit for support of launching a jME application as an Android Fragment
2015-01-26 21:28:11 -05:00
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.
2015-01-24 11:05:20 -05:00
shadowislord
aaac8cb613
URA is now used by default on Android
2015-01-19 18:18:45 -05:00
shadowislord
6ca111b13d
Refactor renderer system
...
* Support OpenGL ES 2 in GLRenderer (various error fixes)
* Get rid of OpenGL 1 remenants
* Other minor cleanups
2015-01-19 18:15:25 -05:00
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.
2015-01-10 01:03:02 -05:00
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.
2015-01-06 08:46:19 -05:00
Nehon
b1739fd9d7
Also fixed Android's VideoRecorderAppState
2014-12-29 00:19:16 +01:00
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).
2014-12-28 16:23:30 +01:00
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.
2014-12-12 13:16:41 -05:00
iwgeric
a116389814
Forgot to add isSimulateKeyboard to TouchInput interface.
2014-12-12 13:00:05 -05:00
iwgeric
1ed1463476
Add support for enabling/disabling KeyEvent simulation for soft keyboards on Android similar to MouseEvents.
2014-12-12 12:48:25 -05:00
iwgeric
249f62fe95
remove showVirtualKeyboard from TouchInput
2014-12-12 12:16:45 -05:00
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.
2014-12-12 08:42:13 -05:00
iwgeric
d42a777909
Add showSoftKeyboard(boolean show) to JmeSystem.
...
Includes empty implementations for now. Android to be implemented in next commit.
2014-12-12 08:15:53 -05:00
iwgeric
8560b98aa0
Add android.jar to root project and use during jme-android project build.
...
Current version is rev19, KitKat.
2014-12-08 22:50:33 -05:00
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