Login  Register

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

Posted by Xerxes Rånby on Oct 25, 2015; 9:20am
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4035579.html

In your main method use JoglNewtApplicationConfiguration and JoglNewtApplication like this:
https://github.com/xranby/libgdx-demo-pax-britannica/commit/67954bd09de5264b081009692a0e5720507cbcf4

NEWT work on the Raspberry Pi, NEWT uses an Broadcom Dispman X surface.

The reason AWT fail is that the OpenGL ES driver cant render to an AWT X11 window. It is a limitation in the Broadcom OpenGL ES driver that it cant operate on X11 windows.

http://jogamp.org/jogl/doc/NEWT-Overview.html