I'm looking for a birds-eye view on porting a small app1 that uses some OpenGL functions from it's home on Xorg to run in a more stand-alone fashion using DirectFB. I am unfamiliar with both C and OpenGL in general.
My motivation is that the embedded platform I want to run this app on (Raspberry Pi) doesn't have accelerated drivers for Xorg yet. I can only get about .5 fps running on Xorg. On the other hand, much heavier weight DirectFB apps seem to run with quite a bit of pep in their step.
What modifications would likely need to be done to the code base and compile process to make a DirectFB port? What sort of dependencies / includes would need to be adapted? Should I be starting from the ground up with a blank slate and implementing each function or working backwards trying to compile/run the original?
1 I only want to run the display portion of Lyricue. Sources are
lyricue_display.h, but I'd like to see the question answered in a generic way that would be helpful for somebody else wishing to port their favorite app.