- Timestamp:
- Jul 3, 2002, 5:44:39 PM (23 years ago)
- Location:
- trunk/src/ddraw
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/OS2SURFACE.CPP
r8821 r8830 1 /* $Id: OS2SURFACE.CPP,v 1.4 5 2002-07-02 09:55:12sandervl Exp $ */1 /* $Id: OS2SURFACE.CPP,v 1.46 2002-07-03 15:44:37 sandervl Exp $ */ 2 2 3 3 /* … … 5975 5975 static char Scanline[6400]; // sufficient for 1600 at 32 bit 5976 5976 5977 if(sizeof(Scanline) < lPitch) { 5978 DebugInt3(); //oh, oh 5979 return; 5980 } 5977 5981 // Bridge, we may got a problem ;) 5978 5982 // Check for Overlapping Rects … … 5981 5985 pSrcPos = pBuffer; 5982 5986 5983 if(lpDestRect->top <=lpSrcRect->top)5987 if(lpDestRect->top > lpSrcRect->top) 5984 5988 { 5985 5989 // +-------+ +-------+ +-------+ 5986 // |S | |S | |S | +---+---+---+5987 // | +---|---+ +-------+ +---|---+ | |S/D|D/S| |5988 // | | D | | | D | | D | | | | | | |5989 // +-------+ | +-------+ | +-------+ | | | |5990 // | | | | | | +---+---+---+5990 // |S | |S | |S | 5991 // | +---|---+ +-------+ +---|---+ | 5992 // | | D | | | D | | D | | | 5993 // +-------+ | +-------+ | +-------+ 5994 // | | | | | | 5991 5995 // +-------+ +-------+ +-------+ 5992 5996 // 5993 5997 // We got one of the above cases (or no overlapping) so copy from bottom up 5994 5998 5995 pBltPos += (lpDestRect->left * bpp) + lPitch * lpDestRect->top;5999 pBltPos += (lpDestRect->left * bpp) + lPitch * (lpDestRect->bottom-1); 5996 6000 pSrcPos += (lpSrcRect->left * bpp) + lPitch * (lpSrcRect->bottom-1); 5997 6001 BlitHeight = lpDestRect->bottom - lpDestRect->top; … … 6002 6006 memcpy(Scanline,pSrcPos,BlitWidth); 6003 6007 memcpy(pBltPos,Scanline,BlitWidth); 6004 pBltPos += lPitch;6008 pBltPos -= lPitch; 6005 6009 pSrcPos -= lPitch; 6006 6010 if(! (--BlitHeight)) … … 6012 6016 // +-------+ +-------+ +-------+ 6013 6017 // | D | | D | | D | 6014 // | +---|---+ +-------+ +---|---+ | 6015 // | |S | | |S | |S | | | 6016 // +-------+ | +-------+ | +-------+ 6017 // | | | | | | 6018 // +-------+ +-------+ +-------+ 6018 // | +---|---+ +-------+ +---|---+ | +---+---+---+ 6019 // | |S | | |S | |S | | | |S |S/D| D | 6020 // +-------+ | +-------+ | +-------+ | | | | 6021 // | | | | | | | | | | 6022 // +-------+ +-------+ +-------+ +---+---+---+ 6019 6023 // 6020 6024 // We got one of the above cases so copy top down -
trunk/src/ddraw/asmutil.asm
r8825 r8830 1 ; $Id: asmutil.asm,v 1.1 1 2002-07-02 10:38:40sandervl Exp $1 ; $Id: asmutil.asm,v 1.12 2002-07-03 15:44:38 sandervl Exp $ 2 2 3 3 ; … … 2097 2097 _MemFlip ENDP 2098 2098 2099 2100 public _ddmemfill16 2101 _ddmemfill16 proc near 2102 2103 DEST equ [ebp+8] 2104 VALUE equ [ebp+12] 2105 BUF_LEN equ [ebp+16] 2106 2107 push ebp 2108 mov ebp,esp 2109 push ecx 2110 push edi 2111 2112 mov ecx, BUF_LEN 2113 shr ecx, 2 ;length in dwords 2114 2115 mov edi, DEST 2116 mov eax, VALUE 2117 2118 cld 2119 rep stosd 2120 2121 mov ecx,BUF_LEN 2122 and ecx,03h 2123 shr ecx, 1 ;length in words 2124 2125 rep stosw 2126 2127 pop edi 2128 pop ecx 2129 pop ebp 2130 ret 2131 _ddmemfill16 endp 2132 2133 public _ddmemfill32 2134 _ddmemfill32 proc near 2135 2136 DEST equ [ebp+8] 2137 VALUE equ [ebp+12] 2138 BUF_LEN equ [ebp+16] 2139 2140 push ebp 2141 mov ebp,esp 2142 push ecx 2143 push edi 2144 2145 mov ecx, BUF_LEN 2146 shr ecx, 2 ;length in dwords 2147 2148 mov edi, DEST 2149 mov eax, VALUE 2150 2151 cld 2152 rep stosd 2153 2154 pop edi 2155 pop ecx 2156 pop ebp 2157 ret 2158 _ddmemfill32 endp 2159 2099 2160 CODE32 ENDS 2100 2161 -
trunk/src/ddraw/asmutil.h
r8825 r8830 1 /* $Id: asmutil.h,v 1. 8 2002-07-02 10:38:41sandervl Exp $ */1 /* $Id: asmutil.h,v 1.9 2002-07-03 15:44:38 sandervl Exp $ */ 2 2 3 3 /* … … 28 28 extern int __cdecl CPUHasMMX(); 29 29 30 extern void CDECL ddmemfill16(PBYTE dest, ULONG value, ULONG size); 31 extern void CDECL ddmemfill32(PBYTE dest, ULONG value, ULONG size); 32 30 33 #ifdef __cplusplus 31 34 } -
trunk/src/ddraw/fillfunc.cpp
r8821 r8830 1 /* $Id: fillfunc.cpp,v 1. 7 2002-07-02 09:55:13sandervl Exp $ */1 /* $Id: fillfunc.cpp,v 1.8 2002-07-03 15:44:39 sandervl Exp $ */ 2 2 3 3 /* … … 16 16 #include <misc.h> 17 17 #include "fillfunc.h" 18 #include "asmutil.h" 18 19 19 20 // … … 21 22 // 22 23 23 #ifndef USE_ASM 24 void __cdecl Fill8( char* pDst, 25 DWORD dwWidth, 26 DWORD dwHeight, 27 DWORD dwPitch, 28 DWORD dwColor) 29 { 30 DWORD *pColor; 31 char *pFillPos; 32 int i; 33 dprintf(("DDRAW:Fill8 with %08X\n",dwColor)); 34 35 // First Fill First row with the color 36 37 for( i=0,pColor = (DWORD*)pDst;i<(dwWidth/4);i++) 38 pColor[i] = dwColor; 39 40 if(dwWidth % 4) 41 { 42 if(i==0) i = 1; //or else next line will corrupt heap 43 pFillPos = (char*) (&pColor[i-1]); 44 for(i=0;i<dwWidth % 4;i++) 45 pFillPos[i] = (UCHAR) dwColor; 24 //***************************************************************************** 25 //***************************************************************************** 26 void CDECL Fill8(char* pDst, DWORD dwWidth, DWORD dwHeight, DWORD dwPitch, DWORD dwColor) 27 { 28 DWORD *pColor; 29 char *pFillPos; 30 31 dprintf(("DDRAW:Fill8 %x (%d,%d) %d with %x \n", pDst, dwWidth, dwHeight, dwPitch, dwColor)); 32 33 if(dwWidth == dwPitch) 34 { 35 // Width = Pitch => fill buffer so no need to take care of lines 36 memset(pDst, dwColor, dwWidth*dwHeight); 37 } 38 else 39 { 40 pFillPos = pDst; 41 42 while(dwHeight) 43 { 44 memset(pFillPos, dwColor, dwWidth); 45 pFillPos += dwPitch; 46 dwHeight--; 47 } 48 } 49 } 50 //***************************************************************************** 51 //***************************************************************************** 52 void CDECL Fill16(char* pDst, DWORD dwWidth, DWORD dwHeight, DWORD dwPitch, DWORD dwColor) 53 { 54 DWORD *pColor; 55 char *pFillPos; 56 57 dprintf(("DDRAW:Fill16 %x (%d,%d) %d with %x \n", pDst, dwWidth, dwHeight, dwPitch, dwColor)); 58 59 dwWidth *=2; 60 61 if(dwWidth == dwPitch) 62 { 63 // Width = Pitch => fill buffer so no need to take care of lines 64 ddmemfill16(pDst, dwColor, dwWidth*dwHeight); 65 } 66 else 67 { 68 pFillPos = pDst; 69 70 while(dwHeight) 71 { 72 ddmemfill16(pFillPos, dwColor, dwWidth); 73 pFillPos += dwPitch; 74 dwHeight--; 75 } 76 } 77 } 78 //***************************************************************************** 79 //***************************************************************************** 80 void CDECL Fill24(char* pDst, DWORD dwWidth, DWORD dwHeight, DWORD dwPitch, DWORD dwColor) 81 { 82 DWORD *pColor; 83 char *pFillPos; 84 int i; 85 86 dprintf(("DDRAW:Fill24 %x (%d,%d) %d with %x \n", pDst, dwWidth, dwHeight, dwPitch, dwColor)); 87 88 // First Fill First row with the color 89 90 for(i=0 ; i<dwWidth ; i++) 91 { 92 pColor = (DWORD*)(pDst+(i*3)); 93 *pColor = dwColor; 94 } 95 dwWidth *=3; 96 dwHeight--; 97 98 if(dwWidth == dwPitch) 99 { 100 // Width = Pitch => fill buffer so no need to take care of lines 101 memcpy(pDst+dwPitch, pDst, dwWidth*dwHeight); 102 } 103 else 104 { 105 pFillPos = pDst+dwPitch; 106 while(dwHeight) 107 { 108 memcpy(pFillPos,pDst,dwWidth); 109 pFillPos += dwPitch; 110 dwHeight--; 111 } 112 } 113 } 114 //***************************************************************************** 115 //***************************************************************************** 116 void CDECL Fill32(char* pDst, DWORD dwWidth, DWORD dwHeight, DWORD dwPitch, DWORD dwColor) 117 { 118 DWORD *pColor; 119 char *pFillPos; 120 121 dprintf(("DDRAW:Fill32 %x (%d,%d) %d with %x \n", pDst, dwWidth, dwHeight, dwPitch, dwColor)); 122 123 dwWidth *= 4; 124 125 if(dwWidth == dwPitch) 126 { 127 // Width = Pitch => fill buffer so no need to take care of lines 128 ddmemfill32(pDst, dwColor, dwWidth*dwHeight); 129 } 130 else 131 { 132 pFillPos = pDst; 133 134 while(dwHeight) 135 { 136 ddmemfill32(pFillPos, dwColor, dwWidth); 137 pFillPos += dwPitch; 138 dwHeight--; 139 } 46 140 } 47 48 dwHeight--; 49 50 if(dwWidth == dwPitch) 51 { 52 // Width = Pitch => fill buffer so no need to take care of lines 53 memcpy(pDst+dwPitch, pDst, dwWidth*dwHeight); 54 } 55 else 56 { 57 pFillPos = pDst+dwPitch; 58 while(dwHeight) 59 { 60 memcpy(pFillPos,pDst,dwWidth); 61 pFillPos += dwPitch; 62 dwHeight--; 63 } 64 } 65 } 66 void __cdecl Fill16( char* pDst, 67 DWORD dwWidth, 68 DWORD dwHeight, 69 DWORD dwPitch, 70 DWORD dwColor) 71 { 72 DWORD *pColor; 73 char *pFillPos; 74 int i; 75 dprintf(("DDRAW:Fill16 with %08X \n",dwColor)); 76 77 // First Fill First row with the color 78 79 for( i=0,pColor = (DWORD*)pDst;i<(dwWidth/2);i++) 80 pColor[i] = dwColor; 81 82 if(dwWidth % 2) 83 { 84 if(i==0) i = 1; //or else next line will corrupt heap 85 pFillPos = (char*)(&pColor[i-1]); 86 *((USHORT*)pFillPos) = (USHORT)dwColor; 87 } 88 89 dwWidth *=2; 90 dwHeight--; 91 92 if(dwWidth == dwPitch) 93 { 94 // Width = Pitch => fill buffer so no need to take care of lines 95 memcpy(pDst+dwPitch, pDst, dwWidth*dwHeight); 96 } 97 else 98 { 99 pFillPos = pDst+dwPitch; 100 while(dwHeight) 101 { 102 memcpy(pFillPos,pDst,dwWidth); 103 pFillPos += dwPitch; 104 dwHeight--; 105 } 106 } 107 } 108 void __cdecl Fill24( char* pDst, 109 DWORD dwWidth, 110 DWORD dwHeight, 111 DWORD dwPitch, 112 DWORD dwColor) 113 { 114 DWORD *pColor; 115 char *pFillPos; 116 int i; 117 dprintf(("DDRAW:Fill24 with %08X \n",dwColor)); 118 119 // First Fill First row with the color 120 121 for(i=0 ; i<dwWidth ; i++) 122 { 123 pColor = (DWORD*)(pDst+(i*3)); 124 *pColor = dwColor; 125 } 126 dwWidth *=3; 127 dwHeight--; 128 129 if(dwWidth == dwPitch) 130 { 131 // Width = Pitch => fill buffer so no need to take care of lines 132 memcpy(pDst+dwPitch, pDst, dwWidth*dwHeight); 133 } 134 else 135 { 136 pFillPos = pDst+dwPitch; 137 while(dwHeight) 138 { 139 memcpy(pFillPos,pDst,dwWidth); 140 pFillPos += dwPitch; 141 dwHeight--; 142 } 143 } 144 } 145 146 void __cdecl Fill32( char* pDst, 147 DWORD dwWidth, 148 DWORD dwHeight, 149 DWORD dwPitch, 150 DWORD dwColor) 151 { 152 DWORD *pColor; 153 char *pFillPos; 154 int i; 155 dprintf(("DDRAW:Fill24 with %08X \n",dwColor)); 156 157 // First Fill First row with the color 158 159 for(i=0 ; i<dwWidth ; i++) 160 { 161 pColor[i] = dwColor; 162 } 163 dwWidth *=4; 164 dwHeight--; 165 166 if(dwWidth == dwPitch) 167 { 168 // Width = Pitch => fill buffer so no need to take care of lines 169 memcpy(pDst+dwPitch, pDst, dwWidth*dwHeight); 170 } 171 else 172 { 173 pFillPos = pDst+dwPitch; 174 while(dwHeight) 175 { 176 memcpy(pFillPos,pDst,dwWidth); 177 pFillPos += dwPitch; 178 dwHeight--; 179 } 180 } 181 } 182 #else 183 #define Fill8 Fill8ASM 184 #define Fill16 Fill16ASM 185 #define Fill24 Fill24ASM 186 #define Fill32 Fill32ASM 187 #endif 188 189 190 191 // without ColorConversion 192 void __cdecl Fill8on8( char *pDB, 141 } 142 //***************************************************************************** 143 //***************************************************************************** 144 void CDECL Fill8on8( char *pDB, 193 145 char *pFB, 194 146 DWORD dwTop, … … 212 164 dwColor); 213 165 } 214 void __cdecl Fill16on16( char *pDB, 166 //***************************************************************************** 167 //***************************************************************************** 168 void CDECL Fill16on16( char *pDB, 215 169 char *pFB, 216 170 DWORD dwTop, … … 234 188 dwColor); 235 189 } 236 void __cdecl Fill24on24( char *pDB, 190 //***************************************************************************** 191 //***************************************************************************** 192 void CDECL Fill24on24( char *pDB, 237 193 char *pFB, 238 194 DWORD dwTop, … … 256 212 257 213 } 258 void __cdecl Fill32on32( char *pDB, 214 //***************************************************************************** 215 //***************************************************************************** 216 void CDECL Fill32on32( char *pDB, 259 217 char *pFB, 260 218 DWORD dwTop, … … 275 233 dwColor); 276 234 } 277 278 void __cdecl Fill8on16( char *pDB, 235 //***************************************************************************** 236 //***************************************************************************** 237 void CDECL Fill8on16( char *pDB, 279 238 char *pFB, 280 239 DWORD dwTop, … … 307 266 dwCol); 308 267 } 309 310 void __cdecl Fill8on24( char *pDB, 268 //***************************************************************************** 269 //***************************************************************************** 270 void CDECL Fill8on24( char *pDB, 311 271 char *pFB, 312 272 DWORD dwTop, … … 339 299 dwCol); 340 300 } 341 void __cdecl Fill8on32( char *pDB, 301 //***************************************************************************** 302 //***************************************************************************** 303 void CDECL Fill8on32( char *pDB, 342 304 char *pFB, 343 305 DWORD dwTop, … … 369 331 dwCol); 370 332 } 371 void __cdecl Fill16on8( char *pDB, 333 //***************************************************************************** 334 //***************************************************************************** 335 void CDECL Fill16on8( char *pDB, 372 336 char *pFB, 373 337 DWORD dwTop, … … 381 345 ) 382 346 { 383 dprintf(("Fill16on8 NOT Implemented \n")); 384 } 385 void __cdecl Fill16on24( char *pDB, 347 dprintf(("Fill16on8 NOT Implemented \n")); 348 DebugInt3(); 349 } 350 //***************************************************************************** 351 //***************************************************************************** 352 void CDECL Fill16on24( char *pDB, 386 353 char *pFB, 387 354 DWORD dwTop, … … 414 381 dwCol); 415 382 } 416 void __cdecl Fill16on32( char *pDB, 383 //***************************************************************************** 384 //***************************************************************************** 385 void CDECL Fill16on32( char *pDB, 417 386 char *pFB, 418 387 DWORD dwTop, … … 445 414 dwCol); 446 415 } 447 448 void __cdecl Fill24on8( char *pDB, 416 //***************************************************************************** 417 //***************************************************************************** 418 void CDECL Fill24on8( char *pDB, 449 419 char *pFB, 450 420 DWORD dwTop, … … 458 428 ) 459 429 { 460 dprintf(("Fill24on8 NOT implemented\n")); 461 } 462 void __cdecl Fill24on16( char *pDB, 430 dprintf(("Fill24on8 NOT implemented\n")); 431 DebugInt3(); 432 } 433 //***************************************************************************** 434 //***************************************************************************** 435 void CDECL Fill24on16( char *pDB, 463 436 char *pFB, 464 437 DWORD dwTop, … … 493 466 dwCol); 494 467 } 495 void __cdecl Fill24on32( char *pDB, 468 //***************************************************************************** 469 //***************************************************************************** 470 void CDECL Fill24on32( char *pDB, 496 471 char *pFB, 497 472 DWORD dwTop, … … 519 494 dwColor); 520 495 } 521 void __cdecl Fill32on8( char *pDB, 496 //***************************************************************************** 497 //***************************************************************************** 498 void CDECL Fill32on8( char *pDB, 522 499 char *pFB, 523 500 DWORD dwTop, … … 531 508 ) 532 509 { 533 dprintf(("Fill32on8 NOT implemented\n")); 534 } 535 void __cdecl Fill32on16( char *pDB, 510 dprintf(("Fill32on8 NOT implemented\n")); 511 DebugInt3(); 512 } 513 //***************************************************************************** 514 //***************************************************************************** 515 void CDECL Fill32on16( char *pDB, 536 516 char *pFB, 537 517 DWORD dwTop, … … 565 545 dwCol); 566 546 } 567 void __cdecl Fill32on24( char *pDB, 547 //***************************************************************************** 548 //***************************************************************************** 549 void CDECL Fill32on24( char *pDB, 568 550 char *pFB, 569 551 DWORD dwTop, … … 590 572 dwColor); 591 573 } 592 574 //***************************************************************************** 575 //***************************************************************************** 576 -
trunk/src/ddraw/fillfunc.h
r8818 r8830 1 /* $Id: fillfunc.h,v 1. 3 2002-07-01 19:15:26sandervl Exp $ */1 /* $Id: fillfunc.h,v 1.4 2002-07-03 15:44:39 sandervl Exp $ */ 2 2 3 3 /* … … 15 15 16 16 // without ColorConversion 17 extern void __cdeclFill8on8( char *pDBDst,17 extern void CDECL Fill8on8( char *pDBDst, 18 18 char *pFBDst, 19 19 DWORD dwDstTop, … … 27 27 ); 28 28 29 extern void __cdeclFill16on16( char *pDBDst,30 char *pFBDst, 31 DWORD dwDstTop, 32 DWORD dwDstLeft, 33 DWORD dwWidth, 34 DWORD dwHeight, 35 DWORD dwPitchDBDst, 36 DWORD dwPitchFBDst, 37 DWORD dwColor, 38 VOID *pPalette 39 ); 40 extern void __cdeclFill24on24( char *pDBDst,29 extern void CDECL Fill16on16( char *pDBDst, 30 char *pFBDst, 31 DWORD dwDstTop, 32 DWORD dwDstLeft, 33 DWORD dwWidth, 34 DWORD dwHeight, 35 DWORD dwPitchDBDst, 36 DWORD dwPitchFBDst, 37 DWORD dwColor, 38 VOID *pPalette 39 ); 40 extern void CDECL Fill24on24( char *pDBDst, 41 41 char *pFBDst, 42 42 DWORD dwDstTop, … … 49 49 VOID *pPalette 50 50 ); 51 extern void __cdeclFill32on32( char *pDBDst,51 extern void CDECL Fill32on32( char *pDBDst, 52 52 char *pFBDst, 53 53 DWORD dwDstTop, … … 61 61 ); 62 62 63 extern void __cdeclFill8on16( char *pDBDst,64 char *pFBDst, 65 DWORD dwDstTop, 66 DWORD dwDstLeft, 67 DWORD dwWidth, 68 DWORD dwHeight, 69 DWORD dwPitchDBDst, 70 DWORD dwPitchFBDst, 71 DWORD dwColor, 72 VOID *pPalette 73 ); 74 75 extern void __cdeclFill8on24( char *pDBDst,76 char *pFBDst, 77 DWORD dwDstTop, 78 DWORD dwDstLeft, 79 DWORD dwWidth, 80 DWORD dwHeight, 81 DWORD dwPitchDBDst, 82 DWORD dwPitchFBDst, 83 DWORD dwColor, 84 VOID *pPalette 85 ); 86 87 extern void __cdeclFill8on32( char *pDBDst,88 char *pFBDst, 89 DWORD dwDstTop, 90 DWORD dwDstLeft, 91 DWORD dwWidth, 92 DWORD dwHeight, 93 DWORD dwPitchDBDst, 94 DWORD dwPitchFBDst, 95 DWORD dwColor, 96 VOID *pPalette 97 ); 98 99 extern void __cdeclFill16on8( char *pDBDst,100 char *pFBDst, 101 DWORD dwDstTop, 102 DWORD dwDstLeft, 103 DWORD dwWidth, 104 DWORD dwHeight, 105 DWORD dwPitchDBDst, 106 DWORD dwPitchFBDst, 107 DWORD dwColor, 108 VOID *pPalette 109 ); 110 111 extern void __cdeclFill16on24( char *pDBDst,112 char *pFBDst, 113 DWORD dwDstTop, 114 DWORD dwDstLeft, 115 DWORD dwWidth, 116 DWORD dwHeight, 117 DWORD dwPitchDBDst, 118 DWORD dwPitchFBDst, 119 DWORD dwColor, 120 VOID *pPalette 121 ); 122 123 extern void __cdeclFill16on32( char *pDBDst,124 char *pFBDst, 125 DWORD dwDstTop, 126 DWORD dwDstLeft, 127 DWORD dwWidth, 128 DWORD dwHeight, 129 DWORD dwPitchDBDst, 130 DWORD dwPitchFBDst, 131 DWORD dwColor, 132 VOID *pPalette 133 ); 134 135 extern void __cdeclFill24on8( char *pDBDst,136 char *pFBDst, 137 DWORD dwDstTop, 138 DWORD dwDstLeft, 139 DWORD dwWidth, 140 DWORD dwHeight, 141 DWORD dwPitchDBDst, 142 DWORD dwPitchFBDst, 143 DWORD dwColor, 144 VOID *pPalette 145 ); 146 147 extern void __cdeclFill24on16( char *pDBDst,148 char *pFBDst, 149 DWORD dwDstTop, 150 DWORD dwDstLeft, 151 DWORD dwWidth, 152 DWORD dwHeight, 153 DWORD dwPitchDBDst, 154 DWORD dwPitchFBDst, 155 DWORD dwColor, 156 VOID *pPalette 157 ); 158 159 extern void __cdeclFill24on32( char *pDBDst,160 char *pFBDst, 161 DWORD dwDstTop, 162 DWORD dwDstLeft, 163 DWORD dwWidth, 164 DWORD dwHeight, 165 DWORD dwPitchDBDst, 166 DWORD dwPitchFBDst, 167 DWORD dwColor, 168 VOID *pPalette 169 ); 170 171 extern void __cdeclFill32on8( char *pDBDst,172 char *pFBDst, 173 DWORD dwDstTop, 174 DWORD dwDstLeft, 175 DWORD dwWidth, 176 DWORD dwHeight, 177 DWORD dwPitchDBDst, 178 DWORD dwPitchFBDst, 179 DWORD dwColor, 180 VOID *pPalette 181 ); 182 183 extern void __cdeclFill32on16( char *pDBDst,184 char *pFBDst, 185 DWORD dwDstTop, 186 DWORD dwDstLeft, 187 DWORD dwWidth, 188 DWORD dwHeight, 189 DWORD dwPitchDBDst, 190 DWORD dwPitchFBDst, 191 DWORD dwColor, 192 VOID *pPalette 193 ); 194 195 extern void __cdeclFill32on24( char *pDBDst,196 char *pFBDst, 197 DWORD dwDstTop, 198 DWORD dwDstLeft, 199 DWORD dwWidth, 200 DWORD dwHeight, 201 DWORD dwPitchDBDst, 202 DWORD dwPitchFBDst, 203 DWORD dwColor, 204 VOID *pPalette 205 ); 206 63 extern void CDECL Fill8on16( char *pDBDst, 64 char *pFBDst, 65 DWORD dwDstTop, 66 DWORD dwDstLeft, 67 DWORD dwWidth, 68 DWORD dwHeight, 69 DWORD dwPitchDBDst, 70 DWORD dwPitchFBDst, 71 DWORD dwColor, 72 VOID *pPalette 73 ); 74 75 extern void CDECL Fill8on24( char *pDBDst, 76 char *pFBDst, 77 DWORD dwDstTop, 78 DWORD dwDstLeft, 79 DWORD dwWidth, 80 DWORD dwHeight, 81 DWORD dwPitchDBDst, 82 DWORD dwPitchFBDst, 83 DWORD dwColor, 84 VOID *pPalette 85 ); 86 87 extern void CDECL Fill8on32( char *pDBDst, 88 char *pFBDst, 89 DWORD dwDstTop, 90 DWORD dwDstLeft, 91 DWORD dwWidth, 92 DWORD dwHeight, 93 DWORD dwPitchDBDst, 94 DWORD dwPitchFBDst, 95 DWORD dwColor, 96 VOID *pPalette 97 ); 98 99 extern void CDECL Fill16on8( char *pDBDst, 100 char *pFBDst, 101 DWORD dwDstTop, 102 DWORD dwDstLeft, 103 DWORD dwWidth, 104 DWORD dwHeight, 105 DWORD dwPitchDBDst, 106 DWORD dwPitchFBDst, 107 DWORD dwColor, 108 VOID *pPalette 109 ); 110 111 extern void CDECL Fill16on24( char *pDBDst, 112 char *pFBDst, 113 DWORD dwDstTop, 114 DWORD dwDstLeft, 115 DWORD dwWidth, 116 DWORD dwHeight, 117 DWORD dwPitchDBDst, 118 DWORD dwPitchFBDst, 119 DWORD dwColor, 120 VOID *pPalette 121 ); 122 123 extern void CDECL Fill16on32( char *pDBDst, 124 char *pFBDst, 125 DWORD dwDstTop, 126 DWORD dwDstLeft, 127 DWORD dwWidth, 128 DWORD dwHeight, 129 DWORD dwPitchDBDst, 130 DWORD dwPitchFBDst, 131 DWORD dwColor, 132 VOID *pPalette 133 ); 134 135 extern void CDECL Fill24on8( char *pDBDst, 136 char *pFBDst, 137 DWORD dwDstTop, 138 DWORD dwDstLeft, 139 DWORD dwWidth, 140 DWORD dwHeight, 141 DWORD dwPitchDBDst, 142 DWORD dwPitchFBDst, 143 DWORD dwColor, 144 VOID *pPalette 145 ); 146 147 extern void CDECL Fill24on16( char *pDBDst, 148 char *pFBDst, 149 DWORD dwDstTop, 150 DWORD dwDstLeft, 151 DWORD dwWidth, 152 DWORD dwHeight, 153 DWORD dwPitchDBDst, 154 DWORD dwPitchFBDst, 155 DWORD dwColor, 156 VOID *pPalette 157 ); 158 159 extern void CDECL Fill24on32( char *pDBDst, 160 char *pFBDst, 161 DWORD dwDstTop, 162 DWORD dwDstLeft, 163 DWORD dwWidth, 164 DWORD dwHeight, 165 DWORD dwPitchDBDst, 166 DWORD dwPitchFBDst, 167 DWORD dwColor, 168 VOID *pPalette 169 ); 170 171 extern void CDECL Fill32on8( char *pDBDst, 172 char *pFBDst, 173 DWORD dwDstTop, 174 DWORD dwDstLeft, 175 DWORD dwWidth, 176 DWORD dwHeight, 177 DWORD dwPitchDBDst, 178 DWORD dwPitchFBDst, 179 DWORD dwColor, 180 VOID *pPalette 181 ); 182 183 extern void CDECL Fill32on16( char *pDBDst, 184 char *pFBDst, 185 DWORD dwDstTop, 186 DWORD dwDstLeft, 187 DWORD dwWidth, 188 DWORD dwHeight, 189 DWORD dwPitchDBDst, 190 DWORD dwPitchFBDst, 191 DWORD dwColor, 192 VOID *pPalette 193 ); 194 195 extern void CDECL Fill32on24( char *pDBDst, 196 char *pFBDst, 197 DWORD dwDstTop, 198 DWORD dwDstLeft, 199 DWORD dwWidth, 200 DWORD dwHeight, 201 DWORD dwPitchDBDst, 202 DWORD dwPitchFBDst, 203 DWORD dwColor, 204 VOID *pPalette 205 ); 206
Note:
See TracChangeset
for help on using the changeset viewer.