Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113341 Details for
Bug 164301
media-libs/libsdl-1.2.11 problem with semitransparent blitting
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/libsdl-1.2.11-asm-blit-fix.patch
libsdl-1.2.11-asm-blit-fix.patch (text/plain), 752 bytes, created by
Sergey Belyashov
on 2007-03-15 10:02:24 UTC
(
hide
)
Description:
files/libsdl-1.2.11-asm-blit-fix.patch
Filename:
MIME Type:
Creator:
Sergey Belyashov
Created:
2007-03-15 10:02:24 UTC
Size:
752 bytes
patch
obsolete
>--- branches/SDL-1.2/src/video/SDL_blit_A.c 2006/09/23 23:15:34 2781 >+++ branches/SDL-1.2/src/video/SDL_blit_A.c 2006/11/21 23:17:00 working copy >@@ -369,7 +369,9 @@ > packsswb_r2r(mm6, mm3); /* 0000FFFF -> mm3 */ > pxor_r2r(mm0, mm3); /* 0000F000 -> mm3 (~channel mask) */ > /* get alpha channel shift */ >- movd_m2r(sf->Ashift, mm5); /* Ashift -> mm5 */ >+ __asm__ __volatile__ ( >+ "movd %0, %%mm5" >+ : : "rm" ((Uint32) sf->Ashift) ); /* Ashift -> mm5 */ > > while(height--) { > DUFFS_LOOP4({ >@@ -1587,7 +1589,7 @@ > /* get alpha channel shift */ > "movd %1, %%mm5\n\t" /* Ashift -> mm5 */ > >- : /* nothing */ : "m" (sf->Amask), "m" (sf->Ashift) ); >+ : /* nothing */ : "rm" (amask), "rm" ((Uint32) sf->Ashift) ); > > while(height--) { >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164301
:
108410
|
108411
| 113341