284 Commits

Author SHA1 Message Date
shamanDevel
dcdcbc3a97 added test for context switching.
Changing the OpenCL platform and device by restarting the application works.
2016-05-27 10:32:49 +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
250c871cab Added a library for Matrix4f 2016-05-11 09:02:50 +02:00
shamanDevel
4e55e0e5a0 added library for Matrix3f, fixed some bugs 2016-05-10 14:55:42 +02:00
shamanDevel
44899098e2 added dependency resolving and a random number library 2016-05-09 17:43:49 +02:00
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
a2df82b9e0 implemented a cache for program objects 2016-05-02 21:39:27 +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
Paul Speed
7c74262087 Merge pull request #486 from Dokthar/joysticks
Joystick detection on linux and more...
2016-04-25 17:51:35 -04:00
Dokthar
5facee58e6 joystick : revert commented out sysout on axis update 2016-04-25 22:59:32 +02:00
Dokthar
a7766c6855 joystick : added a easier way to create custom joystick/gamepad mappings :
- push the joystick/gamepad button
- if the wrong button is highlighted, click with the mouse on the correct button (on the gamepad gui)
- this will print the string to be inserted into the joystick-mapping.properties file
2016-04-25 20:57:48 +02:00
shamanDevel
ee43853ff1 docs, docs, docs 2016-04-25 16:33:10 +02:00
MeFisto94
310f4db6ad Fixed some Reflection Errors due to the Switch from Application to LegacyApplication 2016-04-24 21:52:25 +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
bb15931fa2 started with context creation 2016-04-18 18:30:32 +02:00
Nehon
c7d264fe8e Merge branch 'master' into PBRisComing
# Conflicts:
#	jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
2016-04-11 19:09:52 +02:00
Kirill Vainer
f5072cba4a add better TestDoppler example 2016-04-10 23:26:10 -04:00
Kirill Vainer
2e328fc6e0 test: add TestAnisotropicFilter 2016-04-10 23:22:39 -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
Kirill Vainer
112a77fd5d test: don't use deprecated box constructor 2016-04-10 11:59:49 -04:00
Nehon
6a9c655be3 Merge branch 'master' into PBRisComing
# Conflicts:
#	jme3-core/src/main/java/com/jme3/material/Material.java
2016-04-10 10:59:45 +02:00
Kirill Vainer
2f26b34bd0 material: refer to default technique via constant 2016-04-09 12:12:02 -04:00
Teencrusher
bffa2191e5 Moved glBlendEquationSeparate from GL2 interface to GL interface. Added an example of the feature. Minors issues. 2016-04-07 10:06:34 -04:00
Nehon
0ec2263ae9 Merged master into PBR and migrated to TechniqueDefLogic 2016-04-05 21:51:26 +02:00
Kirill Vainer
a2554874d3 run: only set log file path if non-null 2016-04-03 17:55:58 -04:00
Kirill Vainer
d1b866735a don't use deprecated AudioNode constructor 2016-04-03 16:56:03 -04:00
Kirill Vainer
a82b9a4a3d TestRenderToMemory: fix fps display 2016-04-03 16:46:32 -04:00
Kirill Vainer
52487041b4 fix crashes in several tests 2016-04-03 16:42:11 -04:00
Kirill Vainer
c6c6b48bda MPO: clone MPOs instead of sharing references
Conflicts:
	jme3-core/src/main/java/com/jme3/scene/Spatial.java
2016-04-02 15:15:40 -04:00
Kirill Vainer
8344994328 MPO: use List instead of ArrayList
Also rename get*Overrides to get*MatParamOverrides to be more specific.
2016-04-02 15:08:45 -04:00
Kirill Vainer
db691dab99 MPO: add example 2016-04-02 15:08:35 -04:00
Kirill Vainer
47bae5af59 TestShaderNodes: fix build error 2016-04-02 14:57:27 -04:00
Paul Speed
3c56afeae6 Converted Application to an interface and renamed the old Application to
LegacyApplication.  This is a breaking change for any class extending Application
directly.
And regardless, if you refer to Application then you will need to clean build
your app... and any of your dependencies that also refer to Application.  Basically,
anything using an AppState will need to be clean built against the next alpha.
2016-03-28 01:47:33 -04:00
Paul Speed
0a876b04d2 Added a TestCloneSpatial example to do some basic clone testing. 2016-03-27 06:11:41 -04:00
Paul Speed
95d5f58d68 Modified the run task to pass through the log configurion
settings system property.
2016-03-27 06:10:50 -04:00