7035 Commits

Author SHA1 Message Date
Stephen Gold
5d969f29a1 correct a typographic error in TestUseAfterFree output 2020-04-22 11:12:34 -07:00
Stephen Gold
a667f5e8cd Revert "Fixes issue #1336: AWTPanels forcing OpenGL 2.0 (Compat Profile)"
This reverts commit 84912d5803431063083be125944597966d658e8e.
2020-04-21 08:29:56 -07:00
Stephen Gold
a150deb8be improve format and rm trailing whitespace (10 files in com.jme3.opencl) 2020-04-19 10:44:15 -07:00
Stephen Gold
1fa283f06a correct the javadoc of Matrix4f.set(float[][]) -- missing "not"! 2020-04-19 10:42:53 -07:00
Stephen Gold
06a8a056c1 clarify the javadoc of Quaternion.toString() "displaced"? 2020-04-19 10:42:40 -07:00
Stephen Gold
d99c378bdc add missing javadoc tags to BufferUtils 2020-04-19 10:39:57 -07:00
Stephen Gold
33ebbef214 add some missing javadoc (2 files in com.jme3.util) 2020-04-19 10:39:53 -07:00
Stephen Gold
84912d5803 Fixes issue #1336: AWTPanels forcing OpenGL 2.0 (Compat Profile) 2020-04-19 10:39:32 -07:00
Stephen Gold
e1d5e3c64d FastMathTest: test the reversibility of coordinate transformations 2020-04-19 10:38:41 -07:00
Stephen Gold
a1fb4837f5 add missing javadoc tags to 10 files in the com.jme3.math package 2020-04-19 10:38:11 -07:00
Stephen Gold
72de37be21 resolve an unknown HTML tag in the ColorRGBA javadoc 2020-04-19 10:38:01 -07:00
Stephen Gold
4731069110 javadoc correction: Quaternion.negate() doesn't "invert" anything 2020-04-19 10:37:14 -07:00
Stephen Gold
8896cd5a68 don't refer to transforms as "matrices" in the Transform javadoc 2020-04-19 10:37:00 -07:00
Stephen Gold
ede7af0573 remove the javadoc reference to the mythical USE_FAST_TRIG setting 2020-04-19 10:36:25 -07:00
Stephen Gold
a124fcd284 remove all javadoc references to the mythical JmeException 2020-04-19 10:36:17 -07:00
Stephen Gold
e98df18a9c improve formatting and rm trailing whitespace (16 files in jme3-core) 2020-04-19 10:35:53 -07:00
Stephen Gold
ce862bc09e IndexBuffer: resolve a javadoc warning 2020-04-19 10:29:04 -07:00
Stephen Gold
3a5f9661ab jme3-terrain: handle 2 more ByteBuffer cases 2020-04-19 10:28:50 -07:00
matthias plasser
c85e2bcfd4 Fixes #1341: AudioBuffer.updateData only allows direct buffers (#1342)
* only allowing direct buffers now, see: https://hub.jmonkeyengine.org/t/solved-playing-audio-from-audiobuffer-in-audionode-causes-jre-to-die/43091/12

* style correction

