comparison 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
comparison
equal deleted inserted replaced
2246:75daa0792bd1 2247:93994f65c74c
65 /* the version count matches the destination; mismatch indicates 65 /* the version count matches the destination; mismatch indicates
66 an invalid mapping */ 66 an invalid mapping */
67 unsigned int format_version; 67 unsigned int format_version;
68 } SDL_BlitMap; 68 } SDL_BlitMap;
69 69
70 #define SDL_BLIT_ANY 0x00000000
71 #define SDL_BLIT_MMX 0x00000001
72 #define SDL_BLIT_SSE 0x00000002
73 #define SDL_BLIT_ALTIVEC_PREFETCH 0x00000004
74 #define SDL_BLIT_ALTIVEC_NOPREFETCH 0x00000008
75
76 typedef struct SDL_BlitEntry
77 {
78 Uint32 features;
79 SDL_loblit blit;
80 } SDL_BlitEntry;
70 81
71 /* Functions found in SDL_blit.c */ 82 /* Functions found in SDL_blit.c */
72 extern int SDL_CalculateBlit(SDL_Surface * surface); 83 extern int SDL_CalculateBlit(SDL_Surface * surface);
73 84
74 /* Functions found in SDL_blit_{0,1,N,A}.c */ 85 /* Functions found in SDL_blit_{0,1,N,A}.c */