Kirill Vainer
6127f7eb7a
Miscellaneous OpenGL ES fixes ( #720 )
...
* Use correct HALF_FLOAT constant for GLES
* Support GLTracer and GL debug in Android
* Support instancing in GLTracer
* Don't use unsupported TEXTURE_{BASE,MAX}_LEVEL in GLES
* Support ABGR8 using swizzle extension
* Move glFramebufferTextureLayer to GLFbo
* Avoid RGB111110F in filters unless its actually supported
* Use the same depth format in all places in FPP
* Print the object with the problem in NativeObjectManager
* JMException does not exist on Android
7 years ago
Nehon
6a467ecb53
Added gpu profiling to Renderer and all the GL backends except ios
8 years ago
Michael Braunstingl
d39b780fa5
Added RenderState.BlendMode.Custom
...
BlendMode.Custom allows glBlendFuncSeparate() calls.
9 years ago
Kirill Vainer
a563c6cc7b
remove deprecated classes
9 years ago
Teencrusher
bffa2191e5
Moved glBlendEquationSeparate from GL2 interface to GL interface. Added an example of the feature. Minors issues.
9 years ago
Kirill Vainer
5c35b9bb22
Renderer: delete deprecated renderers
10 years ago
iwgeric
5c6deeb5ab
Android: add GLFbo interface to AndroidGL to fix cast exception
10 years ago
Kirill Vainer
ed4b70bcad
GLTiming: new GL wrapper to profile GL calls
10 years ago
shadowislord
2bc5545171
OGLESShaderRenderer: remove clearTextureUnits since it doesnt do anything
10 years ago
shadowislord
9651d6d822
GL interface: add support for PBO, FB readback, and fences (ARB sync)
10 years ago
iwgeric
4baceb6a08
fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit
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
3f63d43461
* Add license to android renderer files
10 years ago
shadowislord
af65215450
* Delete useless Android22Workaround
10 years ago
shadowislord
aaac8cb613
URA is now used by default on Android
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
9f459af4e3
One can now call readFrameBuffer with a specific format, implementation has been done for the GLRenderer only.
...
For now only placeholders have been done for the renderers that are still not using URA (all except LWJGL).
10 years ago
iwgeric
6f4b90feed
Temporary fix for searching for version strings until URA is done.
10 years ago
shadowislord
4241ce9ead
Fix ESSL version parsing (incorrect prefix)
10 years ago
shadowislord
de0027eee3
Fix OGL version parsing
10 years ago
shadowislord
1a8e6f1644
Reuse bindProgram in OGLESShaderRenderer
10 years ago
shadowislord
62cfbc8a3e
Remove usage of all deprecated image formats
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
18b9ef5540
Refactor Android system
...
* Minor clean in context creation
* Remove AndroidGLSurfaceView (it wasn't doing anything)
* Delete AndroidTimer. Now android will be using NanoTimer
10 years ago
shadowislord
3ef5505faa
Allow render buffers to use 'Depth' format even if depth textures are not supported.
...
Fixes post processing on GPUs without depth texture support (e.g. NVIDIA Tegra)
10 years ago
shadowislord
661053689d
Fix glClear not working properly if the last rendered model disabled depth or color writing (fix issue #639 on google code)
11 years ago
Nehon
a709ba9a77
Use of glBufferData instead of glBufferSubData in android renderer, because it seems to cause GL oom on some devices.
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
Nehon
ca6d3f4e73
Commented out a line in the OglesShaderRenderer (android) that was occasionally causing a crash on android.
...
This line was already commented in other renderers, and I have to admit I have no clue of what it does except crashing the app
11 years ago
Nehon
1b7421a153
Used correct colorSpace in android Image loaders
11 years ago
Hannes Nevalainen
dd88363900
Screen blend mode for andriod.
11 years ago
shadowislord
65094e9ca1
* Put the shader compile log on the next line so its slightly more readable
11 years ago
shadowislord
81498d6f79
* Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations.
11 years ago
shadowislord
35cfae5ef0
* Merge revision 11058 from experimental branch
...
- Add instanced geometry support. This is performed by uploading 4 vertex buffers each containing 4 floats. The top 3 rows are the world matrix and the bottom row is a quaternion representing the normal matrix. Hence, both unshaded and lit geometries can be rendered through instancing.
See Instancing.glsllib for more information as well as the comment in LwjglRenderer.
11 years ago
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
11 years ago
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
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
rem..om
54ab14e5ae
Merged commits r11015 to gradle restructure branch.
...
Made similar cleanup in other renderer implementations
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
e65d6ea44b
Merged commits r11009 to r11012 to gradle restructure branch.
...
Moved the workaround for GLSL100 into the renderers instead of having it when selecting a technique
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
ed77d40c63
First pass at copying the source files with history into the
...
new gradle-based structure.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago