MeFisto94
efc1962092
Merge pull request #1320 from MeFisto94/fix-lwjgl3-double-stop
...
Fixes #1319 - LWJGL2: start(true) should not freeze when context could not be initialized
2020-04-04 20:15:52 +02: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
MeFisto94
d19ae582a1
Fixes #1319 - LWJGL2: start(true) should not freeze when context could not be initialized
2020-04-03 12:09:15 +02: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
124ad35677
Fixes #1249 - Don't hang up when destroy is called multiple times ( #1250 )
2020-01-27 00:03:25 -08:00
MeFisto94
04e7bed5e7
Fixes #1251 - Support OpenGL3.1 on LWJGL2 and LWJGL3
2020-01-12 15:22:26 +01:00
Lou H
930090dfa0
#1097-Fixed inconsistent OpenGL version constants ( #1099 )
2019-06-03 09:35:12 +02:00
Riccardo Balbo
a68d8b50e3
Add support for opengl versions > 3.2 in lwjgl2 renderer
2019-05-27 18:37:44 +02:00
Stephen Gold
75112201db
more corrections in diagnostic messages
2019-03-09 12:04:43 -08:00
Stephen Gold
f33252f4d0
spelling corrections in diagnostic messages
2019-03-02 17:41:21 -08:00
Ali-RS
dae85e1598
Removed unused imports. ( #1020 )
2019-02-11 21:40:32 -08:00
Stephen Gold
64d0e00a49
LwjglContext: correct a typo in a log message
2018-12-31 09:32:46 -08: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
Stephen Gold
b159c847cc
comment corrections: mostly spelling and grammar
2018-01-16 18:35:07 -08:00
Stephen Gold
26ae3ec806
initialize InputManager.cursorPos to fix issue #792 for LWJGL2
2018-01-14 17:19:20 +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
Nehon
6a467ecb53
Added gpu profiling to Renderer and all the GL backends except ios
2017-02-05 17:57:28 +01:00
empirephoenix
4663258904
Merge pull request #535 from papaspace/custom-blend-func
...
Added RenderState.BlendMode.Custom
2016-12-07 13:00:21 +01:00
Toni Helenius
f2384c8063
Added a cursor cache to avoid cursor disappearing and app crashing when too many cursors are created
2016-08-10 20:02:34 +03: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
empirephoenix
fbf2dd4497
Merge pull request #494 from shamanDevel/OpenCL
...
OpenCL for jME3
2016-05-28 18:38:47 +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
4e55e0e5a0
added library for Matrix3f, fixed some bugs
2016-05-10 14:55:42 +02:00
shamanDevel
c162d474c7
added matrix support for kernel arguments (mapped to float16)
2016-05-10 07:26:22 +02:00
shamanDevel
5e098b0493
worked on LWJGL3 support
2016-05-08 17:05:43 +02:00
shamanDevel
22307257e0
added querying of the program binaries and building the programs from these binaries.
...
TestVertexBufferSharing shows how this is used to build a simple program cache.
2016-05-02 20:57:28 +02:00
shamanDevel
54113f35e0
added alternative versions for kernel launches and resource acquiring that do not return an event. This improves the performance.
2016-05-02 14:21:02 +02:00
shamanDevel
4be6013068
reworked releasing system.
...
Now one has to either release a native OpenCLObject manually with release() or register it for automatic garbage collection using register().
These changes greatly improve the performance by reducing the load on the OpenCLObjectManager.
2016-05-02 08:30:00 +02:00
shamanDevel
a26e526945
Added an experimental Jocl binding.
...
Note that Jogamp's Jocl only supports OpenCL1.1, some methods will throw an UnsupportedOperationException.
2016-05-01 18:38:48 +02:00
shamanDevel
7fc7402855
changed author name
2016-04-27 10:30:35 +02:00
shamanDevel
1093c639eb
finished documentation
2016-04-27 09:03:45 +02:00
Dokthar
119a076f11
joystick : if a button id isn't a numeric it will be set to the button index
2016-04-25 21:05:35 +02:00
shamanDevel
ee43853ff1
docs, docs, docs
2016-04-25 16:33:10 +02:00
shamanDevel
196cbc8042
started with the documentation
2016-04-24 20:13:51 +02:00
shamanDevel
60f10bb604
renamed DefaultPlatformChooser and moved it to the core, some small fixes
2016-04-23 14:40:48 +02:00
shamanDevel
0c47bf18c9
added memory managing: native resources are now automatically released
2016-04-23 14:18:46 +02:00
shamanDevel
0d003275a7
implemented image sharing and added julia set testcase
2016-04-22 21:12:10 +02:00
shamanDevel
d36c957f5e
implemented image operations
2016-04-22 16:11:55 +02:00
shamanDevel
4416295069
started with the image api, refactored buffer
2016-04-22 08:48:37 +02:00
shamanDevel
a6be243db1
refactoring of Context: moved simplifying functions from LwjglContext to Context
2016-04-21 15:05:55 +02:00
shamanDevel
ecda9135ad
implemented kernel execution
2016-04-21 09:04:04 +02:00
shamanDevel
6326daa120
implemented program building
2016-04-21 08:31:31 +02:00
shamanDevel
e469af2ebc
implemented LwjglCommandQueue, LwjglBuffer and LwjglEvent, added buffer test to HelloOpenCL
2016-04-20 09:50:21 +02:00
shamanDevel
e02eec0abd
added customizability of the platforms and devices by PlatformChooser
2016-04-19 15:51:20 +02:00
shamanDevel
53ebaba1e2
listing and choosing devices
2016-04-19 07:24:53 +02:00