SDL2/test
Sam Lantinga fc3f393af6 SDL_RenderReadPixels() needs to flush asynchronous operations before it reads.
The semantics are that it reads the back buffer, and those pixels may not be available once SDL_RenderPresent() has happened.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404207
2009-11-21 05:05:19 +00:00
..
automated SDL_RenderReadPixels() needs to flush asynchronous operations before it reads. 2009-11-21 05:05:19 +00:00
nds-test-progs Date: Fri, 19 Dec 2008 20:17:35 +0100 2008-12-20 12:00:00 +00:00
.gdbinit Initial revision 2001-04-26 16:45:43 +00:00
acinclude.m4 Don't add NONE/bin to the path - inexplicably fixes building on mingw+msys, apparently 2006-05-01 07:23:46 +00:00
autogen.sh Added yet another variant of autoconf to the list 2006-05-15 06:39:10 +00:00
checkkeys.c Show integer scancode, since that's how it's defined in the header. 2008-02-10 17:29:23 +00:00
common.c Support for GL initialization parameters has been added. 2009-10-21 14:51:42 +00:00
common.h Support for GL initialization parameters has been added. 2009-10-21 14:51:42 +00:00
configure.in Whoops, this breaks building on Mac OS X 10.4 2009-09-22 02:20:56 +00:00
COPYING Updated the source with the correct e-mail address 2001-12-14 12:38:15 +00:00
gcc-fat.sh Fat test programs! :) 2006-05-09 16:10:04 +00:00
graywin.c SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
icon.bmp Switched data files to binary format 2003-11-24 00:21:24 +00:00
loopwave.c Use new 1.3 API for getting audio driver name. 2009-10-10 06:39:59 +00:00
Makefile.in Automatically initialize the video system and create a renderer to simplify use. 2009-10-28 06:04:07 +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 Fixed bug #681 2009-02-17 05:44:49 +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 Removed unused function 2008-12-02 16:10:21 +00:00
testatomic.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testaudioinfo.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testbitmap.c Fixed potential crash in testbitmap 2009-03-22 06:56:37 +00:00
testblitspeed.c Final merge of Google Summer of Code 2008 work... 2008-08-27 15:10:03 +00:00
testcursor.c Default video mode has been changed from 320x200 to 640x480, since fullscreen 320x200 is often unavailable. 2009-04-28 04:41:25 +00:00
testdraw2.c Call CommonQuit() at exit has been added. 2009-10-10 13:22:05 +00:00
testdyngl.c Added renderer information for dynamic OpenGL test 2009-09-28 15:32:19 +00:00
testdyngles.c Optimizations. 2009-10-22 06:07:05 +00:00
testerror.c SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
testfile.c Final merge of Google Summer of Code 2008 work... 2008-10-04 06:46:59 +00:00
testgamma.c SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
testgl2.c Fixed compile error 2009-10-28 06:08:48 +00:00
testgl.c Final merge of Google Summer of Code 2008 work... 2008-08-25 06:33:00 +00:00
testgles.c Support for GL initialization parameters has been added. 2009-10-21 14:51:42 +00:00
testhaptic.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testhread.c Fixed Bugzilla bug #205 2008-11-24 00:18:42 +00:00
testiconv.c Fix for bug #447 merged from SDL 1.2 2007-07-04 08:01:04 +00:00
testime.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testintersections.c Call CommonQuit() at exit has been added. 2009-10-10 13:22:05 +00:00
testjoystick.c Final merge of Google Summer of Code 2008 work... 2008-10-04 06:46:59 +00:00
testkeys.c Fixed compile errors 2008-02-07 16:00:29 +00:00
testloadso.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testlock.c Fixed Bugzilla bug #205 2008-11-24 00:18:42 +00:00
testmmousetablet.c int testmmousetable.c the arguments to main() are not compatible with what is required in SDL_main.h 2009-09-23 02:52:11 +00:00
testmultiaudio.c Date: Mon, 23 Mar 2009 09:17:24 +0200 2009-03-24 10:33:12 +00:00
testnative.c Implemented Win32 version of the native window test 2009-02-09 06:41:49 +00:00
testnative.h More of the same 2009-02-09 06:42:38 +00:00
testnativecocoa.m Added test program for SDL_CreateWindowFrom() 2009-02-09 05:32:12 +00:00
testnativew32.c indent 2009-02-17 05:57:54 +00:00
testnativex11.c Added test program for SDL_CreateWindowFrom() 2009-02-09 05:32:12 +00:00
testoverlay2.c Okay, still some bugs, but everything builds again... 2007-08-18 05:39:09 +00:00
testoverlay.c Okay, still some bugs, but everything builds again... 2007-08-18 05:39:09 +00:00
testpalette.c Fixed palette sharing 2008-12-07 22:56:18 +00:00
testplatform.c Fixed bug #777 2009-09-26 10:32:14 +00:00
testpower.c indent 2009-06-10 13:34:20 +00:00
testresample.c indent 2009-01-14 04:25:32 +00:00
testsem.c SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
testsprite2.c Fall back to opaque sprite if no formats with alpha are supported. 2009-09-20 23:09:30 +00:00
testsprite.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testspriteminimal.c Automatically initialize the video system and create a renderer to simplify use. 2009-10-28 06:04:07 +00:00
testtimer.c SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
testver.c Fine tuned revision code, updated testver 2009-01-04 05:27:13 +00:00
testvidinfo.c Added current_w and current_h to SDL_VideoInfo for SDL 1.2 compatibility 2008-12-12 06:46:20 +00:00
testwin.c You can't use memset() on screen formats with an alpha channel 2008-12-02 16:09:58 +00:00
testwm2.c Fixed bug #817 2009-10-04 09:55:20 +00:00
testwm.c This code adds support for DirectColor visuals to SDL 1.3. The support uses part of the Xmu library. To ensure that the library is 2007-07-12 20:00:50 +00:00
threadwin.c Merged r3059:3060 from branches/SDL-1.2: output key event's keysym. 2007-06-13 06:05:39 +00:00
torturethread.c SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
utf8.txt Updated by Ryan Gordon 2006-03-13 16:56:01 +00:00

These are test programs for the SDL library:

	checkkeys	Watch the key events to check the keyboard
	graywin		Display a gray gradient and center mouse on spacebar
	loopwave	Audio test -- loop playing a WAV file
	testalpha	Display an alpha faded icon -- paint with mouse
	testaudioinfo	Lists audio device capabilities
	testbitmap	Test displaying 1-bit bitmaps
	testblitspeed	Tests performance of SDL's blitters and converters.
	testcdrom	Sample audio CD control program
	testcursor	Tests custom mouse cursor
	testdyngl	Tests dynamically loading OpenGL library
	testerror	Tests multi-threaded error handling
	testfile	Tests RWops layer
	testgamma	Tests video device gamma ramp
	testgl		A very simple example of using OpenGL with SDL
	testgl2		An even simpler example using the SDL 1.3 API
	testhread	Hacked up test of multi-threading
	testiconv	Tests international string conversion
	testjoystick	List joysticks and watch joystick events
	testkeys	List the available keyboard keys
	testloadso	Tests the loadable library layer
	testlock	Hacked up test of multi-threading and locking
	testmultiaudio	Tests using several audio devices
	testoverlay	Tests the software/hardware overlay functionality.
	testoverlay2	Tests the overlay flickering/scaling during playback.
	testpalette	Tests palette color cycling
	testplatform	Tests types, endianness and cpu capabilities
	testsem		Tests SDL's semaphore implementation
	testsprite	Example of fast sprite movement on the screen
	testsprite2	Improved version of testsprite
	testtimer	Test the timer facilities
	testver		Check the version and dynamic loading and endianness
	testvidinfo	Show the pixel format of the display and perfom the benchmark
	testwin		Display a BMP image at various depths
	testwm		Test window manager -- title, icon, events
	testwm2		Improved version of testwm
	threadwin	Test multi-threaded event handling
	torturethread	Simple test for thread creation/destruction