core: Much faster blit for most of the cases.
commit8dafb4ba1c30fc36d48f86e166212af3b7cf329c
authorCyril Hrubis <metan@ucw.cz>
Sat, 11 Feb 2012 20:39:59 +0000 (11 21:39 +0100)
committerCyril Hrubis <metan@ucw.cz>
Sat, 11 Feb 2012 20:52:57 +0000 (11 21:52 +0100)
tree0fffdbbd9fabcb3a953d8ce1e491d37453054a19
parent763bca3b9ac509c837ca940dcede58e58b86d21b
core: Much faster blit for most of the cases.

When src and dst have same pixel type and
orientation it's simple and fast memcpy in
most of the cases.

When src and dst have same orientation it's
optimized conversion loop more than 50% faster
than unspecialized even on small bitmaps and
about 5 times faster on fulscreen image blit.

Ultimate todo faster rotated blits.
include/core/GP_Blit.gen.h.t [deleted file]
include/core/GP_Blit.h
include/core/GP_Context.h
include/core/Makefile
libs/core/GP_Blit.c
libs/core/GP_Blit.gen.c.t