Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by noxo on Jan 16, 2013; 11:58am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4027863.html

gouessej wrote
The renderer based on the programmable pipeline should work on ES2 as it uses methods in GL2ES2 except glAlphaMask. Why not trying to use this renderer instead of starting from the one for Android (that uses AndroidGL)?
Yeah, one renderer, which just forks correctly on GLES capabilities/version would be much better solution. I did just blindly gone into copying of Android implemention, without checking current JOGL renderer.. looks like it wouldn't require that much effort to work on GLES too..

Pushed this two renderer hack into https://github.com/noxo/jmonkey-engine-jogl-gles .. but like you said eventually it's probably wrong way to go :)