14 Commits

Author SHA1 Message Date
Kirill Vainer
6127f7eb7a Miscellaneous OpenGL ES fixes (#720)
* Use correct HALF_FLOAT constant for GLES
* Support GLTracer and GL debug in Android
* Support instancing in GLTracer
* Don't use unsupported TEXTURE_{BASE,MAX}_LEVEL in GLES
* Support ABGR8 using swizzle extension
* Move glFramebufferTextureLayer to GLFbo
* Avoid RGB111110F in filters unless its actually supported
* Use the same depth format in all places in FPP
* Print the object with the problem in NativeObjectManager
* JMException does not exist on Android
2017-09-17 23:00:29 -04:00
shamanDevel
5e098b0493 worked on LWJGL3 support 2016-05-08 17:05:43 +02: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
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
shadowislord
aaac8cb613 URA is now used by default on Android 2015-01-19 18:18:45 -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
iwgeric
47477daa05 Forgot to update the commit text 2015-01-06 08:38:39 -05:00
iwgeric
5948479de4 comment out android show keyboard. Now using JmeSystem method to show/hide android soft keyboard. 2015-01-06 08:34:49 -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
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
14bfc7e166 Minor cleanups (no functionality change) 2014-11-09 17:34:36 -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
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00