I was looking at the source code for MFC example which basically draws increasing number of sprites using BlitFast until the frame rate drops below 30 fps.
On my device ( ipaq 3835 - 206 mhz , standard pocket pc) it was leveling off at 120-130 sprites.
That seems to be like an awfully small number - on the same hardware ( but under different operating system - Linux) I was able to get 450 of the very same sprites ( using the same algorithm etc - basically replacing GapiDraw blitting code with my own optimized asm routines.) running at 30 frames per second.
I wonder if GapiDraw code uses single pixel writes for non-rectangular ( color key coded ) sprites ?
I was getting similarly low (130 sprites at 30 fps) performance when doing single pixel(2 pixels) at a time.
On my device ( ipaq 3835 - 206 mhz , standard pocket pc) it was leveling off at 120-130 sprites.
That seems to be like an awfully small number - on the same hardware ( but under different operating system - Linux) I was able to get 450 of the very same sprites ( using the same algorithm etc - basically replacing GapiDraw blitting code with my own optimized asm routines.) running at 30 frames per second.
I wonder if GapiDraw code uses single pixel writes for non-rectangular ( color key coded ) sprites ?
I was getting similarly low (130 sprites at 30 fps) performance when doing single pixel(2 pixels) at a time.