Co-authored-by: Stephen Gold <sgold@sonic.net>
2020-04-19 10:28:28 -07:00
Stephen Gold
98a283beb6 remove unnecessary casts and tests for null, discovered using NetBeans (#1285) 2020-04-18 22:33:15 -07:00
rvandoosselaer
9a84e72f03 Clean up the test case and add some more context. #1340 2020-04-18 22:22:03 -07:00
rvandoosselaer
227de6f22a Add a check to see if the NB_PROBES identifier is defined. Fixes #1340 2020-04-18 22:21:47 -07:00
rvandoosselaer
ded268a660 Add a check to see if the NB_PROBES identifier is defined. Fixes #1340 2020-04-18 22:21:24 -07:00
Riccardo Balbo
6d2ea28108 Fix last query not closed in profiler 2020-04-18 22:18:51 -07:00
Ali-RS
0bdb0159be Fixed an issue with AndroidNativeImageLoader which was opening stream twice. (#1338) 2020-04-18 22:18:24 -07:00
Stephen Gold
969e2808e4 correct some typographic errors in Billboard100.frag comments 2020-04-18 22:17:47 -07:00
Stephen Gold
a96dbe8604 elimiate incidental hard tabs from jme3-examples 2020-04-18 22:17:39 -07:00
Stephen Gold
efc9c443de elimiate incidental hard tabs from jme3-core 2020-04-18 22:17:25 -07:00
Jérôme
1acd1d299a Removes tabs 2020-04-18 22:16:54 -07:00
Jérôme
0e0c75c85c Migrate TestOgreComplexAnim to new anim system
Lots of code that did nothing in old test (on feet, hand). Only eft hand anim with the bone anim in simpleUpdate works. So I rework the test to do how actionSquence work and manipulate Armature and Joint with ArmatureMask apply.
So I think there is a bug in ArmatureDebugger when apply PointSize in material. In the render view all points on armature debug have same size.
2020-04-18 22:14:24 -07:00
Jérôme
61cbaa72ee Migrate TestBlenderObjectAnim to new anim system 2020-04-18 22:13:54 -07:00
Jérôme
821a18be21 Migrate TestCutomAnim to the new Animation system 2020-04-18 22:11:35 -07:00
Jérôme
68c6f71c73 Migrate TestSpatialAnim to the new Anim class
Remove all deprecated class and migrate to the new animation system.
2020-04-18 22:11:33 -07:00
Grabli66
21cbdb5da3 Fixes error of loading assets 2020-04-18 22:11:30 -07:00
MeFisto94
7e3ae5e8ca Fixes #1319 - LWJGL2: start(true) should not freeze when context could not be initialized 2020-04-18 22:06:43 -07:00
MeFisto94
828ca9212a UBO: Re-order the caps detection for a more clean code. 2020-04-18 22:06:10 -07:00
MeFisto94
5100d0b995 UBO: GL_INVALID_ENUM on Mesa 2020-04-18 22:06:06 -07:00
MeFisto94
66f316b3aa Fixes SSBO causing GL_INVALID_ENUM in Debug Mode 2020-04-18 22:06:03 -07:00
MeFisto94
f68d88937f GLSLCompat: The Matrix3 Sub-Constructor is called mat3_sub and defers to the builtin mat3 if available. 2020-04-18 22:05:29 -07:00
MeFisto94
728a07a25f Fixing PBR on <= GLSL 130:
- GLSLCompat now implements mat3(mat4) and determinant() and inverse() for mat2 and mat3
 - PBR.glslib uses this functions again instead of one-off workarounds
2020-04-18 22:05:24 -07:00
MeFisto94
4c2c3fa375 GLDebug: Throw an IllegalArgumentException instead of an IllegalStateException 2020-04-18 22:04:49 -07:00
MeFisto94
00281b21a1 GLDebug: Throw an unchecked exception instead of returning null to enforce a crash when glGetError is not present. 2020-04-18 22:04:45 -07:00
MeFisto94
b00c245e8e GLDebug: Use a method handle instead of a string comparison to increase the performance 2020-04-18 22:04:39 -07:00
Stephen Gold
9be8f5dd3a Use a reflection-based approach to call checkError() after every call to the openGL API to reduce Code Duplication and increase Maintainability, while also fixing the regression caused by GLDebugDesktop extending from GLDebugES and thus making the Renderer think it is on mobile. 2020-04-18 22:04:13 -07:00
MeFisto94
9dfbcde88c Fixes #1304 - Don't use mat3() constructor to keep compatibility with GLSL110 2020-04-18 21:56:21 -07:00
Riccardo Balbo
391e0dc6d0 Update checkout action to v2 v3.3.0-stable 2020-03-30 04:27:29 -04:00
Toni Helenius
1e7e12ee69 Fix for resizing the window (issue 1191) (#1308)
* Listen for framebuffer size callbacks and set the resolution from that

* Also check the window size on the framebuffer size callback
v3.3.0-beta2
2020-03-24 04:48:25 -04:00
Stephen Gold
f0e09b2a9e main.yml: add Gradle-wrapper validation to several jobs 2020-03-24 04:47:32 -04:00
Toni Helenius
1198908555 Lwjgl3 restart input handle (#1268)
* Reinit inputs on context restart

* Added test issue from issue #1013

* Verify that the inputs are already initialized
2020-03-24 04:44:01 -04:00
Stephen Gold
fecd018fae BufferUtils: resolve issue #1288 (rewrite isDirect()) (#1299) 2020-03-24 04:42:02 -04:00