41 Commits

Author SHA1 Message Date
Stephen Gold
53eff66f9c more corrections in diagnostic messages 2019-03-17 16:22:37 -07:00
Stephen Gold
92e923df20 spelling corrections in diagnostic messages 2019-03-17 15:53:50 -07:00
Ali-RS
db1b8f9eb4 Removed unused imports. (#1020) 2019-03-17 15:06:02 -07:00
Stephen Gold
b06cf30b2c LwjglContext: correct a typo in a log message 2019-03-17 13:17:05 -07:00
Stephen Gold
8b70b64505 comment corrections: mostly spelling and grammar 2018-12-21 12:47:12 -08:00
shamanDevel
60f10bb604 renamed DefaultPlatformChooser and moved it to the core, some small fixes 2016-04-23 14:40:48 +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
Kirill Vainer
a8aabac1c9 fix issue #441 2016-04-03 16:25:26 -04:00
Kirill Vainer
2e4148f3c3 merge fixes 2016-04-02 15:54:45 -04:00
Kirill Vainer
0f1c35c5f0 minor formatting changes
Conflicts:
	jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java
2016-04-02 15:03:52 -04:00
Georgeto
b39c46a82a Let lwjgl respect the AlphaBits setting. 2016-04-01 09:19:50 +02:00
Kirill Vainer
7bf4949e83 Revert native loading changes 2015-12-29 00:11:31 -05: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
Nehon
cbe87cf41f checkGLError in LwjglOffscreenBuffer is now called only if assertions are on, as it is done in LwjglAbstractDisplay 2015-11-11 19:02:23 +01:00
Kirill Vainer
ed2c998f39 Merge pull request #340 from Kendanware/issue314
Added LWJGL 3.x module and implementation in regards to issue #314
2015-09-23 10:07:34 -04:00
Kirill Vainer
62186362a8 GLDebugOutputHandler: dump stack on debug messages 2015-09-22 22:02:12 -04:00
Daniel Johansson
30cdca7ad7 Native library loading is back to the way it used to be with the addition of LWJGL 3.x libraries added with a different key.
Moved LWJGL 3.x repository definition to build.grade in that module.
Fixed an issue where frame rate limit would cause GLFW frequency window hint to be set rather than use a software limiter.
Removed LWJGLTimer for lwjgl3 module, no need for it any more, we'll just use the NanoTimer.
Removed LWJGLCanvas for lwjgl3 module, can't implement this so we'll leave it for now.
2015-09-17 11:59:44 +01:00
Daniel Johansson
8f77dca931 Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW. 2015-08-26 22:34:05 +01:00
Kirill Vainer
5cf6b0c9a6 LwjglContext: add custom handler for GL debug messages 2015-04-25 23:09:58 -04:00
Kirill Vainer
ed4b70bcad GLTiming: new GL wrapper to profile GL calls 2015-04-25 17:41:50 -04:00
Kirill Vainer
5b95f8a4b0 GLRenderer: Improve compatibility with OpenGL 3.2 core profile
* Separate GLFbo and GLExt implementations. GLFbo can now be implemented either via vanilla OpenGL3 calls or GL_EXT_framebuffer_*** extensions (OpenGL2.1- only).
 * Use modern way of getting supported extensions in core profile.
 * Luminance and Alpha formats are not available when running in core profile.
 * Bind a dummy vertex array object (VAO) when running in core profile.
 * Point sprite mode is always enabled. Since both OpenGL ES 2.0 and OpenGL 3.2 core require it, jME3 is no longer capable of rendering regular points.
2015-04-25 16:57:24 -04:00
shadowislord
19338deaf8 LWJGL Backend: fix issue #232 2015-03-27 22:42:34 -04:00
shadowislord
068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
shadowislord
809092c236 Allow application to be a resizable window.
Also allow buffer swapping to be disabled, e.g. for Oculus Rift.
2015-02-10 20:14:36 -05:00
shadowislord
eda5e983da context/renderer: let renderer print out graphics hardware info 2015-02-09 21:06:50 -05:00
shadowislord
9f3a145dd7 Renderer Changes
* Add new "Limits" enum to hold maximums of various renderer capabilities such as texture size
 * Add support for seamless cubemap (enabled by default for mipmapped cubemaps)
 * Fix conflict when using GL tracing with GL debugging
2015-02-01 20:03:42 -05:00
shadowislord
74dc3392c6 Allow display modes with 59 Hz refresh rate to be acceptable as 60 Hz 2015-02-01 17:16:11 -05:00
shadowislord
307a0e7aed Better GraphicsDebug / GraphicsTrace implementation
- When GraphicsDebug is enabled, check for GL errors and display  hints from the driver
 - When GraphicsTrace is enabled, dump OpenGL calls on the console
2015-01-31 15:49:10 -05:00
shadowislord
b04c4ad042 Flush GL pipeline for pbuffer after frame (required because there's no backbuffer) 2015-01-31 15:48:22 -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
shadowislord
d3258429ec Use unified renderer architecture for LWJGL by default (other backends pending) 2014-12-05 22:36:55 -05:00
shadowislord
4717e7006f Goodbye, OpenGL1 2014-11-09 12:29:28 -05:00
shadowislord
cc20781a02 * Ensure LwjglOffscreenBuffer extracts the required natives
* Fix Installer class in SDK to use NativeLibraryLoader.setCustomNativesFolder() instead of the Natives.setCustomDir()
2014-06-07 12:53:55 -04:00
shadowislord
54ffe15dda * Switch to new native library loader
* Deprecate old library loader
 * Add warning when the requested number of antialiasing samples cannot be satisfied
 * Cleaned up LwjglContext.determineMaxSamples()
2014-06-06 20:39:37 -04:00
shadowislord
2aad768c8a * Forgot to remove withSRGB from LwjglCanvas 2014-06-03 23:18:20 -04:00
Nehon
e4ba4e9e9e - Image loaders now assume ALL images are in sRGB space and set the flag accordingly
- All images constructors now take the isSrgb flag as a parameter, all engine classes has been changed to accommodate the change, old constructors has been deprecated for backward compatibility. One should always ask himself in which color space is an image if dealing with gamma correction
- Gamma correction has been defaulted to false in the appSettings
2014-05-26 12:11:56 +02:00
Nehon
77a4002c3d Added support for hardware srgb output (gamma correction).
It can be toggled at render time.
Works with lwjgl
Couldn't test with Jogl and might be not working
Not supported by mobile renderers
2014-05-26 12:11:55 +02:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00