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
9ba90251d6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
jme3-bullet-native-android/build.gradle
2015-09-13 20:15:22 +01:00
Kirill Vainer
148c78a943
GL: make lwjgl implementation classes final
2015-09-05 14:03:32 -04: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
5c35b9bb22
Renderer: delete deprecated renderers
2015-05-11 19:31:10 -04: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
michael
5c70938ccf
Added GL_PATCHES as new constant
2015-02-28 13:32:16 +01:00
michael
1949a7d831
Added GL4 Interface,
...
Added GL_*_SHADER constants
Added Caps to the Renderer
Added required converters
2015-02-23 20:23:18 +01:00
shadowislord
9651d6d822
GL interface: add support for PBO, FB readback, and fences (ARB sync)
2015-02-15 16:42:42 -05:00
Nehon
5e3e8fbd6e
fixed compilation issue in deprecated LWJGLRenderer
2015-02-13 09:25:59 +01: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
7f50f906aa
Upgrade to LWJGL 2.9.3
2015-02-08 19:44:21 -05:00
shadowislord
d3cbf7fbf2
GL implementations: Fix uploading of buffers with position != 0
...
* this is required for pregenerated mipmaps in e.g. DDS files
* others checks are added to make sure a zero-length buffer cannot be uploaded (that's an error for now)
2015-02-07 19:08:54 -05:00
shadowislord
3a61032575
Make LwjglGL implement the GL3 interface (for OpenGL3+ function names)
2015-02-01 20:08:34 -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
8e7eae01a7
* Upgrade LWJGL version to 2.9.2
2015-01-23 22:30:04 -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
995ab83a9e
Deprecated LwjglRenderer and Lwjgl's TextureUtils. URA is used when choosing LWJGL as renderer.
2014-12-28 16:23:27 +01:00
shadowislord
ac2f765d5b
Cleanup GL interface from unused calls
...
Also modify glGet***InfoLog a bit to be more compatible with Android
2014-12-09 18:22:14 -05:00
shadowislord
d3258429ec
Use unified renderer architecture for LWJGL by default (other backends pending)
2014-12-05 22:36:55 -05:00
shadowislord
f189b94a4d
Implement the new GL interface for the LWJGL backend
2014-12-05 22:34:54 -05:00
shadowislord
af58aeb779
Fix Renderer.copyFrameBuffer() exception
2014-11-28 11:43:52 -05:00
shadowislord
de0027eee3
Fix OGL version parsing
2014-11-20 19:40:31 -05:00
shadowislord
18807cf175
Fix issue #138
...
Texture arrays not supporting compressed formats
Also fixed loading texture arrays with mipmaps
2014-11-18 21:13:50 -05:00
shadowislord
a177ffa208
Fix syntax error when compiling jme3-lwjgl
2014-11-15 16:31:40 -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
62cfbc8a3e
Remove usage of all deprecated image formats
2014-11-09 11:50:57 -05:00
shadowislord
b83603cd8f
Added support for ETC1 compression (regular OGL only for now)
2014-11-07 21:04:55 -05:00
shadowislord
15f35fc5c6
Fix "DXT1 not supported by hardware" error that started appearing since the renderer refactor.
2014-11-05 23:13:15 -05:00
David Bernard
4fdde38bc2
Merge remote-tracking branch 'upstream/master' into fix_fb_depth24stencil8
2014-11-05 12:15:38 +01: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
shadowislord
84046018ba
Avoid use of LWJGL specific ContextCapabilities class.
...
Instead parse GL_EXTENSIONS and use that to determine supported features.
2014-11-04 23:28:50 -05:00
shadowislord
22ab7c11c7
* Ensure cubemaps have square dimensions before uploading
2014-11-04 16:47:51 -05:00
shadowislord
7860ccca52
* Use mipmap minification modes only if mipmaps are actually available
2014-11-04 16:40:09 -05:00
shadowislord
4d7dcc17bb
* Don't depend on ContextCapabilities for determining OGL / GLSL versions
2014-11-04 16:27:14 -05:00
shadowislord
e225e6ff89
* Move certain render context specific fields from Renderer into RenderContext
2014-11-04 14:12:29 -05:00
pspeed42
5a482e2b98
Added another Photoshop tyle blend mode: Exclusion
...
Performs a sort of color XOR with source and destination.
Very useful for UI highlighting but is a bizarre (and
potentially useful) effect in 3D.
2014-09-10 14:00:27 -04:00
shadowislord
dbd9ed9d78
Merge pull request #126 from kwando/screen_blendmode
...
Add Screen blend mode.
2014-09-07 16:54:23 -04:00
pspeed42
e76e770d17
Modified the multi-slot buffer support to work even
...
if the buffer is not instanced. Saw no real reason
not to and it makes buffer support more flexible.
2014-07-11 01:38:14 -04:00