Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX
Posted by
noxo on
Jan 05, 2013; 11:50pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4027716.html
Couldn't resist myself playing few hours on LibGDX and Raspberry PI today..
Here's some findings:
==============
LIBGDX native libraries compiled on Raspberry PI fine by slightly modifying existing Linux ANT build scripts.
What I did was just remove -m32 and -msse flags. Not sure if additional stuff is needed for cross compile
environment, and if additional options are needed to opmitize for ARM/RPI.
The compiled library is also in my fork of libGDX, if anyone want to try :)
https://github.com/noxo/libgdx/blob/master/prebuild-raspberry-pi/gdx-natives-arm.jarI also tried quick and dirty of getting rid of GLCanvas sitting in JPanel, and moving everything under GLWindow to
get UI running on Raspberry PI... The UI is now showing up on RPI (with and without X), but I wasn't able
to receive mouse events into Window. Game works perfectly on PC under GLWindow. I haven't played a
lot with JOGL, so might be some noob stuff that I'm missing out.

Everything is checked in Github, so free feel to try & comment