Re: [AD] Using memmove in blit()?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, Jan 22, 2006 at 05:20:25PM +0100, Evert Glebbeek wrote:
> A few times I've heard the claim that memmove() (or memcpy) will be faster 
> than Allegro's current blitter.
> I've tested that with the attached patch and it doesn't appear to make much 
> of a difference at all (note that I cannot use memmove() in 
> _linear_blit_backward, despite memmove supposedly working properly if 
> memory areas overlap).

On the ARM architecture (GP2X), memcpy is about a million times faster
than Allegro's normal blit (ok, maybe only about 2 times faster...).
This is for screen-to-screen blitting, which is just a normal linear
bitmap but in uncached memory, and accessed through mmapping.

George





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/