Sam Lantinga 7d94121606 You should call present when using a software renderer as well. 2 tahun lalu
..
emscripten fe40a17224 Initial merge of Emscripten port! 11 tahun lalu
n3ds 655275378d N3DS port (squashed) 3 tahun lalu
nacl 5298830945 Fixed bug 3480 - minor update to NACL common.js 9 tahun lalu
shapes 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
CMakeLists.txt 0134672345 cmake: copy sources to binary directory in separate target 2 tahun lalu
COPYING 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
Makefile.in d9559ce1d4 Added subsystem refcount tests to testautomation 2 tahun lalu
Makefile.os2 bc87983310 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles 3 tahun lalu
Makefile.w32 bc87983310 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles 3 tahun lalu
README cd66c050fe testsurround: Add surround sound channel tester 4 tahun lalu
acinclude.m4 db01016dd6 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 tahun lalu
autogen.sh 163f669745 minor tidy-up to configury. 3 tahun lalu
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. 9 tahun lalu
button.bmp 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
checkkeys.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
checkkeysthreads.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
configure db01016dd6 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 tahun lalu
configure.ac db01016dd6 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 tahun lalu
controllermap.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons 5 tahun lalu
controllermap.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
controllermap_back.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons 5 tahun lalu
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
loopwave.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
loopwavequeue.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
moose.dat 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
relative_mode.markdown bd61c276fa Fixed compiling test with older C. 11 tahun lalu
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
sample.wav 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
template.test.in ce502054ad test: Install GNOME-style installed-tests metadata 3 tahun lalu
testatomic.c ba0c270c7a Removed invalid assert in testatomic 2 tahun lalu
testaudiocapture.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testaudiohotplug.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testaudioinfo.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testautomation.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testautomation_audio.c d2a2787783 Fix remaining -Wimplicit-fallthrough warnings 3 tahun lalu
testautomation_clipboard.c a6ba8a1585 Removed spurious casts 2 tahun lalu
testautomation_events.c b8d85c6939 Update for SDL3 coding style (#6717) 3 tahun lalu
testautomation_guid.c 7f7ea909bc testautomation_guid.c: fix integer warning in 32 bit builds. 2 tahun lalu
testautomation_hints.c b8d85c6939 Update for SDL3 coding style (#6717) 3 tahun lalu
testautomation_joystick.c b8d85c6939 Update for SDL3 coding style (#6717) 3 tahun lalu
testautomation_keyboard.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testautomation_main.c b8d85c6939 Update for SDL3 coding style (#6717) 3 tahun lalu
testautomation_math.c fcae9cd210 cmake: build with -Wdocumentation 2 tahun lalu
testautomation_mouse.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testautomation_pixels.c 67eb03400a Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2 tahun lalu
testautomation_platform.c d0bbfdbfb8 Clang-Tidy fixes (#6725) 3 tahun lalu
testautomation_rect.c d0bbfdbfb8 Clang-Tidy fixes (#6725) 3 tahun lalu
testautomation_render.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testautomation_rwops.c d0bbfdbfb8 Clang-Tidy fixes (#6725) 3 tahun lalu
testautomation_sdltest.c d0bbfdbfb8 Clang-Tidy fixes (#6725) 3 tahun lalu
testautomation_stdlib.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testautomation_subsystems.c d9559ce1d4 Added subsystem refcount tests to testautomation 2 tahun lalu
testautomation_suites.h d9559ce1d4 Added subsystem refcount tests to testautomation 2 tahun lalu
testautomation_surface.c 67eb03400a Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2 tahun lalu
testautomation_syswm.c b8d85c6939 Update for SDL3 coding style (#6717) 3 tahun lalu
testautomation_timer.c b8d85c6939 Update for SDL3 coding style (#6717) 3 tahun lalu
testautomation_video.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testbounds.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testcustomcursor.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testdisplayinfo.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testdraw2.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testdrawchessboard.c 7d94121606 You should call present when using a software renderer as well. 2 tahun lalu
testdropfile.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testerror.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testevdev.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testfile.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testfilesystem.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testfilesystem_pre.c 92dc226018 cmake: make sure SDL_GetPrefPath is run before testfilesystem 2 tahun lalu
testgamecontroller.c 2d81beb819 Show the mapping used when a game controller is opened 2 tahun lalu
testgeometry.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testgesture.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testgl2.c d8102bf660 x11: Deal with difference in GLX_EXT_swap_control_tear behavior. 2 tahun lalu
testgles.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testgles2.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testgles2_sdf.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 tahun lalu
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 tahun lalu
testhaptic.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testhittesting.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testhotplug.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testiconv.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testime.c d81d986858 cmake: fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testintersections.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testjoystick.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testkeys.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testloadso.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testlocale.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testlock.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testmessage.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testmouse.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testmultiaudio.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testnative.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testnative.h 0479df53ca Updated copyright for 2023 3 tahun lalu
testnativecocoa.m 3e341021c3 fixed typo in prev. patch. 2 tahun lalu
testnativeos2.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testnativew32.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testnativex11.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testoffscreen.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testoverlay2.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testplatform.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testpower.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testqsort.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testrelative.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testrendercopyex.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testrendertarget.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testresample.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testrumble.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testscale.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testsem.c 0d76380042 Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 3 tahun lalu
testsensor.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testshader.c cb5b8c9747 testshader: Don't make local variables with the same name as GL entry points. 2 tahun lalu
testshape.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testsprite2.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testspriteminimal.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
teststreaming.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testsurround.c 03c239ded9 testsurround: fix channel names 3 tahun lalu
testthread.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testtimer.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testurl.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testutils.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testutils.h a4ad293d4a Relicensed testutils to match other test code 2 tahun lalu
testver.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testviewport.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testvulkan.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testwm2.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 8 tahun lalu
testyuv.c a14b948b6c [SDL2] pointer boolean (#8523) 2 tahun lalu
testyuv_cvt.c 0479df53ca Updated copyright for 2023 3 tahun lalu
testyuv_cvt.h 0479df53ca Updated copyright for 2023 3 tahun lalu
torturethread.c 0d76380042 Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 3 tahun lalu
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 4 tahun lalu
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 4 tahun lalu
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
watcom.mif d9559ce1d4 Added subsystem refcount tests to testautomation 2 tahun lalu

README


These are test programs for the SDL library:

checkkeys Watch the key events to check the keyboard
loopwave Audio test -- loop playing a WAV file
loopwavequeue Audio test -- loop playing a WAV file with SDL_QueueAudio
testsurround Audio test -- play test tone on each audio channel
testaudioinfo Lists audio device capabilities
testerror Tests multi-threaded error handling
testfile Tests RWops layer
testgl2 A very simple example of using OpenGL with SDL
testiconv Tests international string conversion
testjoystick List joysticks and watch joystick events
testkeys List the available keyboard keys
testloadso Tests the loadable library layer
testlocale Test Locale API
testlock Hacked up test of multi-threading and locking
testmouse Tests mouse coordinates
testmultiaudio Tests using several audio devices
testoverlay2 Tests the overlay flickering/scaling during playback.
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testshape Tests shaped windows
testsprite2 Example of fast sprite movement on the screen
testthread Hacked up test of multi-threading
testtimer Test the timer facilities
testver Check the version and dynamic loading and endianness
testwm2 Test window manager -- title, icon, events
torturethread Simple test for thread creation/destruction
controllermap Useful to generate Game Controller API compatible maps



This directory contains sample.wav, which is a sample from Will Provost's
song, The Living Proof:

From the album The Living Proof
Publisher: 5 Guys Named Will
Copyright 1996 Will Provost

You can get a copy of the full song (and album!) from iTunes...

https://itunes.apple.com/us/album/the-living-proof/id4153978

or Amazon...

http://www.amazon.com/The-Living-Proof-Will-Provost/dp/B00004R8RH

Thanks to Will for permitting us to distribute this sample with SDL!