65 Commits

Author SHA1 Message Date
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
shadowislord
5f33bdfa95 JOAL audio renderer to use the unified OpenAL backend as well 2014-11-15 16:36:24 -05:00
shadowislord
91715c4a48 Add support for URA, or Unified Renderer Architecture for audio
* Unified all renderers into common class 'ALAudioRenderer'
 * LWJGL and Android now implement the AL / ALC / EFX interfaces to provide a common OpenAL backend for jME
 * Added support for OpenAL Soft "Pause Device" extension, which allows the engine to pause the context while running in the background (currently requires OpenAL soft 1.16 and thus is Android only feature)
2014-11-15 15:15:50 -05:00
shadowislord
4717e7006f Goodbye, OpenGL1 2014-11-09 12:29:28 -05:00
shadowislord
1dfa4d4c0d Remove usage of deprected image formats (JOGL) 2014-11-09 11:53:12 -05:00
David Bernard
37da17e3eb add support of DepthStencil into *Renderer
+ a test app
- only tested on desktop with Lwjgl
2014-11-05 12:15:14 +01:00
saloisio
6dace77a7a Animator is stopped only if it is currently animating. 2014-09-22 09:36:37 -04:00
unknown
0644c286ef Updated JOGL canvas classes to fix shutdown bug. Also added frame rate
support.
2014-09-19 13:24:01 -04:00