[maemo-developers] Tips to optimize SDL aplication
From: Tapani Pälli tapani.palli at nokia.comDate: Tue Dec 18 09:18:10 EET 2007
- Previous message: Tips to optimize SDL aplication
- Next message: Tips to optimize SDL aplication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ext Michael Stepanov wrote: > Hi, > > I ported existing SDL application to maemo platform. It works fine on > N800 but on Nokia770 ii crashes very often. And I suppose it happens > because the application takes a lot of recourses - memory or CPU. Can > somebody give me a right point to optimize that application - some > docs, hack, tips. > One thing to note is that make sure you are clipping properly all the drawing you do. However it sounds like there are some other bugs in the application. Try to run it in desktop environment using valgrind (http://valgrind.org/). Also from the optimization point of view, make sure you are converting all your surfaces to same format as screen has (using SDL_ConvertSurface for example). > Thanks in advance. > > -- > Cheers, > Michael > ------------------------------------------------------------------------ > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > // Tapani Pälli -- Software Engineer Open Source Software Operations
- Previous message: Tips to optimize SDL aplication
- Next message: Tips to optimize SDL aplication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]