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.
10 years ago
David Bernard
37da17e3eb
add support of DepthStencil into *Renderer
...
+ a test app
- only tested on desktop with Lwjgl
10 years ago
shadowislord
84046018ba
Avoid use of LWJGL specific ContextCapabilities class.
...
Instead parse GL_EXTENSIONS and use that to determine supported features.
10 years ago
shadowislord
22ab7c11c7
* Ensure cubemaps have square dimensions before uploading
10 years ago
shadowislord
7860ccca52
* Use mipmap minification modes only if mipmaps are actually available
10 years ago
shadowislord
4d7dcc17bb
* Don't depend on ContextCapabilities for determining OGL / GLSL versions
10 years ago
shadowislord
e225e6ff89
* Move certain render context specific fields from Renderer into RenderContext
10 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.
10 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
pspeed42
216f874175
Added support for instancing at the mesh level.
...
(so far only for lwjgl because I'm lazy)
Went ahead and added in divisor support while I was
at it because it doesn't cost anything and there might
be use-cases for it.
Mesh now knows about instances and you can directly
ask it for an instance count. I haven't added support
for proper bounding box calculation but it should
at least be possible now.
11 years ago
pspeed42
7ca599dfd9
More tabs to spaces.
11 years ago
Hannes Nevalainen
ccb946e65d
Add Screen blend mode.
11 years ago
shadowislord
a166e8cb17
* Avoid "AL not closed" error by joining with audio thread when exiting app
11 years ago
shadowislord
cc20781a02
* Ensure LwjglOffscreenBuffer extracts the required natives
...
* Fix Installer class in SDK to use NativeLibraryLoader.setCustomNativesFolder() instead of the Natives.setCustomDir()
11 years ago
shadowislord
03f8df05b6
LwjglRenderer - Preparing for abstraction layer shift
...
* All GL calls are done via static imports
* Once again remove dependency on GL21 / GL30 - with the generator it will be possible to choose whether to target GL2+extensions or GL3 core
* ContextCapabilities is field in Renderer, not allowed to use GLContext to retrieve it anymore
* Assume depth textures are always supported (they should be since GL1.4)
11 years ago
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()
11 years ago
abies
6adb15abd6
Fix badly specified RGB10_A2 format
11 years ago
shadowislord
65094e9ca1
* Put the shader compile log on the next line so its slightly more readable
11 years ago
shadowislord
ad7fdb6fab
* Deprecate texture wrap modes not supported in OpenGL 3
...
* Make sure engine is not using them anywhere
11 years ago
shadowislord
c925104f5e
* Ensure the statistics properly represent number of objects / triangles / vertices rendered when using instancing
11 years ago
shadowislord
948fdb21eb
* Add new flag to Platform enum which specifies if its 32-bit platform or 64-bit.
...
* Add new but currently unused native extraction engine which supports user-specified native libraries as well as deferred extraction of libraries.
11 years ago