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 > [email protected] > https://lists.maemo.org/mailman/listinfo/maemo-developers > // Tapani Pälli -- Software Engineer Open Source Software Operations _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
