Sam Lantinga f59d66f4b1 Implemented left-justification in SDL_PrintString() há 8 meses atrás
..
android 88980aeb21 android+test: testcamera needs CAMERA permissions há 11 meses atrás
emscripten 6607a3cfac Disable cache in python http server há 1 ano atrás
n3ds 655275378d N3DS port (squashed) há 2 anos atrás
uwp a5d9db0cd0 cmake: build tests for UWP há 1 ano atrás
win32 ca36f6c43b sdlprocdump: remove dead code há 9 meses atrás
CMakeLists.txt a1c6f99877 android: add script in Android archive to create a SDK há 8 meses atrás
COPYING 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás
README 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". há 1 ano atrás
audiofile.bmp 2de9253b6c test: Added testaudio há 1 ano atrás
checkkeys.c f7c8d66ccb Use the convenience function SDL_GetWindowFromEvent() há 8 meses atrás
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images há 1 ano atrás
gamepad_battery.bmp 8847b35244 Separate joystick power state into battery status and percentage há 1 ano atrás
gamepad_battery.h 43a59ffe45 Fixed crashes when a window has NULL driverdata há 1 ano atrás
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_button_background.h 45cd4b8038 Added button background há 1 ano atrás
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad há 1 ano atrás
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight há 1 ano atrás
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files há 1 ano atrás
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad há 1 ano atrás
gamepadutils.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
gamepadutils.h 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes há 10 meses atrás
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() há 1 ano atrás
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() há 1 ano atrás
icon.bmp 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp há 1 ano atrás
icon2x.bmp 31ed3665ad Added support for high-DPI cursors and icons há 8 meses atrás
logaudiodev.bmp 2de9253b6c test: Added testaudio há 1 ano atrás
loopwave.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
main.cpp 28b93451dc Make WinRT's SDL_main header-only há 2 anos atrás
moose.dat 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás
physaudiodev.bmp 2de9253b6c test: Added testaudio há 1 ano atrás
picture.xbm 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás
pretest.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. há 2 anos atrás
sample.bmp 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás
sample.wav 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. há 1 ano atrás
soundboard_levels.bmp 2de9253b6c test: Added testaudio há 1 ano atrás
speaker.bmp 2de9253b6c test: Added testaudio há 1 ano atrás
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests há 2 anos atrás
testatomic.c a7c0192017 Renamed SDL_PostSemaphore() to SDL_SignalSemphore() há 9 meses atrás
testaudio-art.txt 2de9253b6c test: Added testaudio há 1 ano atrás
testaudio.c 1d5f9c7b92 testaudio: fixed memory leak in SetTitleBar() há 8 meses atrás
testaudiohotplug.c 0dd579d40d Removed SDL_Keysym há 10 meses atrás
testaudioinfo.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testaudiorecording.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testaudiostreamdynamicresample.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" há 9 meses atrás
testautomation.c 4d5f139f0f Add the blit automation tests há 9 meses atrás
testautomation_audio.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testautomation_blit.c 2ba76dbe80 Simplified SDL_Surface há 9 meses atrás
testautomation_clipboard.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testautomation_events.c f57c597c60 Added SDL_GetWindowFromEvent há 8 meses atrás
testautomation_guid.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testautomation_hints.c 091960441b Don't check SDL_RENDER_DRIVER in automated tests há 8 meses atrás
testautomation_images.c f47ddbf1ac Added SDL_BlitSurfaceTiled() há 9 meses atrás
testautomation_images.h f47ddbf1ac Added SDL_BlitSurfaceTiled() há 9 meses atrás
testautomation_intrinsics.c 75a71bde4b cmake: build tests against installed SDL prefix há 1 ano atrás
testautomation_iostream.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testautomation_joystick.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testautomation_keyboard.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z há 9 meses atrás
testautomation_log.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" há 9 meses atrás
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. há 1 ano atrás
testautomation_math.c a919774fe4 Build with -Wfloat-conversion + fix all warnings há 10 meses atrás
testautomation_mouse.c cf2874080f mouse: Move mouse button state from a Uint32 to a formal typedef. há 11 meses atrás
testautomation_pen.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testautomation_pixels.c 1fecef5e4b Assign numeric values to pixel format enums há 9 meses atrás
testautomation_platform.c 661f2fc1fc Removed the SDL_Version structure, moved SDL version to SDL.h há 11 meses atrás
testautomation_properties.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testautomation_rect.c bd27b89903 Prevent potential overflow in rectangle functions há 9 meses atrás
testautomation_render.c a5f18048b2 Extend the 9-grid functions to handle a non-uniform grid layout (thanks @zaun!) há 8 meses atrás
testautomation_sdltest.c 490f7af92b Removed test that triggers an asan overflow warning há 8 meses atrás
testautomation_stdlib.c f59d66f4b1 Implemented left-justification in SDL_PrintString() há 8 meses atrás
testautomation_subsystems.c 6896c4c3bf tests: testcases accept a void pointer argument há 10 meses atrás
testautomation_suites.h 594ca1a897 Add testautomation suite for alpha blending há 9 meses atrás
testautomation_surface.c a5f18048b2 Extend the 9-grid functions to handle a non-uniform grid layout (thanks @zaun!) há 8 meses atrás
testautomation_time.c 1f43c88220 time: Use a function instead of properties to retrieve the system date and time locale info há 11 meses atrás
testautomation_timer.c 795499a529 Removing a timer that isn't running is a success. há 8 meses atrás
testautomation_video.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testbounds.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testcamera.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testcolorspace.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testcontroller.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testcustomcursor.c 31ed3665ad Added support for high-DPI cursors and icons há 8 meses atrás
testdialog.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testdisplayinfo.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testdraw.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures há 8 meses atrás
testdrawchessboard.c 0dd579d40d Removed SDL_Keysym há 10 meses atrás
testdropfile.c 3364aff757 main: Make the main callback return value symbols smaller (thanks, @Lzard!). há 10 meses atrás
testerror.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testevdev.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testffmpeg.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testffmpeg_vulkan.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testffmpeg_vulkan.h c493b40cc3 testffmpeg_vulkan: fix -Wincompatible-pointer-types warning há 1 ano atrás
testfile.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testfilesystem.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testgeometry.c 0dd579d40d Removed SDL_Keysym há 10 meses atrás
testgl.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. há 9 meses atrás
testgles.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" há 9 meses atrás
testgles2.c 6f1136c6ce testgles2: fix leaks há 8 meses atrás
testgles2_sdf.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. há 9 meses atrás
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 há 4 anos atrás
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 há 4 anos atrás
testhaptic.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testhittesting.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z há 9 meses atrás
testhotplug.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testiconv.c 1e0ac5771a testiconv: Remove half-baked SDL_StepUTF8 testing code. há 9 meses atrás
testime.c 50492e1d03 Change the text input defaults to match the natural input experience há 8 meses atrás
testintersections.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED há 9 meses atrás
testkeys.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testloadso.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testlocale.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testlock.c b6360516e4 Added the timerID to the SDL timer callback há 10 meses atrás
testmanymouse.c 650271af46 Added SDL_CreateSurfacePalette() há 9 meses atrás
testmessage.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testmodal.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z há 9 meses atrás
testmouse.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z há 9 meses atrás
testmultiaudio.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testnative.c ef6521aee7 testnative: print events with --info event há 8 meses atrás
testnative.h 992f80eb51 testnative: include SDL_build_config.h instead of SDL_internal.h há 10 meses atrás
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. há 1 ano atrás
testnativew32.c 72d5f39e5c Make testnative (on win32) UNICODE compatible há 10 meses atrás
testnativewayland.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testnativex11.c 5b3ee51c6c Updated copyright for 2024 há 1 ano atrás
testoffscreen.c 40f9fd854f test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro há 9 meses atrás
testoverlay.c 2ba76dbe80 Simplified SDL_Surface há 9 meses atrás
testpen.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testplatform.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testpopup.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures há 8 meses atrás
testpower.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testqsort.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testrelative.c 66eb2ea443 mouse: Make pointer warp emulation via relative mode available to all platforms há 9 meses atrás
testrendercopyex.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e há 10 meses atrás
testrendertarget.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures há 8 meses atrás
testresample.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testrumble.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testrwlock.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testscale.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e há 10 meses atrás
testsem.c a7c0192017 Renamed SDL_PostSemaphore() to SDL_SignalSemphore() há 9 meses atrás
testsensor.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testshader.c 5f5e91eab6 Reverted 3d2e5a0b66eca4ade34f2a4fa81c8f4d8d33dac3 há 9 meses atrás
testshape.c 2ba76dbe80 Simplified SDL_Surface há 9 meses atrás
testsprite.c cf8b158ccb Added SDL_GetRenderSafeArea() há 9 meses atrás
testspriteminimal.c 2ba76dbe80 Simplified SDL_Surface há 9 meses atrás
testspritesurface.c 1e828eec57 Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data há 9 meses atrás
teststreaming.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testsurround.c 4f55271571 Removed temporary memory from the API há 8 meses atrás
testthread.c dfe6efcd2d Fixed memory leak in testthread há 8 meses atrás
testtime.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures há 8 meses atrás
testtimer.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures há 8 meses atrás
testurl.c 5b3ee51c6c Updated copyright for 2024 há 1 ano atrás
testutils.c 623a90c47d testutils: use SDL_asprintf() to simplify path composition há 8 meses atrás
testutils.h 5b3ee51c6c Updated copyright for 2024 há 1 ano atrás
testver.c 4609af618a Updated logging functions for SDL3 naming convention há 11 meses atrás
testviewport.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e há 10 meses atrás
testvulkan.c b499c54af4 Fixed testvulkan on macOS (thanks @proton991!) há 9 meses atrás
testwaylandcustom.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() há 9 meses atrás
testwm.c f7c8d66ccb Use the convenience function SDL_GetWindowFromEvent() há 8 meses atrás
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps há 7 anos atrás
testyuv.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format há 1 ano atrás
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format há 1 ano atrás
torturethread.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() há 8 meses atrás
trashcan.bmp 2de9253b6c test: Added testaudio há 1 ano atrás
unifont-15.1.05-license.txt a67e6b80de Updated unifont to version 15.1.05 há 9 meses atrás
unifont-15.1.05.hex a67e6b80de Updated unifont to version 15.1.05 há 9 meses atrás
utf8.txt 3dcb451f85 Added a README file regarding WinRT support há 11 anos atrás

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!