Hello,
I've spent some time to write a fast sprite routine in ARM assembly with RLE encoding and alpha blending.
Using the 32x32 animated sprite found in gapidraw and warmi's demos it seems that I get more than 1000 sprites displayed at 30FPS, same results on my ipaq 3600 and my Zaurus SL-5500.
I've also a sprite routine optimised for XScale (with PLD instruction to preload cache lines), but no XScale to test it for now...
My bench only consist of :
- blit a background image on the whole screen (memcpy)
- blit all the sprites
- update their coordinates
- update screen (rotate blit on my ipaq)
I don't know if this bench is acceptable for comparison with others demos.
If it's OK, what I want to know is : is there a faster sprite routine out there ?
--
StephC / int13 production