- Added assembly versions of rt_add4cols and rt_addclamp4cols.
SVN r773 (trunk)
This commit is contained in:
parent
9cb674c60c
commit
db5938d22a
5 changed files with 342 additions and 149 deletions
26
src/r_draw.h
26
src/r_draw.h
|
|
@ -128,8 +128,8 @@ void rt_tlatesubclamp1col (int hx, int sx, int yl, int yh);
|
|||
void rt_tlaterevsubclamp1col (int hx, int sx, int yl, int yh);
|
||||
|
||||
void STACK_ARGS rt_map4cols_c (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_add4cols (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_addclamp4cols (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_add4cols_c (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_addclamp4cols_c (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_subclamp4cols (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_revsubclamp4cols (int sx, int yl, int yh);
|
||||
|
||||
|
|
@ -145,20 +145,26 @@ void rt_map1col_asm (int hx, int sx, int yl, int yh);
|
|||
void STACK_ARGS rt_copy4cols_asm (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_map4cols_asm1 (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_map4cols_asm2 (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_add4cols_asm (int sx, int yl, int yh);
|
||||
void STACK_ARGS rt_addclamp4cols_asm (int sx, int yl, int yh);
|
||||
}
|
||||
|
||||
extern void (STACK_ARGS *rt_map4cols)(int sx, int yl, int yh);
|
||||
|
||||
#ifdef USEASM
|
||||
#define rt_copy1col rt_copy1col_asm
|
||||
#define rt_copy4cols rt_copy4cols_asm
|
||||
#define rt_map1col rt_map1col_asm
|
||||
#define rt_shaded4cols rt_shaded4cols_asm
|
||||
#define rt_copy1col rt_copy1col_asm
|
||||
#define rt_copy4cols rt_copy4cols_asm
|
||||
#define rt_map1col rt_map1col_asm
|
||||
#define rt_shaded4cols rt_shaded4cols_asm
|
||||
#define rt_add4cols rt_add4cols_asm
|
||||
#define rt_addclamp4cols rt_addclamp4cols_asm
|
||||
#else
|
||||
#define rt_copy1col rt_copy1col_c
|
||||
#define rt_copy4cols rt_copy4cols_c
|
||||
#define rt_map1col rt_map1col_c
|
||||
#define rt_shaded4cols rt_shaded4cols_c
|
||||
#define rt_copy1col rt_copy1col_c
|
||||
#define rt_copy4cols rt_copy4cols_c
|
||||
#define rt_map1col rt_map1col_c
|
||||
#define rt_shaded4cols rt_shaded4cols_c
|
||||
#define rt_add4cols rt_add4cols_c
|
||||
#define rt_addclamp4cols rt_addclamp4cols_c
|
||||
#endif
|
||||
|
||||
void rt_draw4cols (int sx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue