Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX
Posted by
Xerxes Rånby on
Jun 10, 2015; 3:09pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4034649.html
Libgdx is OpenGL ES 1, 2 3 centric
thus if the user requests useGL30 we should first try to use GLES3, then
GL2ES3 and if all else fail use GLProfile.getMaxProgrammable(true)
thus if the user wants GL20 we should first try to use GLES2, then GL2,
and if all else fail GL2ES2
thus if the user wants GL10 we should first try to use GLES1, then GL2,
and if all else fail GL2ES1
the shader issue is found for all OpenGL ES 3 libgdx backends, thus it
is nothing that we need to solve in the JogAmp team.
Den 2015-06-10 17:03, gouessej [via jogamp] skrev:
> I thought we could use #ifdef GL_core_profile or #ifdef
> GL_compatibility_profile but it seems to be tricky to modify all
> shaders :s
>
https://www.opengl.org/wiki/Core_Language_%28GLSL%29