GP2X Help Crosscompiling Sdl_gfx


timbobsteve

Member
Joined
Oct 4, 2005
Messages
301
Hi all,

Has anyone got any info on crosscompiling SDL_gfx for the 2X. I know theoddbots libs have SDL_gfx included, but I can't find any info on what args to compile it with. Any help would be greatly appreciated. It is the last lib to compile into my toolchain before I test and eventually release GP2niX! YAY

Thanks
 
I don't have the compile options I use available at the moment, but from what I remember it's just the normal stuff (--host arm-linux etc) with --disable-mmx.

SDL_gfx needs a bit of work doing to it though as it's quite slow. Including the updates Chui made to his gp32 port gives a bit of a speed increase to the rotozoom functions, but it also only uses 8 or 32bit software surfaces which means you get very poor performance if you're trying to use 16bit.
 
woogal posted on Feb 4 2006 at 11:26 AM said:
SDL_gfx needs a bit of work doing to it though as it's quite slow.

Indeed. I played with it last night and was fiddling with rotozoom and performance took a noticable hit on the gp2X. (theoddbots libs)
There's every possibility that it was just "the straw that broke the camels back" when added to my already woefully shoddy code :blink:

Chimpoid
 
Last edited by a moderator:
Back
Top