79 Commits

Author SHA1 Message Date
James Khan
682d8c9fd8 Use RawInputListener for InputManager instead of creating another field.
Set methods to use JoystickState enum instead of event integers.
2019-05-11 20:18:15 +01:00
James Khan
80adca6dce Translate JoystickState directly from LWJGL context.
Set the logger to the correct class
2019-05-11 20:17:05 +01:00
James Khan
318d6d0e89 Add support for listening to joystick connection/disconnection.
Fixes bug causing NullPointerException when removing joysticks.
Allows adding joysticks after the application has started.
2019-05-11 15:25:11 +01:00
Stephen Gold
4581b6cb36 jme3-examples/jme3-lwjgl3 JavaDoc corrections (comments only) 2019-02-26 13:15:18 -08:00
Ali-RS
dae85e1598 Removed unused imports. (#1020) 2019-02-11 21:40:32 -08:00
Paul Speed
7b0471c43a
Merge pull request #980 from fba-rio/patch-2
Fixed call to onJoyButtonEvent()
2019-01-27 02:28:55 -05:00
Ali-RS
7b346d2760 Bump LWJGL3 version to '3.2.1' 2019-01-15 01:34:47 -08:00
Francivan Bezerra
467af4fff5
Fixed call to onJoyButtonEvent()
The method onJoyButtonEvent() was being called on every update(). Now it is called only when the state of a button changes (from not pressed to pressed and vice-versa).
2018-12-28 00:11:28 -02:00
Toni Helenius
989fc0a9f0 The mouse pos should be initialized always 2018-10-03 11:21:47 -07:00
Toni Helenius
ca81975988 Get initial mouse pos on init, pass it to the InputManager 2018-10-03 11:21:47 -07:00
Toni Helenius
87023eb3f7 Set as finals 2018-10-03 11:21:47 -07:00
Toni Helenius
bbcb8c5701 Feature 871 (#873)
* Update LWJGL to 3.1.6

* Change LinkedLists to ArrayDeques

* Call glfwTerminate & set NULL error callback on destroy

fixes crash when context is re-created
2018-07-17 11:42:26 +02:00
Rémy Bouquet
266d8b0828 Implements SSBO (Shader Storage Buffer Object) and UBO (Uniform Buffer Object) support 2018-05-18 08:30:07 +02:00
javasabr
555a348692 refactored and upgraed lwjgl3 module. 2018-02-26 10:35:25 +01:00
Stephen Gold
b159c847cc comment corrections: mostly spelling and grammar 2018-01-16 18:35:07 -08:00
Toni Helenius
09f4ae4832 Animated cursor support for LWJGL 3 (#785)
* Simple animated cursor support

* Use primitive array and diamond constructor
2017-12-08 08:26:50 +01:00
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
Kirill Vainer
381d69ccb7 Support LWJGL 3.1.2 2017-09-09 14:34:08 +02:00
javasabr
642b9f4d39 added dependences to native libs 2017-08-31 21:39:54 +02:00
javasabr
97efa6be65 We need to update lwjgl from 3.0.0 to 3.1.0(3.1.2 requires to change code), because start from the version they use other solution with native libraries and other user can overwrite these dependences from jME. 2017-08-31 21:39:54 +02:00
javasabr
a50b1f1d2f added synchronizing during freeing memory from a deallocator. 2017-07-23 11:42:28 +03:00
javasabr
51876d6ada to prev. 2017-07-16 11:42:26 +03:00
javasabr
76cd4e6eca added support multi-threading allocations for LWJGL Buffer Allocator. 2017-07-16 11:38:31 +03:00
Alexandr Brui
8abf23b2f2 Added missed gl versions (#680)
* Added missed GL versions and Caps.

* Added supporting 3.3, 4.0, 4.1, 4.2, 4.3, 4.4 and 4.5 GL core profiles.
2017-07-14 14:25:57 +02:00
javasabr
f84ac5d085 fixed some problems with getting address. 2017-02-28 06:00:14 +03:00
empirephoenix
d1b125eac1 Merge pull request #578 from FennelFetish/master
Fixes mouse cursor format for LWJGL3
2017-02-24 10:02:13 +01:00
javasabr
449f83f4a6 added volatile 2017-02-24 06:52:34 +03:00
javasabr
2136dc4484 Implemented auto free LWJGL byte buffers. 2017-02-24 06:50:53 +03:00
Nehon
6a467ecb53 Added gpu profiling to Renderer and all the GL backends except ios 2017-02-05 17:57:28 +01:00
javasabr
90649456e0 added checking property existing. 2017-01-01 20:00:01 +03:00
javasabr
b3ecb134ef reverted the name of the logger field. 2017-01-01 19:31:28 +03:00
javasabr
d468c20fba implemented LWJGL3 BufferAllocator 2016-12-30 11:33:23 +03:00
empirephoenix
4663258904 Merge pull request #535 from papaspace/custom-blend-func
Added RenderState.BlendMode.Custom
2016-12-07 13:00:21 +01:00
Fennel
54c854bec6 Fixes mouse cursor format for LWJGL3 2016-12-04 02:43:27 +01:00
javasabr
1f9a5cd028 for prev commit 2016-12-03 16:58:30 +03:00
javasabr
544d94aed7 implemented supporting the OffscreenSurface context. 2016-12-03 16:55:50 +03:00
javasabr
06258a6ddc fixed crashes 2016-11-28 06:19:52 +03:00
javasabr
ddfa6e703a updated the window implementation 2016-09-27 20:41:23 +03:00
javasabr
190f30afe5 added supporting window icons for LWJGL3 2016-09-27 06:54:35 +03:00
Sebastian Weiß
4e79ccfa68 changed source compatibility only for lwjgl3 2016-09-12 10:19:01 +02:00
Sebastian Weiß
ed68a7b749 fixed formatting 2 2016-08-27 08:45:42 +02:00
Sebastian Weiß
dccec876c5 fixed formatting 2016-08-26 20:39:52 +02:00
Sebastian Weiß
e8f76d43fe implemented all changes regarding OpenCL (and some missing stuff) 2016-08-26 14:40:44 +02:00
Sebastian Weiß
e40ebdc5c6 updated GL and AL 2016-08-26 12:39:08 +02:00
Sebastian Weiß
6ad6f658b0 updated lwjgl version to the 3.0.0 release 2016-08-26 12:38:43 +02:00
Michael Braunstingl
d39b780fa5 Added RenderState.BlendMode.Custom
BlendMode.Custom allows glBlendFuncSeparate() calls.
2016-07-24 12:40:45 +02:00
shamanDevel
46db6d95f8 Added getter method for the device associated with a command queue 2016-06-19 18:06:00 +02:00
shamanDevel
eb07d69cd8 missing toString() methods added 2016-06-19 13:26:26 +02:00
shamanDevel
e5e5128a65 Fixed Program.getBinary() for LWJGL3 2016-05-25 13:29:49 +02:00
shamanDevel
dd22ebefdd Implemented Program.getBinary() with Jocl.
The program cache now also works with Jocl.
Thanks to @gouessej for his help.
2016-05-23 08:07:42 +02:00