Kirill Vainer
3d82f5c459
lwjgl: add unit test
9 years ago
Kirill Vainer
f005c05f8d
OffscreenBuffer: check needClose after runLoop
...
To be consistent with other context types.
9 years ago
Nehon
cbe87cf41f
checkGLError in LwjglOffscreenBuffer is now called only if assertions are on, as it is done in LwjglAbstractDisplay
9 years ago
Kirill Vainer
62186362a8
GLDebugOutputHandler: dump stack on debug messages
10 years ago
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.
10 years ago
Kirill Vainer
148c78a943
GL: make lwjgl implementation classes final
10 years ago
Daniel Johansson
8f77dca931
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
10 years ago
Daniel Johansson
89f10eca58
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
10 years ago
Kirill Vainer
5c35b9bb22
Renderer: delete deprecated renderers
10 years ago
Kirill Vainer
5cf6b0c9a6
LwjglContext: add custom handler for GL debug messages
10 years ago
Kirill Vainer
ed4b70bcad
GLTiming: new GL wrapper to profile GL calls
10 years ago
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.
10 years ago
shadowislord
19338deaf8
LWJGL Backend: fix issue #232
10 years ago
shadowislord
068047200e
Threads: standardize names. Make sure they all start with "jME3".
10 years ago
michael
5c70938ccf
Added GL_PATCHES as new constant
10 years ago
michael
1949a7d831
Added GL4 Interface,
...
Added GL_*_SHADER constants
Added Caps to the Renderer
Added required converters
10 years ago
shadowislord
9651d6d822
GL interface: add support for PBO, FB readback, and fences (ARB sync)
10 years ago
Nehon
5e3e8fbd6e
fixed compilation issue in deprecated LWJGLRenderer
10 years ago
shadowislord
809092c236
Allow application to be a resizable window.
...
Also allow buffer swapping to be disabled, e.g. for Oculus Rift.
10 years ago
shadowislord
eda5e983da
context/renderer: let renderer print out graphics hardware info
10 years ago
shadowislord
7f50f906aa
Upgrade to LWJGL 2.9.3
10 years ago
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)
10 years ago
shadowislord
3a61032575
Make LwjglGL implement the GL3 interface (for OpenGL3+ function names)
10 years ago
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
10 years ago
shadowislord
74dc3392c6
Allow display modes with 59 Hz refresh rate to be acceptable as 60 Hz
10 years ago
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
10 years ago
shadowislord
b04c4ad042
Flush GL pipeline for pbuffer after frame (required because there's no backbuffer)
10 years ago
shadowislord
8e7eae01a7
* Upgrade LWJGL version to 2.9.2
10 years ago
shadowislord
6ca111b13d
Refactor renderer system
...
* Support OpenGL ES 2 in GLRenderer (various error fixes)
* Get rid of OpenGL 1 remenants
* Other minor cleanups
10 years ago
Nehon
995ab83a9e
Deprecated LwjglRenderer and Lwjgl's TextureUtils. URA is used when choosing LWJGL as renderer.
10 years ago
shadowislord
ac2f765d5b
Cleanup GL interface from unused calls
...
Also modify glGet***InfoLog a bit to be more compatible with Android
10 years ago
shadowislord
d3258429ec
Use unified renderer architecture for LWJGL by default (other backends pending)
10 years ago
shadowislord
f189b94a4d
Implement the new GL interface for the LWJGL backend
10 years ago
shadowislord
af58aeb779
Fix Renderer.copyFrameBuffer() exception
10 years ago
shadowislord
de0027eee3
Fix OGL version parsing
10 years ago
shadowislord
18807cf175
Fix issue #138
...
Texture arrays not supporting compressed formats
Also fixed loading texture arrays with mipmaps
10 years ago
shadowislord
a177ffa208
Fix syntax error when compiling jme3-lwjgl
10 years ago
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)
10 years ago
shadowislord
4717e7006f
Goodbye, OpenGL1
10 years ago
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
10 years ago
shadowislord
b83603cd8f
Added support for ETC1 compression (regular OGL only for now)
10 years ago
shadowislord
15f35fc5c6
Fix "DXT1 not supported by hardware" error that started appearing since the renderer refactor.
11 years ago
David Bernard
37da17e3eb
add support of DepthStencil into *Renderer
...
+ a test app
- only tested on desktop with Lwjgl
11 years ago
shadowislord
84046018ba
Avoid use of LWJGL specific ContextCapabilities class.
...
Instead parse GL_EXTENSIONS and use that to determine supported features.
11 years ago
shadowislord
22ab7c11c7
* Ensure cubemaps have square dimensions before uploading
11 years ago
shadowislord
7860ccca52
* Use mipmap minification modes only if mipmaps are actually available
11 years ago
shadowislord
4d7dcc17bb
* Don't depend on ContextCapabilities for determining OGL / GLSL versions
11 years ago
shadowislord
e225e6ff89
* Move certain render context specific fields from Renderer into RenderContext
11 years ago
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.
11 years ago
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.
11 years ago