SDL-mirror/test
Sam Lantinga d3c3bef835 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40822
2004-02-14 20:22:21 +00:00
..
.cvsignore *** empty log message *** 2004-02-13 18:01:22 +00:00
.gdbinit Initial revision 2001-04-26 16:45:43 +00:00
acinclude.m4 Updated for the latest version of automake 2004-01-29 16:14:09 +00:00
autogen.sh Initial revision 2001-04-26 16:45:43 +00:00
checkkeys.c Fixed a crash bug in checkkeys.c (thanks John!) 2002-09-16 06:21:23 +00:00
config.guess Added MacOS X Project Builder projects 2001-06-10 18:20:23 +00:00
config.sub Added MacOS X Project Builder projects 2001-06-10 18:20:23 +00:00
configure.in *** empty log message *** 2004-01-31 06:49:18 +00:00
COPYING Updated the source with the correct e-mail address 2001-12-14 12:38:15 +00:00
graywin.c Date: Fri, 15 Aug 2003 09:13:59 +0300 2003-08-23 23:18:49 +00:00
icon.bmp Switched data files to binary format 2003-11-24 00:21:24 +00:00
install-sh Initial revision 2001-04-26 16:45:43 +00:00
loopwave.c Initial revision 2001-04-26 16:45:43 +00:00
Makefile.am Actually hook the cpuinfo module into the library. :) 2003-11-18 02:16:57 +00:00
missing Updated libtool support so Mingw32 builds work. 2003-10-06 07:13:16 +00:00
mkinstalldirs Initial revision 2001-04-26 16:45:43 +00:00
moose.dat Date: Mon, 28 Jul 2003 18:30:50 +0300 2003-08-08 21:31:18 +00:00
picture.xbm Initial revision 2001-04-26 16:45:43 +00:00
README Initial revision 2001-04-26 16:45:43 +00:00
sail.bmp Switched data files to binary format 2003-11-24 00:21:24 +00:00
sample.bmp Switched data files to binary format 2003-11-24 00:21:24 +00:00
sample.wav Switched data files to binary format 2003-11-24 00:21:24 +00:00
testalpha.c Date: Fri, 15 Aug 2003 09:13:59 +0300 2003-08-23 23:18:49 +00:00
testbitmap.c Date: Fri, 15 Aug 2003 09:13:59 +0300 2003-08-23 23:18:49 +00:00
testcdrom.c Added MacOS X CD-ROM audio support (thanks Max and Darrell) 2003-04-15 16:33:56 +00:00
testcpuinfo.c Fixed bugs in CPU feature detection and added extended feature detection 2004-01-24 05:47:19 +00:00
testerror.c Initial revision 2001-04-26 16:45:43 +00:00
testgamma.c Initial revision 2001-04-26 16:45:43 +00:00
testgl.c Merged in Ryan's multisample code for MacOS, and changed the constants to match. 2003-07-22 15:33:28 +00:00
testhread.c Initial revision 2001-04-26 16:45:43 +00:00
testjoystick.c Initial revision 2001-04-26 16:45:43 +00:00
testkeys.c Initial revision 2001-04-26 16:45:43 +00:00
testlock.c Initial revision 2001-04-26 16:45:43 +00:00
testoverlay.c IRIX patches from Andrea Suatoni 2003-03-06 06:12:41 +00:00
testoverlay2.c Date: Thu, 4 Dec 2003 07:48:40 +0200 2003-12-10 12:35:56 +00:00
testpalette.c Initial revision 2001-04-26 16:45:43 +00:00
testsem.c Initial revision 2001-04-26 16:45:43 +00:00
testsprite.c Date: Thu, 4 Dec 2003 07:48:40 +0200 2003-12-10 12:35:56 +00:00
testtimer.c Date: Wed, 26 Nov 2003 01:52:02 +0800 2004-01-04 15:48:44 +00:00
testtypes.c Added initial support for Quartz video (thanks Darrell!) 2001-06-07 14:28:11 +00:00
testver.c Initial revision 2001-04-26 16:45:43 +00:00
testvidinfo.c Date: Sat, 14 Feb 2004 14:52:40 +0200 2004-02-14 20:22:21 +00:00
testwin.c Give more info about the current video mode 2001-11-04 04:18:05 +00:00
testwm.c *** empty log message *** 2003-03-22 17:39:26 +00:00
threadwin.c Added some code to toggle fullscreen and input grab for testing... --ryan. 2002-12-20 03:37:28 +00:00
torturethread.c Initial revision 2001-04-26 16:45:43 +00:00

These are test programs for the SDL library:

	testver		Check the version and dynamic loading and endianness
	testtypes	Check to see if the data types are the correct size
	testhread	Hacked up test of multi-threading
	testlock	Hacked up test of multi-threading and locking
	testerror	Tests multi-threaded error handling
	testsem		Tests SDL's semaphore implementation
	testtimer	Test the timer facilities
	loopwave	Audio test -- loop playing a WAV file
	testcdrom	Sample audio CD control program
	testkeys	List the available keyboard keys
	testvidinfo	Show the pixel format of the display
	checkkeys	Watch the key events to check the keyboard
	testwin		Display a BMP image at various depths
	graywin		Display a gray gradient and center mouse on spacebar
	testsprite	Example of fast sprite movement on the screen
	testbitmap	Test displaying 1-bit bitmaps
	testalpha	Display an alpha faded icon -- paint with mouse
	testwm		Test window manager -- title, icon, events
	threadwin	Test multi-threaded event handling
	testgl		A very simple example of using OpenGL with SDL
	testjoystick	List joysticks and watch joystick events