5674 Commits

Author SHA1 Message Date
shamanDevel
9a3dce2fb3 OpenGL/CL sharing is not working with lwjgl3. It seems that the context is set up the wrong way.
For now, disable the sharing methods.
Also retrieving the program binaries is disabled, the current implementation would throw a segfault.
2016-05-09 07:55:46 +02:00
shamanDevel
5e098b0493 worked on LWJGL3 support 2016-05-08 17:05:43 +02:00
shamanDevel
e35bb7dcbc added a constructor that disables the program cache: used during development 2016-05-05 19:49:51 +02:00
shamanDevel
a2df82b9e0 implemented a cache for program objects 2016-05-02 21:39:27 +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
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
shamanDevel
510c40955f some more documentation 2016-04-26 10:16:48 +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
03282a7c86 added example for vertex buffer sharing 2016-04-24 14:09:09 +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
shamanDevel
195a5a69be added first version of the cl wrapper in CL.java, contains a subset of the OpenCL specification 2016-04-18 17:38:38 +02:00
shamanDevel
ab15f5c57c started with the OpenCL api for jme3 2016-04-17 21:14:57 +02:00
Nehon
091b8664ad Fixed an issue where Vector3f.NAN constant reference was assigned to an attribute instead of being cloned in AudioNode. 2016-04-17 14:15:48 +02:00
iwgeric
e837336116 Merge remote-tracking branch 'origin/master' 2016-04-11 19:42:11 -04:00
iwgeric
5be0edfd31 Update native bullet libraries for Android 2016-04-11 19:36:42 -04:00
iwgeric
3ae3b0064e Remove static from method
Having the method static was causing javah to change the signature of the native method which caused compiling errors
2016-04-11 19:33:22 -04:00
iwgeric
7de6199bb5 Fix issue detecting Android NDK and property to build native projects 2016-04-11 19:31:48 -04:00
iwgeric
ae2cb3b740 Fix issue detecting Android NDK and property to build native projects 2016-04-11 19:31:04 -04:00
iwgeric
f3177535a7 Fix issue detecting Android NDK and property to build native projects 2016-04-11 19:30:37 -04:00
Nehon
7bd2feb416 Made a test for shaderNode based j3md loading 2016-04-11 21:02:16 +02:00
Nehon
c859cf375c Fixed an issue with shaderNodes loading 2016-04-11 20:19:16 +02:00
Kirill Vainer
8d4962d11f fix failing unit test v3.1.0-alpha5 2016-04-10 23:46:41 -04:00
Kirill Vainer
f5072cba4a add better TestDoppler example 2016-04-10 23:26:10 -04:00
Kirill Vainer
9d094b222a AudioNode: add setVelocityFromTranslation 2016-04-10 23:25:06 -04:00
Kirill Vainer
2dca1a2732 add AudioListenerState 2016-04-10 23:24:19 -04:00
Kirill Vainer
2e328fc6e0 test: add TestAnisotropicFilter 2016-04-10 23:22:39 -04:00
Kirill Vainer
97a53e0c99 material: add unit test 2016-04-10 23:21:38 -04:00
Kirill Vainer
65b7c205f9 StaticPass: fix spot light 2016-04-10 23:21:05 -04:00
Kirill Vainer
3f5cc4963e FBX: use new loader by default 2016-04-10 23:20:41 -04:00
Kirill Vainer
78b635726a AL: fix crash when device is disconnected 2016-04-10 17:58:36 -04:00
Kirill Vainer
44e568943b fix merge issues 2016-04-10 13:00:15 -04:00
Kirill Vainer
0ab73359ca Merge branch 'BorealFeast-master' 2016-04-10 12:51:37 -04:00
Kirill Vainer
cb61e760ce Merge branch 'master' into BorealFeast-master
Conflicts:
	jme3-core/src/main/java/com/jme3/material/RenderState.java
	jme3-core/src/main/java/com/jme3/renderer/opengl/GL.java
2016-04-10 12:51:19 -04:00