119 Commits

Author SHA1 Message Date
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
shamanDevel
bb15931fa2 started with context creation 2016-04-18 18:30:32 +02:00
Teencrusher
d1aae8d479 Added support to glBlendEquation for renderes implementing GL2, and material loading support 2016-04-06 13:56:13 -04:00
Kirill Vainer
a8aabac1c9 fix issue #441 2016-04-03 16:25:26 -04:00
Kirill Vainer
2e4148f3c3 merge fixes 2016-04-02 15:54:45 -04:00
Kirill Vainer
0f1c35c5f0 minor formatting changes
Conflicts:
	jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java
2016-04-02 15:03:52 -04:00
Georgeto
b39c46a82a Let lwjgl respect the AlphaBits setting. 2016-04-01 09:19:50 +02:00
Jan Ivenz
c6143ae640 Rendering depth to texture arrays. 2016-03-30 21:58:26 +02:00
Kirill Vainer
7bf4949e83 Revert native loading changes 2015-12-29 00:11:31 -05:00
Kirill Vainer
2ca55c8b3a LWJGL3 improvements
* Added key remapping for GLFW key constants
 * Rename AppSettings.getGammaCorrection() to isGammaCorrection()
 * Use LWJGL3 artifacts from maven
 * Minor compatibility changes for LWJGL 3.0.0b
 * Fixed some minor bugs in LwjglWindow
2015-12-29 00:00:39 -05:00
Nehon
cbe87cf41f checkGLError in LwjglOffscreenBuffer is now called only if assertions are on, as it is done in LwjglAbstractDisplay 2015-11-11 19:02:23 +01:00
Kirill Vainer
ed2c998f39 Merge pull request #340 from Kendanware/issue314
Added LWJGL 3.x module and implementation in regards to issue #314
2015-09-23 10:07:34 -04:00
Kirill Vainer
62186362a8 GLDebugOutputHandler: dump stack on debug messages 2015-09-22 22:02:12 -04:00
Daniel Johansson
30cdca7ad7 Native library loading is back to the way it used to be with the addition of LWJGL 3.x libraries added with a different key.
Moved LWJGL 3.x repository definition to build.grade in that module.
Fixed an issue where frame rate limit would cause GLFW frequency window hint to be set rather than use a software limiter.
Removed LWJGLTimer for lwjgl3 module, no need for it any more, we'll just use the NanoTimer.
Removed LWJGLCanvas for lwjgl3 module, can't implement this so we'll leave it for now.
2015-09-17 11:59:44 +01:00
Daniel Johansson
9ba90251d6 Merge remote-tracking branch 'upstream/master'
Conflicts:
	jme3-bullet-native-android/build.gradle
2015-09-13 20:15:22 +01:00
Kirill Vainer
148c78a943 GL: make lwjgl implementation classes final 2015-09-05 14:03:32 -04:00
Daniel Johansson
8f77dca931 Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW. 2015-08-26 22:34:05 +01:00
Kirill Vainer
5c35b9bb22 Renderer: delete deprecated renderers 2015-05-11 19:31:10 -04:00
Kirill Vainer
5cf6b0c9a6 LwjglContext: add custom handler for GL debug messages 2015-04-25 23:09:58 -04:00