Mercurial > sdl-ios-xcode
diff src/video/SDL_blit.h @ 2247:93994f65c74c
Removed hermes since it's LGPL and not compatible with a commercial license.
Prepping for using MMX and SSE intrinsics instead of inline assembly.
.. except for memcpy equivalents which only get faster if they can
exploit the parallelism of loading into multiple SIMD registers. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 15 Aug 2007 08:21:10 +0000 |
parents | c121d94672cb |
children | 5a58b57b6724 |
line wrap: on
line diff
--- a/src/video/SDL_blit.h Wed Aug 15 04:04:17 2007 +0000 +++ b/src/video/SDL_blit.h Wed Aug 15 08:21:10 2007 +0000 @@ -67,6 +67,17 @@ unsigned int format_version; } SDL_BlitMap; +#define SDL_BLIT_ANY 0x00000000 +#define SDL_BLIT_MMX 0x00000001 +#define SDL_BLIT_SSE 0x00000002 +#define SDL_BLIT_ALTIVEC_PREFETCH 0x00000004 +#define SDL_BLIT_ALTIVEC_NOPREFETCH 0x00000008 + +typedef struct SDL_BlitEntry +{ + Uint32 features; + SDL_loblit blit; +} SDL_BlitEntry; /* Functions found in SDL_blit.c */ extern int SDL_CalculateBlit(SDL_Surface * surface);