Sam Lantinga 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
..
android 88980aeb21 android+test: testcamera needs CAMERA permissions 11 月之前
emscripten 9eac3a434e ctest/emscripten: make audio and video driver configurable 8 月之前
n3ds 655275378d N3DS port (squashed) 2 年之前
testgpu 2e7d5bb429 Add the SDL_GPU API 7 月之前
uwp a5d9db0cd0 cmake: build tests for UWP 1 年之前
win32 ec85d2f74f sdlprocdump: fix minidump filename 7 月之前
CMakeLists.txt 88125e4d2d test: added testgpu_simple_clear.c, for direct comparison to testvulkan.c. 7 月之前
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 年之前
README 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". 1 年之前
audiofile.bmp 2de9253b6c test: Added testaudio 1 年之前
checkkeys.c a1998d106d Putting the simple back into Simple DirectMedia Layer 8 月之前
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images 1 年之前
gamepad_battery.bmp 8847b35244 Separate joystick power state into battery status and percentage 1 年之前
gamepad_battery.h 43a59ffe45 Fixed crashes when a window has NULL driverdata 1 年之前
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_button_background.h 45cd4b8038 Added button background 1 年之前
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad 1 年之前
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 年之前
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 年之前
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad 1 年之前
gamepadutils.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
gamepadutils.h 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes 10 月之前
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 1 年之前
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 1 年之前
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 11 年之前
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 1 年之前
icon2x.bmp 31ed3665ad Added support for high-DPI cursors and icons 8 月之前
logaudiodev.bmp 2de9253b6c test: Added testaudio 1 年之前
loopwave.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
main.cpp 28b93451dc Make WinRT's SDL_main header-only 2 年之前
moose.dat 3dcb451f85 Added a README file regarding WinRT support 11 年之前
physaudiodev.bmp 2de9253b6c test: Added testaudio 1 年之前
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 11 年之前
pretest.c 4f55271571 Removed temporary memory from the API 8 月之前
relative_mode.markdown 57f9c6f7bb Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 8 月之前
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 11 年之前
sample.wav 3dcb451f85 Added a README file regarding WinRT support 11 年之前
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. 1 年之前
soundboard_levels.bmp 2de9253b6c test: Added testaudio 1 年之前
speaker.bmp 2de9253b6c test: Added testaudio 1 年之前
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 2 年之前
testatomic.c 50f50df8b1 tests: add --no-threads argument to disable threads 8 月之前
testaudio-art.txt 2de9253b6c test: Added testaudio 1 年之前
testaudio.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testaudiohotplug.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testaudioinfo.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testaudiorecording.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testaudiostreamdynamicresample.c 00c409cff8 Additional cleanup exposed by building with a C++ compiler 7 月之前
testautomation.c a9d70dbacb pen: Rework public API. 8 月之前
testautomation_audio.c be341bc078 Make sure we put more than RESAMPLER_MAX_PADDING_FRAMES into an audio stream 7 月之前
testautomation_blit.c 36b84e7e00 blit_testRandomToRandomSVGAMultipleIterations: avoid 250000 allocations 7 月之前
testautomation_clipboard.c f827c1322c Renamed SDL_Del* to SDL_Remove* 7 月之前
testautomation_events.c f827c1322c Renamed SDL_Del* to SDL_Remove* 7 月之前
testautomation_guid.c 4f55271571 Removed temporary memory from the API 8 月之前
testautomation_hints.c f827c1322c Renamed SDL_Del* to SDL_Remove* 7 月之前
testautomation_images.c f47ddbf1ac Added SDL_BlitSurfaceTiled() 9 月之前
testautomation_images.h f47ddbf1ac Added SDL_BlitSurfaceTiled() 9 月之前
testautomation_intrinsics.c c298d2024a Include SDL_build_config.h without a 'build_config/' prefix 8 月之前
testautomation_iostream.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_joystick.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_keyboard.c a1998d106d Putting the simple back into Simple DirectMedia Layer 8 月之前
testautomation_log.c 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 9 月之前
testautomation_main.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_math.c a919774fe4 Build with -Wfloat-conversion + fix all warnings 10 月之前
testautomation_mouse.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_pixels.c 1fecef5e4b Assign numeric values to pixel format enums 9 月之前
testautomation_platform.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_properties.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_rect.c bd27b89903 Prevent potential overflow in rectangle functions 9 月之前
testautomation_render.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_sdltest.c 490f7af92b Removed test that triggers an asan overflow warning 8 月之前
testautomation_stdlib.c eacf119923 Renamed SDL_size_add_overflow() and SDL_size_mul_overflow() 7 月之前
testautomation_subsystems.c 6896c4c3bf tests: testcases accept a void pointer argument 10 月之前
testautomation_suites.h a9d70dbacb pen: Rework public API. 8 月之前
testautomation_surface.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_time.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_timer.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testautomation_video.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testbounds.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testcamera.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testcolorspace.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testcontroller.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testcustomcursor.c 31ed3665ad Added support for high-DPI cursors and icons 8 月之前
testdialog.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testdisplayinfo.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testdraw.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 8 月之前
testdrawchessboard.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testdropfile.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testerror.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testevdev.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 8 月之前
testffmpeg.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testffmpeg_vulkan.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testffmpeg_vulkan.h c493b40cc3 testffmpeg_vulkan: fix -Wincompatible-pointer-types warning 1 年之前
testfile.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 8 月之前
testfilesystem.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testgeometry.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testgl.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testgles.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testgles2.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testgles2_sdf.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 年之前
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 年之前
testgpu_simple_clear.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testgpu_spinning_cube.c f405def691 Change GPU flag enums to defines (#10681) 7 月之前
testhaptic.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testhittesting.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testhotplug.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testiconv.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testime.c 36a091cc43 Use SDL_GetError() for SDL_ttf errors 7 月之前
testintersections.c df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED 9 月之前
testkeys.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testloadso.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testlocale.c 4f55271571 Removed temporary memory from the API 8 月之前
testlock.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testmanymouse.c 57f9c6f7bb Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 8 月之前
testmessage.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testmodal.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testmouse.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testmultiaudio.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testnative.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testnative.h c298d2024a Include SDL_build_config.h without a 'build_config/' prefix 8 月之前
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 1 年之前
testnativew32.c 72d5f39e5c Make testnative (on win32) UNICODE compatible 10 月之前
testnativewayland.c 5bf6bc4d7d Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 9 月之前
testnativex11.c 5b3ee51c6c Updated copyright for 2024 1 年之前
testoffscreen.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testoverlay.c 2ba76dbe80 Simplified SDL_Surface 9 月之前
testpen.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testplatform.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 8 月之前
testpopup.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 8 月之前
testpower.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testqsort.c 728bf363cb Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 8 月之前
testrelative.c 57f9c6f7bb Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 8 月之前
testrendercopyex.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 10 月之前
testrendertarget.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testresample.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testrumble.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testrwlock.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testscale.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 10 月之前
testsem.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testsensor.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testshader.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testshape.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testsprite.c 575d9cda6f The parameter to SDL_AppEvent() should be non-const 7 月之前
testspriteminimal.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testspritesurface.c 1e828eec57 Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data 9 月之前
teststreaming.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testsurround.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testthread.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testtime.c 3bfc103e76 tests: start memory tracking first + clean up cached text textures 8 月之前
testtimer.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testurl.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testutils.c 623a90c47d testutils: use SDL_asprintf() to simplify path composition 8 月之前
testutils.h 5b3ee51c6c Updated copyright for 2024 1 年之前
testver.c 4609af618a Updated logging functions for SDL3 naming convention 11 月之前
testviewport.c 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac0a6bb6af02e72644c1c56dc6ab6f3e 10 月之前
testvulkan.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testwaylandcustom.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testwm.c f7c8d66ccb Use the convenience function SDL_GetWindowFromEvent() 8 月之前
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 年之前
testyuv.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format 1 年之前
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format 1 年之前
torturethread.c 9ff3446f03 Use SDL_bool instead an int return code in the SDL API 7 月之前
trashcan.bmp 2de9253b6c test: Added testaudio 1 年之前
unifont-15.1.05-license.txt a67e6b80de Updated unifont to version 15.1.05 9 月之前
unifont-15.1.05.hex a67e6b80de Updated unifont to version 15.1.05 9 月之前
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 11 年之前

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!