Tue, 01 Jul 2003 16:35:54 +0000Removed direct dependency on OpenGL (call current_video->glGetString() instead
Ryan C. Gordon [Tue, 01 Jul 2003 16:35:54 +0000] rev 643
Removed direct dependency on OpenGL (call current_video->glGetString() instead
of glGetString() directly)...otherwise we'd have to explicitly link to a
libGL. --ryan.

Tue, 01 Jul 2003 01:18:27 +0000*** empty log message ***
Sam Lantinga [Tue, 01 Jul 2003 01:18:27 +0000] rev 642
*** empty log message ***

Sat, 28 Jun 2003 21:52:26 +0000Date: 28 Jun 2003 22:42:52 +0100
Sam Lantinga [Sat, 28 Jun 2003 21:52:26 +0000] rev 641
Date: 28 Jun 2003 22:42:52 +0100
From: Alan Swanson
Subject: Re: [SDL] New XFree 4.3 Video Mode Patch

I have a wee amendment that moves the qsort in set_best_resolution
to only occur after failing to find an exact match only. This would
make absolutely sure we get a user set mode.

While I've never had any problems for my normal resolutions (1280x1024,
1024x768, 800x600 & 640,480) while closely examining the output from
qsort I've noticed it doesn't seem to sort the modes fully. These is
one definite wrong at 1152x768 and a few that just look wrong to me.

From a program (attached) I made to examine this more easily. X has
sorted its mode list using the same method as ours (plus frequency),
and our user modes get inserted without any other movement.

On the patch I've made I've also changed cmpmodes to sort on vertical
resolution and then horizontal. Ie vertical is now most significant
bit.

Sat, 28 Jun 2003 21:38:14 +0000Bugfix: some Makefiles in subdirectories created before their upper-level ones
Patrice Mandin [Sat, 28 Jun 2003 21:38:14 +0000] rev 640
Bugfix: some Makefiles in subdirectories created before their upper-level ones

Sat, 28 Jun 2003 17:39:46 +0000I'm American, does it show? ;-)
Sam Lantinga [Sat, 28 Jun 2003 17:39:46 +0000] rev 639
I'm American, does it show? ;-)

Sat, 28 Jun 2003 17:27:33 +0000Date: Sun, 11 May 2003 19:59:06 +0300
Sam Lantinga [Sat, 28 Jun 2003 17:27:33 +0000] rev 638
Date: Sun, 11 May 2003 19:59:06 +0300
From: Pasi K?rkk?inen
Subject: [PATCH] fix SDL OpenGL segfault with DRI/Mesa drivers and Glew

Hello!

The attached patch fixes a bug in SDL which causes SDL to crash in
X11_GL_Shutdown() if you are using DRI/Mesa drivers AND glew
(http://glew.sf.net).

The bug is caused by a namespace collision affecting dlsym() to fetch wrong
pointer for glXReleaseBuffersMESA() (uninitialized pointer from glew because
the extension is NOT supported by the driver) and then SDL calling it in
X11_GL_Shutdown().

SDL should check if the glXReleaseBuffersMESA() is really supported by the
driver (from the extensions string) before calling it.

Attached patch adds extension string parsing to check if
glXReleaseBuffersMESA() is really supported (and this way
prevents the segfault).

Availability of the extensions should be _always_ checked from the
extensions string rather than using dlsym()!

Please add it to the next version of SDL.

Thanks to gltron and author of glew to help fixing this.

Sat, 28 Jun 2003 17:16:52 +0000te: 27 Jun 2003 21:16:01 +0100
Sam Lantinga [Sat, 28 Jun 2003 17:16:52 +0000] rev 637
te: 27 Jun 2003 21:16:01 +0100
From: Alan Swanson
Subject: [SDL] New XFree 4.3 Video Mode Patch

The current patch to fix the issues with XFree 4.3 it is a bit of
overkill to a simple problem. Default screen settings should be set in
X, not selected by SDL with environment variables. Any program or user
using non-standard or unset display modes get what they deserve :-)

If you look at the unsorted list of modes returned by X, here's mine;

1280 x 1024 @ 85.0 >
1024 x 768 @ 100.3 > USER
800 x 600 @ 125.5 > SET
640 x 480 @ 124.9 >
1280 x 1024 @ 75.0 ]
1280 x 1024 @ 60.0 ]
1280 x 960 @ 85.0 ] X11
1280 x 960 @ 60.0 ] AUTO
1152 x 864 @ 75.0 ]
1152 x 768 @ 54.8 ]
960 x 720 @ 120.0 ]
...
640 x 400 @ 85.1 ] 256k
576 x 432 @ 150.0 ] 249k PIXEL
640 x 350 @ 85.1 ] 224k COUNT
576 x 384 @ 109.6 ] 221k
...

The user set modes come first followed by X set modes which are ordered
by decreasing number of pixels and refresh.

The reason why every other library or program not using SDL was working
is due to SDL scanning the modes in reverse getting X11 provided modes
modes with the lowest refresh.

The solution is to scan forward for the first user set mode or highest X
mode. The qsort still keeps user set modes above higher refresh modes
added by X.

For the best match we still reverse search for the nearest larger size
and then try to find a higher version of it.

Sat, 28 Jun 2003 17:03:57 +0000*** empty log message ***
Sam Lantinga [Sat, 28 Jun 2003 17:03:57 +0000] rev 636
*** empty log message ***

Sun, 22 Jun 2003 04:23:27 +0000*** empty log message ***
Sam Lantinga [Sun, 22 Jun 2003 04:23:27 +0000] rev 635
*** empty log message ***

Sat, 14 Jun 2003 07:18:40 +0000Date: Thu, 05 Jun 2003 09:36:40 +0100
Sam Lantinga [Sat, 14 Jun 2003 07:18:40 +0000] rev 634
Date: Thu, 05 Jun 2003 09:36:40 +0100
From: "alan buckley" <alan_baa@hotmail.com>
Subject: Modification for RISC OS SDL port

My name is Alan Buckley and I have been working on the RISC OS SDL port.

I've attached a modification to SDL_WimpVideo.c to this email that ensures
the Window is displayed immediately when the video mode is set to a windowed
mode.