Commit Graph

113 Commits

Author SHA1 Message Date
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
Ryan C. Gordon
a89d11c266 From Patrice Mandin:
"Just a request about test subdirectory: the autotools files
(config.guess, config.sub, etc...) are a bit outdated, and I have to
update them for my cross-compilation party. So it would be nice to
have these updated.

...

Just removing these files works, because then configure will use
those of SDL's topdir. Could someone else check this, just to be sure?
i.e. remove config.guess, config.sub, install-sh and mkinstalldirs from
test subdir."


I tested on Linux and MacOSX...seems to be safe, so I'm nuking the files.

--ryan.
2005-08-20 21:39:06 +00:00
Ryan C. Gordon
54d5471cf7 Added testblitspeed to aid in profiling of SDL's blitters. 2005-02-15 11:50:33 +00:00
Sam Lantinga
12274bb72e Date: Sat, 15 Jan 2005 15:06:01 -0600
From: Tyler Montbriand
Subject: [SDL] minor bugfix for test/testoverlay2.c

Programs that use malloc ought to #include <stdlib.h> .  On 32-bit systems you
can get away with not including it, but on 64-bit systems it will assume
malloc() returns a 32-bit integer and butcher the 64-bit pointers it returns.
2005-01-18 18:32:10 +00:00
Patrice Mandin
9f98662ee6 Final touches to OSMesa OpenGL support on Atari, using loadable libraries. Hope SDL 1.2.8 is out soon. 2004-11-26 16:16:50 +00:00
Patrice Mandin
8caa9e226d Restore everything when a function pointer is NULL 2004-11-26 16:13:24 +00:00
Patrice Mandin
c06c18e45f Add missing --add-missing 2004-11-20 20:57:28 +00:00
Patrice Mandin
032ec82e08 sdl-config already provides needed libs for MiNT build 2004-11-20 20:56:23 +00:00
Patrice Mandin
67968b56f4 Add support for OpenGL on Atari using OSMesa, the offscreen rendering driver from Mesa 2004-11-17 23:13:15 +00:00
Sam Lantinga
c228b93933 *** empty log message *** 2004-08-21 13:49:22 +00:00
Sam Lantinga
11edfddf36 Added an option to show the logo at the cursor position for debugging 2004-08-20 22:33:11 +00:00
Sam Lantinga
ddf57c3389 Date: Sat, 26 Jun 2004 14:58:42 +0300
From: "Mike Gorchak"
Subject: QNX 6.3 fixes for SDL

Sam, I've added new OpenGL framework for SDL, which appeared in the new QNX version - 6.3. I've leave compatibility with previous QNX versions. And I've moved all GL specific functions to the separate module, like it done for the other platforms.

SDL is now ready for the QNX 6.3 :)
2004-07-18 19:46:38 +00:00
Sam Lantinga
356c197ebd Date: Sat, 24 Apr 2004 15:13:32 +0300
From: "Mike Gorchak"
Subject: SDL updates for the QNX6

1. Updated the README.QNX
2. Updated libtool scripts, which are shipped with SDL for QNX6 support.
3. Added some code to support the new QNX 6.3.0, which is in beta now.
4. Added code to detect the hw features, which driver supports.
5. Added hw alpha blits code.
6. Fixed bug when application switches to fullscreen more the 2 times. (afte\
r that window becames always stay on top).
7. Updated a bit README for the tests.
8. Added information about acceleration show in the testalpha.c test.
9. Added small fixes to the testoverlay2.c test.
10. Added alpha and cc+alpha blits benchmarks to the testvidinfo.c test.
2004-05-06 15:55:06 +00:00
Sam Lantinga
e073227440 Date: Wed, 28 Apr 2004 16:52:41 -0400
From: "Damien A"
Subject: testdyngl fix

The test program you included in the latest version of SDL crashes on startup in Window (XP). The reason for this is that OpenGL functions on Windows use the __stdcall calling convention, not the C convention.  Placing APIENTRY infront of the * operator solves this problem.
2004-04-30 18:33:30 +00:00
Sam Lantinga
760068f108 Added an endian detection and byte swapping test program 2004-02-23 08:03:14 +00:00
Sam Lantinga
2099bf54a1 *** empty log message *** 2004-02-21 00:21:06 +00:00
Sam Lantinga
f242b7e778 Load the correct library on Windows 2004-02-17 22:04:44 +00:00
Sam Lantinga
97b5d3bc6e Added a test program for dynamically loading OpenGL 2004-02-17 18:16:49 +00:00
Sam Lantinga
7a4c5b56dc Showed how to toggle fullscreen mode if the API isn't supported 2004-02-15 20:31:27 +00:00
Sam Lantinga
ace2ddf090 Date: Sat, 14 Feb 2004 14:52:40 +0200
From: "Mike Gorchak"
Subject: Batch of the QNX6 fixes for the SDL

1.  Updated readme.QNX
2.  Fixed crashes during intensive window updating under fast machines (got over 200 rectangles for update).
3.  Fixed double-buffered fullscreen modes, now it works as needed.
4.  Fixed Photon detection algorithm.
5.  Fixed HWSURFACE update function.
6.  Added SDL_PHOTON_FULLSCREEN_REFRESH environment variable support for control refresh rates under Photon.
7.  Added 640x400 fullscreen mode emulation via 640x480 (if videodriver not supports original 640x400 mode of course) shifted by 40 vertical pixels from begin, to center it. It's needed for some old DOS games which ran in doubled 320x200 mode.
8.  Added available video ram amount support.
8.  Added hardware surface allocation/deallocation support if current videomode and videodriver supports it.
9.  Added hardware filling support.
10. Added hardware blits support (simple and colorkeyed).

And I've added to testvidinfo test color-keyed blits benchmark (maybe need to add alpha blits benchmark too ?). Currently Photon not supporting any alpha hardware blittings (all drivers lack of alpha blitting code support, only software alpha blitting exist in photon, which is hundreds times slowest than the SDL's one). So I've not added the alpha support. I suppose new QNX 6.3 will have the hardware alpha support, so when it will be done, I'll add alpha support.
2004-02-14 20:22:21 +00:00
Sam Lantinga
94f82d4c27 *** empty log message *** 2004-02-13 18:01:22 +00:00
Sam Lantinga
4e8eff824f *** empty log message *** 2004-01-31 06:49:18 +00:00