Sat, 23 Aug 2003 23:20:21 +0000Date: Fri, 15 Aug 2003 09:13:59 +0300
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Aug 2003 23:20:21 +0000] rev 692
Date: Fri, 15 Aug 2003 09:13:59 +0300
From: "Mike Gorchak"
Subject: Patches for tests and QNX6

Here more fixes for the QNX6 in sdlqnx.diff file:

- Spellchecked README.QNX (thanks to Julian Kinraid)
- Fixed bugs in fullscreen mode: window region wasn't on top by default, so \
it caused some artifacts to be appeared on the screen, prevent window conten\
ts default filler in Photon while in fullscreen mode, it damages the screen.
- Added support for the SDL_VIDEO_WINDOW_POS, SDL_VIDEO_CENTERED env variabl\
es.
- Some minor code restructurization.

Sat, 23 Aug 2003 23:18:49 +0000Date: Fri, 15 Aug 2003 09:13:59 +0300
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Aug 2003 23:18:49 +0000] rev 691
Date: Fri, 15 Aug 2003 09:13:59 +0300
From: "Mike Gorchak"
Subject: Patches for tests and QNX6

1) graywin - added support for the gray gradient in the 15/16 bpp modes. Added SDL_VIDEOEXPOSE event handling.
2) testalpha - added support for the gray gradient in the 15/16 bpp modes.
3) testbitmap - added support for the gray gradient in the 8/15/16 bpp modes.

Sat, 23 Aug 2003 23:12:19 +0000Fixed use of SDL with XInitThreads()
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Aug 2003 23:12:19 +0000] rev 690
Fixed use of SDL with XInitThreads()

Fri, 22 Aug 2003 05:51:19 +0000Date: Tue, 19 Aug 2003 17:57:00 +0200
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).

Tue, 12 Aug 2003 15:17:20 +0000Date: Tue, 12 Aug 2003 14:26:19 +0200 (MEST)
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)));

Mon, 11 Aug 2003 22:28:13 +0000Date: Mon, 11 Aug 2003 22:49:06 +0100
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.

Sun, 10 Aug 2003 17:49:51 +0000*** empty log message ***
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Aug 2003 17:49:51 +0000] rev 686
*** empty log message ***

Sun, 10 Aug 2003 17:48:56 +0000Date: Sun, 10 Aug 2003 13:24:45 -0400
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.

Sun, 10 Aug 2003 07:46:21 +0000The cdrom code doesn't build on MacOS X 10.1, disabled for now...
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...

Sun, 10 Aug 2003 07:21:43 +0000Date: Sat, 9 Aug 2003 20:14:06 -0400
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.