Sam Lantinga 033df70d4c SDL_DelayNS() will attempt to sleep exactly the requested amount of time hai 9 meses
..
android 88980aeb21 android+test: testcamera needs CAMERA permissions hai 11 meses
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
win32 ca36f6c43b sdlprocdump: remove dead code hai 9 meses
CMakeLists.txt 540a356199 test: Add testspritesurface hai 9 meses
COPYING 3dcb451f85 Added a README file regarding WinRT support %!s(int64=11) %!d(string=hai) anos
README 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". hai 1 ano
audiofile.bmp 2de9253b6c test: Added testaudio hai 1 ano
checkkeys.c bdd531986b SDL_SetTextInputRect() has been renamed to SDL_SetTextInputArea() hai 9 meses
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.bmp 8847b35244 Separate joystick power state into battery status and percentage hai 1 ano
gamepad_battery.h 43a59ffe45 Fixed crashes when a window has NULL driverdata 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 9f984e6fb4 testcontroller: fixed showing analog axis values hai 10 meses
gamepadutils.h 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes hai 10 meses
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 4755055bc3 audio: Separate channel maps out of SDL_AudioSpec. hai 9 meses
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 831c79d32f testatomic: destroy threads + free all memory at quit to fix --trackmem hai 11 meses
testaudio-art.txt 2de9253b6c test: Added testaudio hai 1 ano
testaudio.c f13be04980 testaudio: use SDL_APP_FAILURE macro to signal failure hai 9 meses
testaudiohotplug.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testaudioinfo.c 38f0214e8a audio: Refer to audio devices to "playback" and "recording". hai 10 meses
testaudiorecording.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testaudiostreamdynamicresample.c 16e7fdc4f2 audio: Add channel remapping to SDL_AudioSpec and SDL_AudioStream. hai 9 meses
testautomation.c 4d5f139f0f Add the blit automation tests hai 9 meses
testautomation_audio.c 40f9fd854f test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro hai 9 meses
testautomation_blit.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testautomation_clipboard.c f4aca6866c test: Free clipboard data after calling SDL_GetClipboardText() hai 11 meses
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 f14fb979c1 Remove legacy SDL2 input grab API hai 1 ano
testautomation_images.c a419e2c890 Updated and re-enabled surface and render blend mode tests hai 9 meses
testautomation_images.h a419e2c890 Updated and re-enabled surface and render blend mode tests hai 9 meses
testautomation_intrinsics.c 75a71bde4b cmake: build tests against installed SDL prefix hai 1 ano
testautomation_iostream.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testautomation_joystick.c e90060d07f Renamed functions to get information from device IDs hai 9 meses
testautomation_keyboard.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z hai 9 meses
testautomation_log.c d65ae710a1 Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention hai 1 ano
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_math.c a919774fe4 Build with -Wfloat-conversion + fix all warnings hai 10 meses
testautomation_mouse.c cf2874080f mouse: Move mouse button state from a Uint32 to a formal typedef. hai 11 meses
testautomation_pen.c 0df0462d0a Removed all tabs in testautomation_pen.c hai 1 ano
testautomation_pixels.c 1fecef5e4b Assign numeric values to pixel format enums hai 9 meses
testautomation_platform.c 661f2fc1fc Removed the SDL_Version structure, moved SDL version to SDL.h hai 11 meses
testautomation_properties.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_render.c a419e2c890 Updated and re-enabled surface and render blend mode tests hai 9 meses
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. hai 1 ano
testautomation_stdlib.c 1938d25b7e Use "%S" format specifier for wide-character strings hai 10 meses
testautomation_subsystems.c 6896c4c3bf tests: testcases accept a void pointer argument hai 10 meses
testautomation_suites.h 594ca1a897 Add testautomation suite for alpha blending hai 9 meses
testautomation_surface.c a419e2c890 Updated and re-enabled surface and render blend mode tests hai 9 meses
testautomation_time.c 1f43c88220 time: Use a function instead of properties to retrieve the system date and time locale info hai 11 meses
testautomation_timer.c b6360516e4 Added the timerID to the SDL timer callback hai 11 meses
testautomation_video.c e290e99d89 Fixed error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' hai 9 meses
testbounds.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testcamera.c 9797c5d0c0 Renamed CameraDevice to Camera hai 9 meses
testcolorspace.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testcontroller.c e90060d07f Renamed functions to get information from device IDs hai 9 meses
testcustomcursor.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testdialog.c 8c8ee2174d Dialog: Add filter number, remove NULL termination hai 10 meses
testdisplayinfo.c 2f276a2eea video: Expose HDR metadata per-window hai 10 meses
testdraw.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED hai 9 meses
testdrawchessboard.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testdropfile.c 3364aff757 main: Make the main callback return value symbols smaller (thanks, @Lzard!). hai 10 meses
testerror.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testevdev.c 2cfeff1505 testevdev: Associate HID reports for pedals with their other test data hai 10 meses
testffmpeg.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testffmpeg_vulkan.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testffmpeg_vulkan.h c493b40cc3 testffmpeg_vulkan: fix -Wincompatible-pointer-types warning hai 1 ano
testfile.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testfilesystem.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testgeometry.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testgl.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. hai 9 meses
testgles.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. hai 9 meses
testgles2.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. hai 9 meses
testgles2_sdf.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. hai 9 meses
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 5c875e1183 Renamed *FromID() to *ForID() hai 9 meses
testhittesting.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z hai 9 meses
testhotplug.c 5c875e1183 Renamed *FromID() to *ForID() hai 9 meses
testiconv.c 1e0ac5771a testiconv: Remove half-baked SDL_StepUTF8 testing code. hai 9 meses
testime.c 212a491f7c Renamed SDL_HINT_IME_NATIVE_UI to SDL_HINT_IME_IMPLEMENTED_UI hai 9 meses
testintersections.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED hai 9 meses
testkeys.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testloadso.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testlocale.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testlock.c b6360516e4 Added the timerID to the SDL timer callback hai 11 meses
testmanymouse.c 650271af46 Added SDL_CreateSurfacePalette() hai 9 meses
testmessage.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testmodal.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z hai 9 meses
testmouse.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z hai 9 meses
testmultiaudio.c 38f0214e8a audio: Refer to audio devices to "playback" and "recording". hai 10 meses
testnative.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testnative.h 992f80eb51 testnative: include SDL_build_config.h instead of SDL_internal.h hai 10 meses
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. hai 1 ano
testnativew32.c 72d5f39e5c Make testnative (on win32) UNICODE compatible hai 10 meses
testnativewayland.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testnativex11.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testoffscreen.c 40f9fd854f test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro hai 9 meses
testoverlay.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testpen.c 8165e96514 Fixed whitespace hai 9 meses
testplatform.c d5060423a2 testplatform: fix leak at exit time hai 10 meses
testpopup.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testpower.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testqsort.c 2f5b20fcb5 Updated based on feedback from @JKaniarz hai 10 meses
testrelative.c d1d484ddbe Added SDL_srand(), SDL_rand(), and SDL_rand_r() (thanks @JKaniarz!) hai 10 meses
testrendercopyex.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e hai 10 meses
testrendertarget.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e hai 10 meses
testresample.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testrumble.c 5c875e1183 Renamed *FromID() to *ForID() hai 9 meses
testrwlock.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testscale.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e hai 10 meses
testsem.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testsensor.c 5c875e1183 Renamed *FromID() to *ForID() hai 9 meses
testshader.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testshape.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testsprite.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED hai 9 meses
testspriteminimal.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testspritesurface.c 540a356199 test: Add testspritesurface hai 9 meses
teststreaming.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testsurround.c 38f0214e8a audio: Refer to audio devices to "playback" and "recording". hai 10 meses
testthread.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testtime.c 0dd579d40d Removed SDL_Keysym hai 10 meses
testtimer.c 033df70d4c SDL_DelayNS() will attempt to sleep exactly the requested amount of time hai 9 meses
testurl.c 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testutils.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testutils.h 5b3ee51c6c Updated copyright for 2024 hai 1 ano
testver.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
testviewport.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e hai 10 meses
testvulkan.c 5d506a53a6 testvulkan: Add call to SDL_Vulkan_GetPresentationSupport hai 9 meses
testwaylandcustom.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() hai 9 meses
testwm.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z hai 9 meses
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps %!s(int64=7) %!d(string=hai) anos
testyuv.c 2ba76dbe80 Simplified SDL_Surface hai 9 meses
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format hai 1 ano
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format hai 1 ano
torturethread.c 4609af618a Updated logging functions for SDL3 naming convention hai 11 meses
trashcan.bmp 2de9253b6c test: Added testaudio hai 1 ano
unifont-15.1.05-license.txt a67e6b80de Updated unifont to version 15.1.05 hai 9 meses
unifont-15.1.05.hex a67e6b80de Updated unifont to version 15.1.05 hai 9 meses
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 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!