Stephen Gold
822bcd1300
suppress more javac warnings about unchecked casts
2020-04-15 17:33:59 -07:00
MeFisto94
2379cfba77
Merge pull request #1276 from MeFisto94/fix-gldebug
...
Fixes #1272 - Improve GLDebugDesktop by reducing manual overrides
2020-04-04 03:09:19 +02:00
Toni Helenius
59793d4c06
Fix for resizing the window (issue 1191) ( #1308 )
...
* Listen for framebuffer size callbacks and set the resolution from that
* Also check the window size on the framebuffer size callback
2020-03-22 15:31:46 -07:00
Toni Helenius
b93ea18fa2
Lwjgl3 restart input handle ( #1268 )
...
* Reinit inputs on context restart
* Added test issue from issue #1013
* Verify that the inputs are already initialized
2020-02-25 17:20:09 -08:00
Stephen Gold
f652591281
remove unnecessary casts and tests for null, discovered using NetBeans ( #1285 )
...
* remove unnecessary tests for null, discovered using NetBeans
* jme3-core: remove unnecessary casts
* jme3-examples: remove unnecessary casts
* jme3-vr: remove unnecessary casts
* jme-plugins: remove unnecessary casts
* jme3-terrain: remove unnecessary casts
* jme3-desktop: remove unnecessary casts
* jme3-android: remove unnecessary casts
* remove unnecessary casts, discovered using NetBeans
* TerrainQuad: back out one casting delta that's not a removal
* TerrainPatch: simplify generateLodEntropies() after removal of the cast
* TerrainPatch: simplify reIndexGeometry() after removal of the cast
2020-02-13 10:21:51 -08:00
MeFisto94
12481c08f6
Use a reflection-based approach to call checkError() after every call to the openGL API to reduce Code Duplication and increase Maintainability, while also fixing the regression caused by GLDebugDesktop extending from GLDebugES and thus making the Renderer think it is on mobile.
2020-02-12 23:56:06 +01:00
MeFisto94
acbddc2763
Merge pull request #1252 from MeFisto94/add-opengl31-lwjgl
...
Fixes #1251 - Support OpenGL3.1 on LWJGL2 and LWJGL3
2020-02-01 14:29:51 +01:00
Stephen Gold
0fd70b81c9
Add missing @Override annotations ( #1270 )
...
* jme3-core: add the missing @Override annotations
* jme3-desktop: add the missing @Override annotations
* jme3-bullet and jme3-jbullet: add the missing @Override annotations
* jme3-effects: add the missing @Override annotations
* jme3-terrain: add the missing @Override annotations
* jme3-examples: add the missing @Override annotations
* jme3-android: add the missing @Override annotations
* jme3-blender: add the missing @Override annotations
* jme3-ios: add the missing @Override annotations
* jme3-jogg and jme3-jogl: add the missing @Override annotations
* jme3-plugind: add the missing @Override annotations
* jme3-lwjgl and jme3-lwjgl3: add the missing @Override annotations
* jme3-networking: add the missing @Override annotations
* jme3-vr: add the missing @Override annotations
2020-01-30 09:16:47 -08:00
MeFisto94
04e7bed5e7
Fixes #1251 - Support OpenGL3.1 on LWJGL2 and LWJGL3
2020-01-12 15:22:26 +01:00
Ali-RS
981aa1d181
Bump LWJGL3 version to '3.2.3'
2019-09-20 12:13:59 -07:00
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
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