> > The latter point is important because because image data is usually
> > where SDL apps memory goes and having them as 16-bit instead of 32-bits
> > can both almost halve the memory needs and (if the program was badly
> > programmed to start with) almost double the performance.  The
> > conversions can slow down the startup slightly though.
>
> Excellent point, Eero! I checked the source code of the application and
> found that a 32-bit surface is used there. So, I replaced it by 16-bit. I'll
> able test it tonight and let you know. Thanks again for your suggestion.

HI also look at  Siarhei Siamashka 's port on the maemo mailing list
about memcpy
http://lists.maemo.org/pipermail//maemo-developers/2006-March/003269.html
It helped me get a few more frames out :p



>
> > CPU usage cannot get application crashing, so I wouldn't worry about
> > clipping and screen updates yet, but Valgrind should be definitely
> > used.  For instructions, see:
> >         http://maemo.org/development/tools/doc/valgrind
> >
> >
> >         - Eero
> >
>
>
>
> --
> Cheers,
> Michael
> _______________________________________________
> maemo-developers mailing list
> [email protected]
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to