Sam Lantinga <slouken@libsdl.org> [Fri, 22 Aug 2003 05:51:19 +0000] rev 689
Date: Tue, 19 Aug 2003 17:57:00 +0200
From: Stephane Marchesin
Subject: Re: [SDL] [patch] MMX alpha blit patches with MMX detection
I think everything is correct now. I've done as much testing as I could,
but some real-world testing wouldn't hurt, I think.
The patch is here : http://icps.u-strasbg.fr/~marchesin/sdl_mmxblit.patch
If you do byte-by-byte comparison of the output between C and MMX
functions, you'll notice that the results for 555 and 565 RGB alpha
blits aren't exactly the same. This is because MMX functions for 555 and
565 RGB have an higher accuracy. If you want the exact same behaviour
that's possible by masking the three lower alpha bits in the MMX
functions. Just ask !
I removed one MMX function because after I fixed it to match its C
equivalent, it revealed to be slower than the C version on a PIII
(although a bit faster on an Athlon XP).
I've also added MMX and PIII replacements for SDL_memcpy. Those provide
some speed up in testvidinfo -benchmark (at least for me, under linux &
X11).
Sam Lantinga <slouken@libsdl.org> [Tue, 12 Aug 2003 15:17:20 +0000] rev 688
Date: Tue, 12 Aug 2003 14:26:19 +0200 (MEST)
From: "Mattias Engdeg?rd"
Subject: bug in SDL_GetRGB/GetRGBA
There's an embarrassing bug in GetRGB/GetRGBA which apparently has been there
for years. It incorrectly converts colours with < 8 bits/channel.
It came to my attention today in #sdl.
What it does now is (for each channel):
rv = (pixel & fmt->Rmask) >> fmt->Rshift;
*r = (rv << fmt->Rloss) + (rv >> (8 - fmt->Rloss));
which is wrong; the last line should be
*r = (rv << fmt->Rloss) + (rv >> (8 - (fmt->Rloss << 1)));
Sam Lantinga <slouken@libsdl.org> [Mon, 11 Aug 2003 22:28:13 +0000] rev 687
Date: Mon, 11 Aug 2003 22:49:06 +0100
From: Peter Naulls
Subject: RISC OS patches
This patch includes a patch to configure.in for RISC OS cross compiling
which was somehow missed from last time.
It also corrects BPP setting and checking behaviour.
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Aug 2003 17:49:51 +0000] rev 686
*** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Aug 2003 17:48:56 +0000] rev 685
Date: Sun, 10 Aug 2003 13:24:45 -0400
From: Darrell Walisser
Subject: Re: Updated projects?
There was one additional patch I forgot to send. I needed to add a few
exports to the exports file.
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Aug 2003 07:46:21 +0000] rev 684
The cdrom code doesn't build on MacOS X 10.1, disabled for now...
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Aug 2003 07:21:43 +0000] rev 683
Date: Sat, 9 Aug 2003 20:14:06 -0400
From: Darrell Walisser
Subject: Re: Updated projects?
>> Did you get a chance to look at my "Custom Cocoa" demo? I have a few
>> minor patches that enable SDL/Cocoa integration, and a project
>> template.
>
> I didn't yet, but go ahead and send me the patches. :)
>
I updated the patch for current CVS. There are a lot of changes, but I
don't think I've broken anything. This patch also improves the behavior
of window minimize/deminimize.
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Aug 2003 22:49:28 +0000] rev 682
*sigh*
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Aug 2003 22:13:38 +0000] rev 681
More grumble grumble...
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Aug 2003 21:14:26 +0000] rev 680
Grumble grumble