1
0
Sam Lantinga 8f546bb3c9 Use C99 bool internally in SDL 1 жил өмнө
..
android 88980aeb21 android+test: testcamera needs CAMERA permissions 2 жил өмнө
emscripten 9eac3a434e ctest/emscripten: make audio and video driver configurable 1 жил өмнө
n3ds 655275378d N3DS port (squashed) 3 жил өмнө
uwp a5d9db0cd0 cmake: build tests for UWP 2 жил өмнө
win32 f95027e3d7 sdlprocdump: skip parsed arguments 1 жил өмнө
CMakeLists.txt 8f546bb3c9 Use C99 bool internally in SDL 1 жил өмнө
COPYING 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө
README 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". 2 жил өмнө
audiofile.bmp 2de9253b6c test: Added testaudio 2 жил өмнө
checkkeys.c a1998d106d Putting the simple back into Simple DirectMedia Layer 1 жил өмнө
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images 2 жил өмнө
gamepad_battery.bmp 8847b35244 Separate joystick power state into battery status and percentage 2 жил өмнө
gamepad_battery.h 43a59ffe45 Fixed crashes when a window has NULL driverdata 2 жил өмнө
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_button_background.h 45cd4b8038 Added button background 2 жил өмнө
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad 2 жил өмнө
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 жил өмнө
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 жил өмнө
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad 2 жил өмнө
gamepadutils.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
gamepadutils.h 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes 2 жил өмнө
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 2 жил өмнө
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 2 жил өмнө
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 2 жил өмнө
icon2x.bmp 31ed3665ad Added support for high-DPI cursors and icons 1 жил өмнө
logaudiodev.bmp 2de9253b6c test: Added testaudio 2 жил өмнө
loopwave.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
main.cpp 28b93451dc Make WinRT's SDL_main header-only 3 жил өмнө
moose.dat 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө
physaudiodev.bmp 2de9253b6c test: Added testaudio 2 жил өмнө
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө
pretest.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
relative_mode.markdown 57f9c6f7bb Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 1 жил өмнө
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө
sample.wav 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. 2 жил өмнө
soundboard_levels.bmp 2de9253b6c test: Added testaudio 2 жил өмнө
speaker.bmp 2de9253b6c test: Added testaudio 2 жил өмнө
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 3 жил өмнө
testatomic.c 50f50df8b1 tests: add --no-threads argument to disable threads 1 жил өмнө
testaudio-art.txt 2de9253b6c test: Added testaudio 2 жил өмнө
testaudio.c 438a214420 Changed main callback return values to an enumeration 1 жил өмнө
testaudiohotplug.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testaudioinfo.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testaudiorecording.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testaudiostreamdynamicresample.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 1 жил өмнө
testautomation.c a9d70dbacb pen: Rework public API. 1 жил өмнө
testautomation_audio.c 4cc3410dce Added SDL_GetAudioFormatName() 1 жил өмнө
testautomation_blit.c 2ba76dbe80 Simplified SDL_Surface 1 жил өмнө
testautomation_clipboard.c 75d89f8e12 Fix potential access violation in testautomation_clipboard.c 1 жил өмнө
testautomation_events.c 627cb8acd0 SDL_EventFilter functions now return SDL_bool 1 жил өмнө
testautomation_guid.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testautomation_hints.c 091960441b Don't check SDL_RENDER_DRIVER in automated tests 1 жил өмнө
testautomation_images.c f47ddbf1ac Added SDL_BlitSurfaceTiled() 1 жил өмнө
testautomation_images.h f47ddbf1ac Added SDL_BlitSurfaceTiled() 1 жил өмнө
testautomation_intrinsics.c 75a71bde4b cmake: build tests against installed SDL prefix 2 жил өмнө
testautomation_iostream.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 1 жил өмнө
testautomation_joystick.c c054435f37 Add verbose logging to TestVirtualJoystick 1 жил өмнө
testautomation_keyboard.c a1998d106d Putting the simple back into Simple DirectMedia Layer 1 жил өмнө
testautomation_log.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 1 жил өмнө
testautomation_main.c 2eaf73d9e0 Errors on non-threaded platforms are limited to 128 bytes 1 жил өмнө
testautomation_math.c a919774fe4 Build with -Wfloat-conversion + fix all warnings 2 жил өмнө
testautomation_mouse.c 937c41eb1c testautomation/mouse: add SDLTest_AssertPass before SDL_DestroyCursor's 1 жил өмнө
testautomation_pixels.c 1fecef5e4b Assign numeric values to pixel format enums 1 жил өмнө
testautomation_platform.c 661f2fc1fc Removed the SDL_Version structure, moved SDL version to SDL.h 2 жил өмнө
testautomation_properties.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 1 жил өмнө
testautomation_rect.c bd27b89903 Prevent potential overflow in rectangle functions 1 жил өмнө
testautomation_render.c a5f18048b2 Extend the 9-grid functions to handle a non-uniform grid layout (thanks @zaun!) 1 жил өмнө
testautomation_sdltest.c 490f7af92b Removed test that triggers an asan overflow warning 1 жил өмнө
testautomation_stdlib.c 0fa2049fef Document iconv functions + add testautomation (#10131) 1 жил өмнө
testautomation_subsystems.c 6896c4c3bf tests: testcases accept a void pointer argument 2 жил өмнө
testautomation_suites.h a9d70dbacb pen: Rework public API. 1 жил өмнө
testautomation_surface.c 01c42f1399 testautomation: test palettization using SDL_ConvertSurfaceAndColorspace 1 жил өмнө
testautomation_time.c 1f43c88220 time: Use a function instead of properties to retrieve the system date and time locale info 2 жил өмнө
testautomation_timer.c 430f448ea1 testautomation: skip timerTestCallback on Emscripten 1 жил өмнө
testautomation_video.c 1f89e05dcf testautomation: skip window resize and repositioning tests on Emscripten 1 жил өмнө
testbounds.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testcamera.c 438a214420 Changed main callback return values to an enumeration 1 жил өмнө
testcolorspace.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 1 жил өмнө
testcontroller.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testcustomcursor.c 31ed3665ad Added support for high-DPI cursors and icons 1 жил өмнө
testdialog.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testdisplayinfo.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testdraw.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 1 жил өмнө
testdrawchessboard.c 0dd579d40d Removed SDL_Keysym 2 жил өмнө
testdropfile.c 438a214420 Changed main callback return values to an enumeration 1 жил өмнө
testerror.c 50f50df8b1 tests: add --no-threads argument to disable threads 1 жил өмнө
testevdev.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testffmpeg.c ef2a30e415 testffmpeg: don't use the OES texture path for NV12 video frames 1 жил өмнө
testffmpeg_vulkan.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 1 жил өмнө
testffmpeg_vulkan.h c493b40cc3 testffmpeg_vulkan: fix -Wincompatible-pointer-types warning 2 жил өмнө
testfile.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testfilesystem.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testgeometry.c 0dd579d40d Removed SDL_Keysym 2 жил өмнө
testgl.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. 1 жил өмнө
testgles.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 1 жил өмнө
testgles2.c 6f1136c6ce testgles2: fix leaks 1 жил өмнө
testgles2_sdf.c af2dbf3ff3 video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. 1 жил өмнө
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 жил өмнө
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 жил өмнө
testhaptic.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testhittesting.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testhotplug.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testiconv.c 1e0ac5771a testiconv: Remove half-baked SDL_StepUTF8 testing code. 1 жил өмнө
testime.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testintersections.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED 1 жил өмнө
testkeys.c 4609af618a Updated logging functions for SDL3 naming convention 2 жил өмнө
testloadso.c 4609af618a Updated logging functions for SDL3 naming convention 2 жил өмнө
testlocale.c 4f55271571 Removed temporary memory from the API 1 жил өмнө
testlock.c b6360516e4 Added the timerID to the SDL timer callback 2 жил өмнө
testmanymouse.c 57f9c6f7bb Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 1 жил өмнө
testmessage.c 4609af618a Updated logging functions for SDL3 naming convention 2 жил өмнө
testmodal.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z 1 жил өмнө
testmouse.c e8dbbf8380 Renamed SDLK_a-z to SDLK_A-Z 1 жил өмнө
testmultiaudio.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testnative.c ef6521aee7 testnative: print events with --info event 1 жил өмнө
testnative.h 992f80eb51 testnative: include SDL_build_config.h instead of SDL_internal.h 2 жил өмнө
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 2 жил өмнө
testnativew32.c 72d5f39e5c Make testnative (on win32) UNICODE compatible 2 жил өмнө
testnativewayland.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 1 жил өмнө
testnativex11.c 5b3ee51c6c Updated copyright for 2024 2 жил өмнө
testoffscreen.c 40f9fd854f test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro 1 жил өмнө
testoverlay.c 2ba76dbe80 Simplified SDL_Surface 1 жил өмнө
testpen.c 438a214420 Changed main callback return values to an enumeration 1 жил өмнө
testplatform.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testpopup.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 1 жил өмнө
testpower.c 4609af618a Updated logging functions for SDL3 naming convention 2 жил өмнө
testqsort.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testrelative.c 57f9c6f7bb Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 1 жил өмнө
testrendercopyex.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 2 жил өмнө
testrendertarget.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 1 жил өмнө
testresample.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testrumble.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testrwlock.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testscale.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 2 жил өмнө
testsem.c 50f50df8b1 tests: add --no-threads argument to disable threads 1 жил өмнө
testsensor.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testshader.c 5f5e91eab6 Reverted 3d2e5a0b66eca4ade34f2a4fa81c8f4d8d33dac3 1 жил өмнө
testshape.c 2ba76dbe80 Simplified SDL_Surface 1 жил өмнө
testsprite.c 438a214420 Changed main callback return values to an enumeration 1 жил өмнө
testspriteminimal.c 2ba76dbe80 Simplified SDL_Surface 1 жил өмнө
testspritesurface.c 1e828eec57 Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data 1 жил өмнө
teststreaming.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testsurround.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testthread.c dfe6efcd2d Fixed memory leak in testthread 1 жил өмнө
testtime.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 1 жил өмнө
testtimer.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 1 жил өмнө
testurl.c 037541a0e0 Check standard error code return values as < 0 instead of == -1 1 жил өмнө
testutils.c 623a90c47d testutils: use SDL_asprintf() to simplify path composition 1 жил өмнө
testutils.h 5b3ee51c6c Updated copyright for 2024 2 жил өмнө
testver.c 4609af618a Updated logging functions for SDL3 naming convention 2 жил өмнө
testviewport.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 2 жил өмнө
testvulkan.c b499c54af4 Fixed testvulkan on macOS (thanks @proton991!) 1 жил өмнө
testwaylandcustom.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 1 жил өмнө
testwm.c f7c8d66ccb Use the convenience function SDL_GetWindowFromEvent() 1 жил өмнө
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 8 жил өмнө
testyuv.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format 2 жил өмнө
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format 2 жил өмнө
torturethread.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 1 жил өмнө
trashcan.bmp 2de9253b6c test: Added testaudio 2 жил өмнө
unifont-15.1.05-license.txt a67e6b80de Updated unifont to version 15.1.05 1 жил өмнө
unifont-15.1.05.hex a67e6b80de Updated unifont to version 15.1.05 1 жил өмнө
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 12 жил өмнө

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!