72 Commits

Author SHA1 Message Date
Ali-RS
dae85e1598 Removed unused imports. (#1020) 2019-02-11 21:40:32 -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
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
Michael Braunstingl
d39b780fa5 Added RenderState.BlendMode.Custom
BlendMode.Custom allows glBlendFuncSeparate() calls.
2016-07-24 12:40:45 +02:00
Kirill Vainer
4f41a28a8c Merge pull request #527 from shamanDevel/OpenCL2
OpenCL for jME3 - some missing features
2016-07-23 11:36:15 -04:00
saloisio
76cbd45784 Removed auto-centering of mouse cursor 2016-06-30 10:35:21 -04: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
Julien Gouesse
5a5ffdc2ae First attempt of fix for the issue #490 2016-05-18 21:11:51 +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
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
efef3d54e1 Querying the program binaries won't be supported by the Jocl binding.
See the comments inside JoclProgram.getBinary for the reason.
2016-05-02 20:58:39 +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
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
47c26ac0e4 fix issue #441 2016-04-03 16:40:45 -04:00
Kirill Vainer
a8aabac1c9 fix issue #441 2016-04-03 16:25:26 -04:00
Jan Ivenz
c6143ae640 Rendering depth to texture arrays. 2016-03-30 21:58:26 +02: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
David Bernard
0f140370ed jogl: flip y for mouse click 2015-11-11 22:48:00 +01:00
David Bernard
3e71198610 jogl: use pixel unit for window's dimension (fix issue on MaxOS X) 2015-11-11 19:58:23 +01:00
David Bernard
836bf85630 jogl: some fixes about mouse handler
* Y hotspot is top in jogl, and bottom in jme
* in jme when mouse is invisible it should be confined into the window (on mac it could go out of the window)
* when window doesn't has the focus the mouse should not behave like when has the focus like 
  * trying to re-center
  * stay invisible
2015-11-07 15:22:04 +01:00
Julien Gouesse
ea28e8a449 First attempt to fix a bug reported by david_bernard_31, the size of the strings in the shader code was wrongly computed for the JOGL backend 2015-10-31 11:00:17 +01:00
Julien Gouesse
ce86a3e555 Allows to choose between the forward compatible profile and the backward compatible profile in the JOGL backend 2015-10-30 21:47:52 +01:00
Julien Gouesse
f38ea1e3e2 Displays the JOGL version instead of the NEWT version 2015-10-30 21:46:25 +01:00
Julien Gouesse
1559dacdca Updates JOGL (2.3.2) 2015-10-30 21:12:25 +01:00
Julien Gouesse
5f77ff021b Fixes the NullPointerException in the demos when using JoglNewtDisplay 2015-09-22 23:50:28 +02:00
Julien Gouesse
daa18429d1 Removes the old JOGL renderer and uses the new unified renderer as it works correctly now 2015-09-22 23:06:16 +02:00
Julien Gouesse
e3a45755c6 The JOGL backend doesn't need null-terminated strings for the attributes and the uniforms 2015-09-22 22:50:31 +02:00
Julien Gouesse
da01826e43 Temporarily disables the unified renderer in the JogAmp backend 2015-08-31 23:17:48 +02:00
Julien Gouesse
fcae2e64de Removes some useless code from the JogAmp backend 2015-08-31 23:15:09 +02:00
Julien Gouesse
7bd414665b Drives the display renderable earlier in order to fix the unified renderer of the JOGL backend 2015-08-30 21:47:39 +02:00
Julien Gouesse
fae50fd36e Fixes a compile error in the unified renderer of the JOGL backend, doesn't rely on the auto-boxing 2015-08-30 21:36:58 +02:00
Julien Gouesse
814fb2b3ff First implementation of the unified renderer for the JOGL backend, untested 2015-08-29 21:27:20 +02:00
Julien Gouesse
bbb15062af Adds the support of DebugGL for OpenGL ES 3 into the JOGL backend 2015-08-28 19:12:56 +02:00
Julien Gouesse
2e977f6535 Fixes a GLException caused by a regression on the management of the gamma correction in the JOGL backend 2015-08-28 19:09:52 +02:00
Julien Gouesse
5b56f1e513 Updates the JogAmp backend, uses JOGL 2.3.1 2015-04-04 16:37:36 +02:00
shadowislord
068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
iwgeric
4baceb6a08 fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit 2015-02-14 10:27:23 -05:00
shadowislord
6ca111b13d Refactor renderer system
* Support OpenGL ES 2 in GLRenderer (various error fixes)
 * Get rid of OpenGL 1 remenants
 * Other minor cleanups
2015-01-19 18:15:25 -05:00
Nehon
9f459af4e3 One can now call readFrameBuffer with a specific format, implementation has been done for the GLRenderer only.
For now only placeholders have been done for the renderers that are still not using URA (all except LWJGL).
2014-12-28 16:23:30 +01:00
shadowislord
ad26e916ee Update renderer capabilities
* Add capabilities not normally supported by GLES2 for unified renderer
 * Remove ARBProgram since it isn't used by jME3
2014-12-05 22:13:28 -05:00