Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit_A.c @ 1720:a1ebb17f9c52 SDL-1.3
Cleaned up a bunch of warnings, started adding Win32 event support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 30 Jun 2006 05:42:49 +0000 |
parents | 4da1ee79c9af |
children |
comparison
equal
deleted
inserted
replaced
1719:5b9f50c957ed | 1720:a1ebb17f9c52 |
---|---|
615 Uint64 multmask; | 615 Uint64 multmask; |
616 | 616 |
617 __m64 src1, dst1, mm_alpha, mm_zero, dmask; | 617 __m64 src1, dst1, mm_alpha, mm_zero, dmask; |
618 | 618 |
619 mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ | 619 mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ |
620 multmask = ~(0xFFFFi 64 << (ashift * 2)); | 620 /* *INDENT-OFF* */ |
621 multmask = ~(0xFFFFI64 << (ashift * 2)); | |
622 /* *INDENT-ON* */ | |
621 dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ | 623 dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ |
622 | 624 |
623 while (height--) { | 625 while (height--) { |
624 /* *INDENT-OFF* */ | 626 /* *INDENT-OFF* */ |
625 DUFFS_LOOP4({ | 627 DUFFS_LOOP4({ |
1751 Uint64 multmask; | 1753 Uint64 multmask; |
1752 | 1754 |
1753 __m64 src1, dst1, mm_alpha, mm_zero, dmask; | 1755 __m64 src1, dst1, mm_alpha, mm_zero, dmask; |
1754 | 1756 |
1755 mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ | 1757 mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ |
1756 multmask = ~(0xFFFFi 64 << (ashift * 2)); | 1758 /* *INDENT-OFF* */ |
1759 multmask = ~(0xFFFFI64 << (ashift * 2)); | |
1760 /* *INDENT-ON* */ | |
1757 dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ | 1761 dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ |
1758 | 1762 |
1759 while (height--) { | 1763 while (height--) { |
1760 /* *INDENT-OFF* */ | 1764 /* *INDENT-OFF* */ |
1761 DUFFS_LOOP4({ | 1765 DUFFS_LOOP4({ |