Where are SDL_FillRectNXXX() implementations?

Hi all!

Where are the implementations of these functions?

donny at teamspace:~/SDL$ grep -ER ‘SDL_FillRect.((SSE)|(MMX))’ src | grep -v .svn
src/video/SDL_fillrect.c: SDL_FillRect1SSE(pixels,
dst->pitch, color, dstrect->w,
src/video/SDL_fillrect.c: SDL_FillRect1MMX(pixels,
dst->pitch, color, dstrect->w,
src/video/SDL_fillrect.c: SDL_FillRect2SSE(pixels,
dst->pitch, color, dstrect->w,
src/video/SDL_fillrect.c: SDL_FillRect2MMX(pixels,
dst->pitch, color, dstrect->w,
src/video/SDL_fillrect.c: SDL_FillRect4SSE(pixels,
dst->pitch, color, dstrect->w,
src/video/SDL_fillrect.c: SDL_FillRect4MMX(pixels,
dst->pitch, color, dstrect->w,–
http://codebad.com/

Hi all!

Where are the implementations of these functions?

donny at teamspace:~/SDL$ grep -ER ‘SDL_FillRect.((SSE)|(MMX))’ src | grep -v .svn
src/video/SDL_fillrect.c: SDL_FillRect1SSE(pixels,

They’re macro-ified in the same file.

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

d’oh! thanks. ctags doesn’t follow your fancy ## concatenationOn Tue, Dec 30, 2008 at 10:52 PM, Sam Lantinga wrote:

Hi all!

Where are the implementations of these functions?

donny at teamspace:~/SDL$ grep -ER ‘SDL_FillRect.((SSE)|(MMX))’ src | grep -v .svn
src/video/SDL_fillrect.c: SDL_FillRect1SSE(pixels,

They’re macro-ified in the same file.


http://codebad.com/