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
5 years ago
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
5 years ago
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
5 years ago
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.
5 years ago
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
5 years ago
MeFisto94
04e7bed5e7
Fixes #1251 - Support OpenGL3.1 on LWJGL2 and LWJGL3
5 years ago
Ali-RS
981aa1d181
Bump LWJGL3 version to '3.2.3'
5 years ago
Lou H
930090dfa0
#1097-Fixed inconsistent OpenGL version constants ( #1099 )
6 years ago
James Khan
b9b4a2d75b
Reference the joystick that changed state instead of the ID.
...
Use separate connection methods (onConnected/onDisconnected).
6 years ago
James Khan
2f6185b5cf
Remove JoystickState enum and replace with boolean value.
6 years ago
James Khan
682d8c9fd8
Use RawInputListener for InputManager instead of creating another field.
...
Set methods to use JoystickState enum instead of event integers.
6 years ago
James Khan
80adca6dce
Translate JoystickState directly from LWJGL context.
...
Set the logger to the correct class
6 years ago
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.
6 years ago
Stephen Gold
4581b6cb36
jme3-examples/jme3-lwjgl3 JavaDoc corrections (comments only)
6 years ago
Ali-RS
dae85e1598
Removed unused imports. ( #1020 )
6 years ago
Ali-RS
7b346d2760
Bump LWJGL3 version to '3.2.1'
6 years ago
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).
6 years ago
Toni Helenius
989fc0a9f0
The mouse pos should be initialized always
6 years ago
Toni Helenius
ca81975988
Get initial mouse pos on init, pass it to the InputManager
6 years ago
Toni Helenius
87023eb3f7
Set as finals
6 years ago
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
6 years ago
Rémy Bouquet
266d8b0828
Implements SSBO (Shader Storage Buffer Object) and UBO (Uniform Buffer Object) support
7 years ago
javasabr
555a348692
refactored and upgraed lwjgl3 module.
7 years ago
Stephen Gold
b159c847cc
comment corrections: mostly spelling and grammar
7 years ago
Toni Helenius
09f4ae4832
Animated cursor support for LWJGL 3 ( #785 )
...
* Simple animated cursor support
* Use primitive array and diamond constructor
7 years ago
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
7 years ago
Kirill Vainer
381d69ccb7
Support LWJGL 3.1.2
7 years ago
javasabr
642b9f4d39
added dependences to native libs
7 years ago
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.
7 years ago
javasabr
a50b1f1d2f
added synchronizing during freeing memory from a deallocator.
7 years ago
javasabr
51876d6ada
to prev.
7 years ago
javasabr
76cd4e6eca
added support multi-threading allocations for LWJGL Buffer Allocator.
7 years ago
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.
7 years ago
javasabr
f84ac5d085
fixed some problems with getting address.
8 years ago
javasabr
449f83f4a6
added volatile
8 years ago
javasabr
2136dc4484
Implemented auto free LWJGL byte buffers.
8 years ago
Nehon
6a467ecb53
Added gpu profiling to Renderer and all the GL backends except ios
8 years ago
javasabr
90649456e0
added checking property existing.
8 years ago
javasabr
b3ecb134ef
reverted the name of the logger field.
8 years ago
javasabr
d468c20fba
implemented LWJGL3 BufferAllocator
8 years ago
Fennel
54c854bec6
Fixes mouse cursor format for LWJGL3
8 years ago
javasabr
1f9a5cd028
for prev commit
8 years ago
javasabr
544d94aed7
implemented supporting the OffscreenSurface context.
8 years ago
javasabr
06258a6ddc
fixed crashes
8 years ago
javasabr
ddfa6e703a
updated the window implementation
8 years ago
javasabr
190f30afe5
added supporting window icons for LWJGL3
8 years ago
Sebastian Weiß
4e79ccfa68
changed source compatibility only for lwjgl3
8 years ago
Sebastian Weiß
ed68a7b749
fixed formatting 2
8 years ago
Sebastian Weiß
dccec876c5
fixed formatting
8 years ago
Sebastian Weiß
e8f76d43fe
implemented all changes regarding OpenCL (and some missing stuff)
8 years ago