76 Commits

Author SHA1 Message Date
Lou H
930090dfa0 #1097-Fixed inconsistent OpenGL version constants (#1099) 2019-06-03 09:35:12 +02:00
James Khan
b9b4a2d75b Reference the joystick that changed state instead of the ID.
Use separate connection methods (onConnected/onDisconnected).
2019-05-13 09:59:49 +01:00
James Khan
2f6185b5cf Remove JoystickState enum and replace with boolean value. 2019-05-12 08:31:14 +01:00
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
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
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ß
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
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
shamanDevel
bd491dc416 removed fixmes 2016-05-11 09:48:45 +02:00
shamanDevel
e32ebe11bb fixed context creation for LWJGL3 2016-05-11 09:42:11 +02:00
shamanDevel
732e75fba6 fixed unmapping of buffer objects and an error in setArg in Lwjgl3's Kernel 2016-05-11 09:19:30 +02:00