Sam Lantinga a7c0192017 Renamed SDL_PostSemaphore() to SDL_SignalSemphore() vor 9 Monaten
..
android 88980aeb21 android+test: testcamera needs CAMERA permissions vor 11 Monaten
emscripten 6607a3cfac Disable cache in python http server vor 1 Jahr
n3ds 655275378d N3DS port (squashed) vor 2 Jahren
uwp a5d9db0cd0 cmake: build tests for UWP vor 1 Jahr
win32 ca36f6c43b sdlprocdump: remove dead code vor 9 Monaten
CMakeLists.txt 540a356199 test: Add testspritesurface vor 9 Monaten
COPYING 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
README 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". vor 1 Jahr
audiofile.bmp 2de9253b6c test: Added testaudio vor 1 Jahr
checkkeys.c bdd531986b SDL_SetTextInputRect() has been renamed to SDL_SetTextInputArea() vor 9 Monaten
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images vor 1 Jahr
gamepad_battery.bmp 8847b35244 Separate joystick power state into battery status and percentage vor 1 Jahr
gamepad_battery.h 43a59ffe45 Fixed crashes when a window has NULL driverdata vor 1 Jahr
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button_background.h 45cd4b8038 Added button background vor 1 Jahr
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad vor 1 Jahr
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad vor 1 Jahr
gamepadutils.c 4dda785c69 gamepad: Several gamepad mapping functions now follow the SDL_GetStringRule. vor 9 Monaten
gamepadutils.h 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes vor 10 Monaten
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() vor 1 Jahr
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() vor 1 Jahr
icon.bmp 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp vor 1 Jahr
logaudiodev.bmp 2de9253b6c test: Added testaudio vor 1 Jahr
loopwave.c 4755055bc3 audio: Separate channel maps out of SDL_AudioSpec. vor 9 Monaten
main.cpp 28b93451dc Make WinRT's SDL_main header-only vor 2 Jahren
moose.dat 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
physaudiodev.bmp 2de9253b6c test: Added testaudio vor 1 Jahr
picture.xbm 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
pretest.c 5b3ee51c6c Updated copyright for 2024 vor 1 Jahr
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. vor 2 Jahren
sample.bmp 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
sample.wav 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. vor 1 Jahr
soundboard_levels.bmp 2de9253b6c test: Added testaudio vor 1 Jahr
speaker.bmp 2de9253b6c test: Added testaudio vor 1 Jahr
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests vor 2 Jahren
testatomic.c a7c0192017 Renamed SDL_PostSemaphore() to SDL_SignalSemphore() vor 9 Monaten
testaudio-art.txt 2de9253b6c test: Added testaudio vor 1 Jahr
testaudio.c f13be04980 testaudio: use SDL_APP_FAILURE macro to signal failure vor 9 Monaten
testaudiohotplug.c 0dd579d40d Removed SDL_Keysym vor 10 Monaten
testaudioinfo.c 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule vor 9 Monaten
testaudiorecording.c 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule vor 9 Monaten
testaudiostreamdynamicresample.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" vor 9 Monaten
testautomation.c 4d5f139f0f Add the blit automation tests vor 9 Monaten
testautomation_audio.c 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule vor 9 Monaten
testautomation_blit.c 2ba76dbe80 Simplified SDL_Surface vor 9 Monaten
testautomation_clipboard.c c4eac60000 SDL_GetClipboardData() follows the SDL_GetStringRule vor 9 Monaten
testautomation_events.c ff1d351390 Removed SDL_FreeTemporaryMemory() vor 9 Monaten
testautomation_guid.c ef21e31a9a SDL_GUIDFromString() renamed SDL_StringToGUID() vor 9 Monaten
testautomation_hints.c f14fb979c1 Remove legacy SDL2 input grab API vor 1 Jahr
testautomation_images.c f47ddbf1ac Added SDL_BlitSurfaceTiled() vor 9 Monaten
testautomation_images.h f47ddbf1ac Added SDL_BlitSurfaceTiled() vor 9 Monaten
testautomation_intrinsics.c 75a71bde4b cmake: build tests against installed SDL prefix vor 1 Jahr
testautomation_iostream.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testautomation_joystick.c e90060d07f Renamed functions to get information from device IDs vor 9 Monaten
testautomation_keyboard.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z vor 9 Monaten
testautomation_log.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" vor 9 Monaten
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. vor 1 Jahr
testautomation_math.c a919774fe4 Build with -Wfloat-conversion + fix all warnings vor 10 Monaten
testautomation_mouse.c cf2874080f mouse: Move mouse button state from a Uint32 to a formal typedef. vor 11 Monaten
testautomation_pen.c 0df0462d0a Removed all tabs in testautomation_pen.c vor 1 Jahr
testautomation_pixels.c 1fecef5e4b Assign numeric values to pixel format enums vor 9 Monaten
testautomation_platform.c 661f2fc1fc Removed the SDL_Version structure, moved SDL version to SDL.h vor 11 Monaten
testautomation_properties.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testautomation_rect.c bd27b89903 Prevent potential overflow in rectangle functions vor 9 Monaten
testautomation_render.c 6209c71f54 Added SDL_BlitSurface9Grid() and SDL_RenderTexture9Grid() vor 9 Monaten
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. vor 1 Jahr
testautomation_stdlib.c 29f0fd33dc SDL_getenv() should return const vor 9 Monaten
testautomation_subsystems.c 6896c4c3bf tests: testcases accept a void pointer argument vor 10 Monaten
testautomation_suites.h 594ca1a897 Add testautomation suite for alpha blending vor 9 Monaten
testautomation_surface.c 4830fc4e40 Added more 8-bit blit test coverage vor 9 Monaten
testautomation_time.c 1f43c88220 time: Use a function instead of properties to retrieve the system date and time locale info vor 11 Monaten
testautomation_timer.c b6360516e4 Added the timerID to the SDL timer callback vor 11 Monaten
testautomation_video.c 9de8cb888a SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule vor 9 Monaten
testbounds.c 9758e102bc SDL_GetDisplays() follows the SDL_GetStringRule vor 9 Monaten
testcamera.c 01199469de SDL_GetCameras() follows the SDL_GetStringRule vor 9 Monaten
testcolorspace.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testcontroller.c 61a7a0e579 SDL_GUIDToString() follows the SDL_GetStringRule vor 9 Monaten
testcustomcursor.c 2ba76dbe80 Simplified SDL_Surface vor 9 Monaten
testdialog.c 2321726ff1 filesystem: SDL_GetUserFolder() now follows the SDL_GetStringRule. vor 9 Monaten
testdisplayinfo.c 9de8cb888a SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule vor 9 Monaten
testdraw.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED vor 9 Monaten
testdrawchessboard.c 0dd579d40d Removed SDL_Keysym vor 10 Monaten
testdropfile.c 3364aff757 main: Make the main callback return value symbols smaller (thanks, @Lzard!). vor 11 Monaten
testerror.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testevdev.c 2cfeff1505 testevdev: Associate HID reports for pedals with their other test data vor 10 Monaten
testffmpeg.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testffmpeg_vulkan.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testffmpeg_vulkan.h c493b40cc3 testffmpeg_vulkan: fix -Wincompatible-pointer-types warning vor 1 Jahr
testfile.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testfilesystem.c 033c9c5951 Added SDL_CopyFile() and SDL_CopyStorageFile() vor 9 Monaten
testgeometry.c 0dd579d40d Removed SDL_Keysym vor 10 Monaten
testgl.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. vor 9 Monaten
testgles.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" vor 9 Monaten
testgles2.c a7c0192017 Renamed SDL_PostSemaphore() to SDL_SignalSemphore() vor 9 Monaten
testgles2_sdf.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. vor 9 Monaten
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 vor 4 Jahren
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 vor 4 Jahren
testhaptic.c b32c9615a7 SDL_GetHaptics() follows the SDL_GetStringRule vor 9 Monaten
testhittesting.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z vor 9 Monaten
testhotplug.c 9be73ed7c5 SDL_GetMice() follows the SDL_GetStringRule vor 9 Monaten
testiconv.c 1e0ac5771a testiconv: Remove half-baked SDL_StepUTF8 testing code. vor 9 Monaten
testime.c a340de6196 The candidates in SDL_EVENT_TEXT_EDITING_CANDIDATES should be a single allocation vor 9 Monaten
testintersections.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED vor 9 Monaten
testkeys.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testloadso.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testlocale.c 4f8c348402 SDL_GetPreferredLocales() follows the SDL_GetStringRule vor 9 Monaten
testlock.c b6360516e4 Added the timerID to the SDL timer callback vor 11 Monaten
testmanymouse.c 650271af46 Added SDL_CreateSurfacePalette() vor 9 Monaten
testmessage.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testmodal.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z vor 9 Monaten
testmouse.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z vor 9 Monaten
testmultiaudio.c 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule vor 9 Monaten
testnative.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testnative.h 992f80eb51 testnative: include SDL_build_config.h instead of SDL_internal.h vor 10 Monaten
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. vor 1 Jahr
testnativew32.c 72d5f39e5c Make testnative (on win32) UNICODE compatible vor 10 Monaten
testnativewayland.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testnativex11.c 5b3ee51c6c Updated copyright for 2024 vor 1 Jahr
testoffscreen.c 40f9fd854f test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro vor 9 Monaten
testoverlay.c 2ba76dbe80 Simplified SDL_Surface vor 9 Monaten
testpen.c 61a7a0e579 SDL_GUIDToString() follows the SDL_GetStringRule vor 9 Monaten
testplatform.c d5060423a2 testplatform: fix leak at exit time vor 10 Monaten
testpopup.c 0dd579d40d Removed SDL_Keysym vor 10 Monaten
testpower.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testqsort.c 2f5b20fcb5 Updated based on feedback from @JKaniarz vor 10 Monaten
testrelative.c d1d484ddbe Added SDL_srand(), SDL_rand(), and SDL_rand_r() (thanks @JKaniarz!) vor 10 Monaten
testrendercopyex.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e vor 10 Monaten
testrendertarget.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e vor 10 Monaten
testresample.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testrumble.c b32c9615a7 SDL_GetHaptics() follows the SDL_GetStringRule vor 9 Monaten
testrwlock.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testscale.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e vor 10 Monaten
testsem.c a7c0192017 Renamed SDL_PostSemaphore() to SDL_SignalSemphore() vor 9 Monaten
testsensor.c 856d598d6e SDL_GetSensors() follows the SDL_GetStringRule vor 9 Monaten
testshader.c 5f5e91eab6 Reverted 3d2e5a0b66eca4ade34f2a4fa81c8f4d8d33dac3 vor 9 Monaten
testshape.c 2ba76dbe80 Simplified SDL_Surface vor 9 Monaten
testsprite.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED vor 9 Monaten
testspriteminimal.c 2ba76dbe80 Simplified SDL_Surface vor 9 Monaten
testspritesurface.c 1e828eec57 Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data vor 9 Monaten
teststreaming.c 0dd579d40d Removed SDL_Keysym vor 10 Monaten
testsurround.c 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule vor 9 Monaten
testthread.c ec3bb4c029 Removed the need for SDL_CreateTLS() vor 9 Monaten
testtime.c 0dd579d40d Removed SDL_Keysym vor 10 Monaten
testtimer.c 033df70d4c SDL_DelayNS() will attempt to sleep exactly the requested amount of time vor 9 Monaten
testurl.c 5b3ee51c6c Updated copyright for 2024 vor 1 Jahr
testutils.c 3bc81a81f5 filesystem: SDL_GetBasePath() now follows the SDL_GetStringRule. vor 9 Monaten
testutils.h 5b3ee51c6c Updated copyright for 2024 vor 1 Jahr
testver.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
testviewport.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e vor 10 Monaten
testvulkan.c b499c54af4 Fixed testvulkan on macOS (thanks @proton991!) vor 9 Monaten
testwaylandcustom.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() vor 9 Monaten
testwm.c 9de8cb888a SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule vor 9 Monaten
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps vor 7 Jahren
testyuv.c 2ba76dbe80 Simplified SDL_Surface vor 9 Monaten
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format vor 1 Jahr
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format vor 1 Jahr
torturethread.c 4609af618a Updated logging functions for SDL3 naming convention vor 11 Monaten
trashcan.bmp 2de9253b6c test: Added testaudio vor 1 Jahr
unifont-15.1.05-license.txt a67e6b80de Updated unifont to version 15.1.05 vor 9 Monaten
unifont-15.1.05.hex a67e6b80de Updated unifont to version 15.1.05 vor 9 Monaten
utf8.txt 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren

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 SDL_IOStream 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!