Sam Lantinga 00fc50557e Make sure logical presentation is complete before destroying the logical render target hai 1 ano
..
emscripten fe40a17224 Initial merge of Emscripten port! %!s(int64=10) %!d(string=hai) anos
n3ds 655275378d N3DS port (squashed) %!s(int64=2) %!d(string=hai) anos
shapes 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
CMakeLists.txt b4291412a4 tests: build tests with C90 standard hai 1 ano
COPYING 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
README 1d956c2817 Rename SDL2 tests for SDL3 %!s(int64=2) %!d(string=hai) anos
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. %!s(int64=8) %!d(string=hai) anos
button.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
checkkeys.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
checkkeysthreads.c b4291412a4 tests: build tests with C90 standard hai 1 ano
gamepadmap.bmp 659abc721a SDL API renaming: SDL_gamecontroller.h %!s(int64=2) %!d(string=hai) anos
gamepadmap.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
gamepadmap_back.bmp 659abc721a SDL API renaming: SDL_gamecontroller.h %!s(int64=2) %!d(string=hai) anos
icon.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
loopwave.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
loopwavequeue.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
main.cpp 28b93451dc Make WinRT's SDL_main header-only %!s(int64=2) %!d(string=hai) anos
moose.dat 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
picture.xbm 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. %!s(int64=2) %!d(string=hai) anos
sample.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
sample.wav 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests %!s(int64=2) %!d(string=hai) anos
testatomic.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention %!s(int64=2) %!d(string=hai) anos
testaudiocapture.c 079ae065f1 Added SDL prefix AUDIO_* constants %!s(int64=2) %!d(string=hai) anos
testaudiohotplug.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testaudioinfo.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testaudiostreamdynamicresample.c b4291412a4 tests: build tests with C90 standard hai 1 ano
testautomation.c bbdde648d8 Android: let main return normally for testautomation %!s(int64=2) %!d(string=hai) anos
testautomation_audio.c 079ae065f1 Added SDL prefix AUDIO_* constants %!s(int64=2) %!d(string=hai) anos
testautomation_clipboard.c 3bd5e5ca3c Removed spurious casts hai 1 ano
testautomation_events.c 2c3717881f testautomation_events.c: initialize "timestamp" to solve "conditional jump or move depends on uninitialised value" hai 1 ano
testautomation_guid.c e9e4a9175f testautomation_guid.c: fix integer warning in 32 bit builds. hai 1 ano
testautomation_hints.c 0f24956b0a testautomation_hints.c: free hint memory hai 1 ano
testautomation_images.c c963f02571 More fix warnings about static function and prototype %!s(int64=2) %!d(string=hai) anos
testautomation_images.h 4053876bf6 Fix warning drop const qualifier %!s(int64=2) %!d(string=hai) anos
testautomation_intrinsics.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined %!s(int64=2) %!d(string=hai) anos
testautomation_joystick.c c963f02571 More fix warnings about static function and prototype %!s(int64=2) %!d(string=hai) anos
testautomation_keyboard.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) %!s(int64=2) %!d(string=hai) anos
testautomation_main.c c963f02571 More fix warnings about static function and prototype %!s(int64=2) %!d(string=hai) anos
testautomation_math.c 2e465ae31b Revert "Added SDL_nextafter() and SDL_nextafterf()" hai 1 ano
testautomation_mouse.c c963f02571 More fix warnings about static function and prototype %!s(int64=2) %!d(string=hai) anos
testautomation_pixels.c e264bb5178 Rename SDL_PIXELFORMAT_RGB888 and SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XRGB8888 and SDL_PIXELFORMAT_XBGR8888 for clarity hai 1 ano
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined %!s(int64=2) %!d(string=hai) anos
testautomation_rect.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testautomation_render.c 00fc50557e Make sure logical presentation is complete before destroying the logical render target hai 1 ano
testautomation_rwops.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined %!s(int64=2) %!d(string=hai) anos
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier %!s(int64=2) %!d(string=hai) anos
testautomation_stdlib.c 128ca70160 Added support for printing wide strings using "%ls" syntax hai 1 ano
testautomation_suites.h 5775d5e112 Add intrinsics test automation %!s(int64=2) %!d(string=hai) anos
testautomation_surface.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths %!s(int64=2) %!d(string=hai) anos
testautomation_timer.c c963f02571 More fix warnings about static function and prototype %!s(int64=2) %!d(string=hai) anos
testautomation_video.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testcustomcursor.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testdisplayinfo.c c699f3d1d8 Updated SDL high DPI support hai 1 ano
testdraw.c 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL %!s(int64=2) %!d(string=hai) anos
testdrawchessboard.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testdropfile.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testerror.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testevdev.c 1827a0bf62 Remove some use of C runtime functions in testevdev hai 1 ano
testfile.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testgamepad.c 0103ec1126 Fixed accidental commit hai 1 ano
testgeometry.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testgl.c 5c019bc97e style fixes for SDL_PROC macros. hai 1 ano
testgles.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testgles2.c 5c019bc97e style fixes for SDL_PROC macros. hai 1 ano
testgles2_sdf.c b4291412a4 tests: build tests with C90 standard hai 1 ano
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 %!s(int64=4) %!d(string=hai) anos
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 %!s(int64=4) %!d(string=hai) anos
testhaptic.c 6306ee9f42 List the available haptic devices in testhaptic hai 1 ano
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) %!s(int64=2) %!d(string=hai) anos
testhotplug.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testime.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown %!s(int64=2) %!d(string=hai) anos
testjoystick.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testlocale.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention %!s(int64=2) %!d(string=hai) anos
testmessage.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testmultiaudio.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testnative.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) %!s(int64=2) %!d(string=hai) anos
testnativecocoa.m 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
testnativew32.c fde78d12f2 Updated copyright for 2023 %!s(int64=2) %!d(string=hai) anos
testnativex11.c fde78d12f2 Updated copyright for 2023 %!s(int64=2) %!d(string=hai) anos
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testoverlay.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testplatform.c 65e1d568ef Fix various typos (docs/build scripts/tests) hai 1 ano
testpopup.c b4291412a4 tests: build tests with C90 standard hai 1 ano
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testrendercopyex.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testrendertarget.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testresample.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testrumble.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testrwlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention %!s(int64=2) %!d(string=hai) anos
testscale.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testsem.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention %!s(int64=2) %!d(string=hai) anos
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testshader.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testshape.c b4291412a4 tests: build tests with C90 standard hai 1 ano
testsprite.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testspriteminimal.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
teststreaming.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testsurround.c 079ae065f1 Added SDL prefix AUDIO_* constants %!s(int64=2) %!d(string=hai) anos
testthread.c cb73bed6eb SDL API renaming: SDL TLS functions hai 1 ano
testtimer.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testurl.c fde78d12f2 Updated copyright for 2023 %!s(int64=2) %!d(string=hai) anos
testutils.c 08bcee8570 test: don't use wiki urls for documentation comments %!s(int64=2) %!d(string=hai) anos
testutils.h fde78d12f2 Updated copyright for 2023 %!s(int64=2) %!d(string=hai) anos
testver.c 4d86a83fa9 testver: don't allow any arguments %!s(int64=2) %!d(string=hai) anos
testviewport.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
testvulkan.c b4291412a4 tests: build tests with C90 standard hai 1 ano
testwm.c d1ee44b65e Add the pixel density to the display mode list in testwm hai 1 ano
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps %!s(int64=7) %!d(string=hai) anos
testyuv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState %!s(int64=2) %!d(string=hai) anos
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard hai 1 ano
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 %!s(int64=2) %!d(string=hai) anos
torturethread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. %!s(int64=2) %!d(string=hai) anos
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) %!s(int64=3) %!d(string=hai) anos
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) %!s(int64=3) %!d(string=hai) anos
utf8.txt 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos

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
testgl 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
testoverlay Tests the overlay flickering/scaling during playback.
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testshape Tests shaped windows
testsprite 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
testwm Test window manager -- title, icon, events
torturethread Simple test for thread creation/destruction
gamepadmap 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!