Commit Graph

134 Commits

Author SHA1 Message Date
Sam Lantinga
bc35de2e30 Implemented bug #5
Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
2006-04-27 08:39:51 +00:00
Sam Lantinga
2a622cd891 Implemented bug #2, 117:
Date: Mon, 21 Mar 2005 12:06:14 +0100
From: Per Inge Mathisen
Subject: Re: [SDL] Outstanding patches?

The patch adds support for setting SDL_GL_SWAP_CONTROL to Windows and
X11. In Windows you can also query this enum to check that it is
working, or see what the default is - such functionality does not
exist in GLX. For more information on the standards implemented:
http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt
http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
2006-04-27 07:59:16 +00:00
Sam Lantinga
60b9732963 subversion conversion complete! 2006-04-26 20:30:11 +00:00
Sam Lantinga
b57d5c3424 Fixed bug #189
Clip the overlay destination rectangle to the screen area on X11
2006-04-17 05:38:33 +00:00
Sam Lantinga
b0519469db Fixes bug #195:
The proper name of Apple's operating system is "Mac OS X" not "MacOS X", as can
bee seen in many places, for example http://www.apple.com/macosx/). This
contrasts the naming of the old operating system, which was called "MacOS" and
today is often refered to as "MacOS Classic".

The attached patches fixes the misuse of the name "MacOS X" in both the SDL12
and sdlweb CVS modules.
2006-04-13 13:08:26 +00:00
Sam Lantinga
d399ca9ce4 *** empty log message *** 2006-04-12 14:25:29 +00:00
Sam Lantinga
62dac2c788 Ugh, more 64-bit cleanup 2006-03-31 06:27:47 +00:00
Sam Lantinga
8043ef85fd Show an error message if autoconf isn't found 2006-03-21 07:02:34 +00:00
Sam Lantinga
351eafeef7 Fall back to autogen259 if autogen isn't available 2006-03-21 06:54:24 +00:00
Sam Lantinga
b4a7fb3471 Fixed bug #166
From the autoconf obsolete macros documentation:
Macro: AC_CANONICAL_SYSTEM

    Determine the system type and set output variables to the names of the canonical system types. See section Getting the Canonical System Type, for details about the variables this macro sets.

    The user is encouraged to use either AC_CANONICAL_BUILD, or AC_CANONICAL_HOST, or AC_CANONICAL_TARGET, depending on the needs. Using AC_CANONICAL_TARGET is enough to run the two other macros.

From the documentation for the canonical environments:
case $target in
i386-*-mach* | i386-*-gnu*)
             obj_format=aout emulation=mach bfd_gas=yes ;;
i960-*-bout) obj_format=bout ;;
esac

Note that the above example uses $target because it's taken from a tool which can be built on some architecture ($build), run on another ($host), but yet handle data for a third architecture ($target). Such tools are usually part of a compiler suite, they generate code for a specific $target.

However $target should be meaningless for most packages. If you want to base a decision on the system where your program will be run, make sure you use the $host variable.
2006-03-19 05:27:22 +00:00
Sam Lantinga
e9e9f43bc0 Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)
2006-03-15 17:46:41 +00:00
Sam Lantinga
04576001ed The check for UTF-* isn't needed anymore since UTF-8 has the same code range. 2006-03-14 07:45:15 +00:00
Sam Lantinga
d9374eb0ea Updated by Ryan Gordon 2006-03-13 16:56:01 +00:00
Sam Lantinga
9e352303d7 Updated MacOS Classic build 2006-03-13 05:36:42 +00:00
Sam Lantinga
a4aafdfe5d *** empty log message *** 2006-03-13 01:20:05 +00:00
Sam Lantinga
992d5b4402 UTF-32 by definition can't handle characters higher than 0x10FFFF 2006-03-13 01:16:16 +00:00
Sam Lantinga
48c546dc44 Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability 2006-03-13 01:08:00 +00:00
Sam Lantinga
e68111fb08 Blah 2006-03-12 01:47:23 +00:00
Sam Lantinga
3169ca4c13 Might have fixed 64-bit issues. :) 2006-03-11 22:54:12 +00:00
Sam Lantinga
cbdcbbf82c *** empty log message *** 2006-03-08 08:31:08 +00:00
Sam Lantinga
339f03befc Added documentation on how to build a completely useless SDL library. :) 2006-03-08 08:30:17 +00:00
Sam Lantinga
223544e90d Updated WinCE support by Dmitry (with some tweaks)
Converted the disk audio driver to SDL_RWops for portability
2006-03-04 08:24:35 +00:00
Sam Lantinga
c761cb162a *** empty log message *** 2006-03-03 04:43:42 +00:00
Sam Lantinga
abbc4d7fbd Whoops, missed one 2006-02-27 21:17:12 +00:00
Sam Lantinga
ec7cfdfea1 Date: Mon, 27 Feb 2006 17:01:43 +0100
From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: standard win32 SDL.DLL file test [patch]

