Sam Lantinga f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() hai 1 ano
..
android a4bb4eef73 cmake: create Android jars + apks for tests hai 1 ano
emscripten 6607a3cfac Disable cache in python http server hai 1 ano
n3ds 655275378d N3DS port (squashed) %!s(int64=2) %!d(string=hai) anos
uwp a5d9db0cd0 cmake: build tests for UWP hai 1 ano
CMakeLists.txt f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() hai 1 ano
COPYING 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. hai 1 ano
audiofile.bmp 2de9253b6c test: Added testaudio hai 1 ano
checkkeys.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
checkkeysthreads.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images hai 1 ano
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_button_background.h 45cd4b8038 Added button background hai 1 ano
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad hai 1 ano
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hai 1 ano
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files hai 1 ano
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad hai 1 ano
gamepadutils.c d04fea8b87 Even more miscellaneous gamepad buttons! hai 1 ano
gamepadutils.h 5b3ee51c6c Updated copyright for 2024 hai 1 ano
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() hai 1 ano
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() hai 1 ano
icon.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp hai 1 ano
logaudiodev.bmp 2de9253b6c test: Added testaudio hai 1 ano
loopwave.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
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
physaudiodev.bmp 2de9253b6c test: Added testaudio hai 1 ano
picture.xbm 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
pretest.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
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
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. hai 1 ano
soundboard_levels.bmp 2de9253b6c test: Added testaudio hai 1 ano
speaker.bmp 2de9253b6c test: Added testaudio hai 1 ano
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests %!s(int64=2) %!d(string=hai) anos
testatomic.c a2665f54c8 Updated the atomic API for SDL 3.0 naming conventions hai 1 ano
testaudio-art.txt 2de9253b6c test: Added testaudio hai 1 ano
testaudio.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testaudiocapture.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testaudiohotplug.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testaudioinfo.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testaudiostreamdynamicresample.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testautomation.c 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output hai 1 ano
testautomation_audio.c 9989f92eee Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch hai 1 ano
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_guid.c ff5fdf9f53 Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data hai 1 ano
testautomation_hints.c 1c4723ac66 SDL_CreateWindowFrom() now takes a set of properties that describe the native window and options. hai 1 ano
testautomation_images.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testautomation_images.h 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testautomation_intrinsics.c c02aaebccc Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch hai 1 ano
testautomation_joystick.c d4448fe3d2 Update virtual joystick test now that we're just using abxy for mappings, for compatibility hai 1 ano
testautomation_keyboard.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_log.c 9f7eb6c4c1 Fixed testautomation log callback calling convention hai 1 ano
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_math.c 7c089f4e57 testautomation_math: Fix misleading log output hai 1 ano
testautomation_mouse.c d8600f717e Pointer as bool (libsdl-org#7214) hai 1 ano
testautomation_pen.c 74e85e3a51 Fixed warning C4706: assignment within conditional expression hai 1 ano
testautomation_pixels.c 753bbd199e Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB hai 1 ano
testautomation_platform.c c540c77756 Removed SDL_INIT_EVERYTHING hai 1 ano
testautomation_properties.c b8fe96fa81 Fixed build warning hai 1 ano
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_render.c c3e3ad6140 Fixed build warnings hai 1 ano
testautomation_rwops.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_stdlib.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testautomation_subsystems.c c540c77756 Removed SDL_INIT_EVERYTHING hai 1 ano
testautomation_suites.h 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output hai 1 ano
testautomation_surface.c c3e3ad6140 Fixed build warnings hai 1 ano
testautomation_timer.c d6a41f8f31 Updated SDL_TimerID to use the same type as other IDs in SDL hai 1 ano
testautomation_video.c 344ec60f8f tests: Fix window centering test with Wayland display scaling mode hai 1 ano
testbounds.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testcolorspace.c 3158342441 Use SDL_Color for SDL_RenderGeometryRaw() and add SDL_RenderGeometryRawFloat() hai 1 ano
testcontroller.c d04fea8b87 Even more miscellaneous gamepad buttons! hai 1 ano
testcustomcursor.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testdisplayinfo.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testdraw.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testdrawchessboard.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testdropfile.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testerror.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() hai 1 ano
testevdev.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testffmpeg.c 1c4c29b7ad Fixed a swap chain leak and a double-free in testffmpeg.c hai 1 ano
testfile.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testfilesystem.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testgeometry.c c1f97c8e07 Fixed testgeometry after color format change (thanks @sezero!) hai 1 ano
testgl.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testgles.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testgles2.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. hai 1 ano
testgles2_sdf.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 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 cda2bffeee Re-add SDL_HAPTIC_SQUARE for SDL 3.0 hai 1 ano
testhittesting.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testhotplug.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions hai 1 ano
testiconv.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testime.c c0b27ccef9 Fixed warning C4701: potentially uninitialized local variable 'drawnTextRect' used hai 1 ano
testintersections.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testkeys.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testloadso.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testlocale.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() hai 1 ano
testmessage.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testmouse.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testmultiaudio.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testnative.c 3b55c7d1f4 Shortened SDL property names hai 1 ano
testnative.h 4f3d4bd110 wayland: Add the ability to import and wrap external surfaces hai 1 ano
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. hai 1 ano
testnativew32.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testnativewayland.c 3b55c7d1f4 Shortened SDL property names hai 1 ano
testnativex11.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testoffscreen.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface hai 1 ano
testoverlay.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testpen.c f85535b4b6 Use functions from SDL instead of libc hai 1 ano
testplatform.c 5b8e5f8b9f Fixed accidental changing of All to Allu in previous commit (thanks @zturtleman!) hai 1 ano
testpopup.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testpower.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testqsort.c 8eba5b75ca Fixed warning C4701: potentially uninitialized local variable 'rndctx' used hai 1 ano
testrelative.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testrendercopyex.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testrendertarget.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface hai 1 ano
testresample.c 445cb42acd Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data hai 1 ano
testrumble.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions hai 1 ano
testrwlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() hai 1 ano
testscale.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testsem.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testsensor.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testshader.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testshape.c f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() hai 1 ano
testsprite.c ba074acad4 Implemented scRGB colorspace and HDR support on macOS hai 1 ano
testspriteminimal.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
teststreaming.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testsurround.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testthread.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() hai 1 ano
testtimer.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testurl.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testutils.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testutils.h 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testver.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testvideocapture.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testvideocaptureminimal.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testviewport.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testvulkan.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) hai 1 ano
testwaylandcustom.c 3b55c7d1f4 Shortened SDL property names hai 1 ano
testwm.c 5ddd97062e Added test code to validate SDL_WaitEventTimeout() 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 ec322bee1c Fixed testyuv help message hai 1 ano
testyuv_cvt.c 50a805cdd1 Use YUV colorspaces instead of a global YUV conversion mode hai 1 ano
testyuv_cvt.h 50a805cdd1 Use YUV colorspaces instead of a global YUV conversion mode hai 1 ano
torturethread.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
trashcan.bmp 2de9253b6c test: Added testaudio hai 1 ano
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
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
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!