Hi,
I recently finished coding scaling and rotation for my 2d mobile api and compared it versus gapidraw and edgelib.
I did some benchmarks on my spv c600.
rotating 5000 blits 32x32 to 45degrees
gapidraw - 2203ms
lpl - 1976ms
edge - 2633ms
scaling 5000 blits 32x32 to 64x64
gapidraw - 5877ms
lpl - 1037ms
edge - 8576ms
I also implemented a function which performs both rotation and scaling (rotozoom) but this was pretty slow around 9seconds to gapidraws 6.
I wondered if anyone knew if gapidraw uses a secondry buffer to store the data from the rotation and then scale it as I perform the rotation/scaling together in a set of loops.
I recently finished coding scaling and rotation for my 2d mobile api and compared it versus gapidraw and edgelib.
I did some benchmarks on my spv c600.
rotating 5000 blits 32x32 to 45degrees
gapidraw - 2203ms
lpl - 1976ms
edge - 2633ms
scaling 5000 blits 32x32 to 64x64
gapidraw - 5877ms
lpl - 1037ms
edge - 8576ms
I also implemented a function which performs both rotation and scaling (rotozoom) but this was pretty slow around 9seconds to gapidraws 6.
I wondered if anyone knew if gapidraw uses a secondry buffer to store the data from the rotation and then scale it as I perform the rotation/scaling together in a set of loops.