I found a bug or two in previous patch, so here is a patch to correct this.
2006-02-27 19:19:22 +00:00
Sam Lantinga
aaf71291d0 Updated OS/2 build, yay! 2006-02-26 19:30:21 +00:00
Sam Lantinga
f8adcc6ef8 Passing a NULL GL library does the right thing nowadays. 2006-02-26 13:40:26 +00:00
Sam Lantinga
1abf1b3fc2 Fixed warnings in -pedantic mode 2006-02-26 05:02:14 +00:00
Sam Lantinga
bd3a6921d1 Use the right dynamic GL on MacOS Classic 2006-02-26 03:51:08 +00:00
Sam Lantinga
cdf2e8909f Date: Sat, 25 Feb 2006 14:26:19 +0100 (CET)
From: "Torsten Giebl"
Subject: [SDL] testpalette.diff

To get rid of Mousecursor Fullscreen problems on Mac OSX.
2006-02-25 15:01:44 +00:00
Sam Lantinga
7e11ec69f9 Updated MacOS Classic MPW build 2006-02-24 09:57:14 +00:00
Sam Lantinga
37049ba983 testplatform replaces testtypes, testendian, and testcpuinfo 2006-02-24 06:49:31 +00:00
Sam Lantinga
65825dce1d Added a test case 2006-02-21 09:11:53 +00:00
Sam Lantinga
190b425364 Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
2006-02-21 08:46:50 +00:00
Sam Lantinga
42eb2c0afa Tests require SDL 1.2.10 2006-02-20 10:19:47 +00:00
Sam Lantinga
9aaf977aff Pick the right default GL library on IRIX 2006-02-20 10:19:22 +00:00
Sam Lantinga
65aa0aef4d Completely removed dependency on automake 2006-02-20 02:09:49 +00:00
Sam Lantinga
49255e3fa6 Fixes for BeOS and Solaris builds 2006-02-17 08:43:23 +00:00
Sam Lantinga
937467e40a Added some useful command line arguments for testing 2006-01-29 23:06:05 +00:00
Sam Lantinga
50f352e421 *** empty log message *** 2006-01-29 08:19:27 +00:00
Sam Lantinga
3ac3d4eb74 Report both absolute and relative motion 2006-01-29 08:18:56 +00:00
Sam Lantinga
cefbe73b27 Date: Mon, 22 Sep 2003 23:31:54 -0700 (PDT)
From: Rob Neff
Subject: [SDL] testgl.c minor bug fix for fullscreen mode

from:

  if ( strcmp(argv[1], "-fullscreen") == 0 ) {

to:

  if ( strcmp(argv[i], "-fullscreen") == 0 ) {


Minor bug, but might help someone else out who is trying to pass
the command-line params -logo -fullscreen like I was! :)
2006-01-25 07:04:02 +00:00
Sam Lantinga
7a839d1e03 Implemented ToUnicode() support on Windows 95/98/ME/NT/2000/XP
This is a collaborative effort between Alex Volkov and John Popplewell.
Thanks guys!  (Fixes bug #39)
2006-01-19 09:09:32 +00:00
Sam Lantinga
84b606910a *** empty log message *** 2006-01-19 05:34:24 +00:00
Ryan C. Gordon
d9f58b2f88 testblitspeed.c improvements: cleaned up output, and allow user to set surface
alpha attributes.
2006-01-05 16:37:46 +00:00
Ryan C. Gordon
6ae4d895ed Toggle flip debugging in testsprite.c on the command line, not as a hardcoded
#define.

--ryan.
2006-01-02 08:07:41 +00:00
Ryan C. Gordon
406ef7dae9 OS/2 port!
This was mostly, if not entirely, written by "Doodle" and "Caetano":
    doodle@scenergy.dfmk.hu
    daniel@caetano.eng.br

--ryan.
2005-11-23 07:29:56 +00:00
Ryan C. Gordon
8d582813e0 Fixed compiler warnings in Watcom C. 2005-10-03 08:12:32 +00:00
Ryan C. Gordon
1153e32122 Updates to PocketPC (WinCE) support, thanks to Dmitry Yakimov at
activekitten.com.
2005-09-29 09:43:00 +00:00
Ryan C. Gordon
6f65a3b4b8 Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe
if SDL is built with a non-cdecl calling convention, and it's just generally
 bad practice anyhow.

Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in
 a cdecl function where it can't be avoided, and rely on the parachute where
 a crash might have hit the atexit() before (these ARE test programs, after
 all!).
2005-09-28 11:36:20 +00:00