Initial progress to running OpenGL applications on the pre by mdklein.
- A cross compiler toolchain for the pre (I used arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2)
- OpenGl-ES sdk from TI (registration required). (I used OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin)
What to do
basically I cross compiled the OMAP35x_Graphics_SDK_3_00_00_06 package from TI, and then copied over the resulting gfxsdkdemos directory to the pre.
then created a powervr.ini file in the directory with the apps (gfxsdkdemos/ogles and gfxsdkdemos/ogles2).
Currently the opengl apps fight for framebuffer with LunaSysMgr, in that if you touch the screen it'll flicker a lot and switch between the two.
I've also noticed occasions where LunaSysMgr reboots.
Hopefully more work can be done.
The included WSEGL libs in 1.3.5 are:
/usr/lib/libpvrPVR2D_BLITWSEGL.so /usr/lib/libpvrPVR2D_FLIPWSEGL.so /usr/lib/libpvrPVR2D_FRONTWSEGL.so /usr/lib/libpvrPVR2D_LINUXFBWSEGL.so
I've only managed to get LinuxFB to output anything.
Right now it's probably easiest to launch them over novaterm, the command to quit the apps is "q" on the terminal you launched them on. Otherwise you _can_ run them from the pre terminal, but since it fights with LunaSysMgr, it becomes tricky to stop.