Sam Lantinga 581d1cab25 You should call present when using a software renderer as well. 2 лет назад
..
android a4bb4eef73 cmake: create Android jars + apks for tests 2 лет назад
emscripten 6607a3cfac Disable cache in python http server 2 лет назад
n3ds 655275378d N3DS port (squashed) 3 лет назад
uwp a5d9db0cd0 cmake: build tests for UWP 2 лет назад
CMakeLists.txt fea6e7afb1 cmake: copy sources to binary directory in separate target 2 лет назад
COPYING 3dcb451f85 Added a README file regarding WinRT support 12 лет назад
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. 2 лет назад
audiofile.bmp 2de9253b6c test: Added testaudio 2 лет назад
checkkeys.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
checkkeysthreads.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
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_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 лет назад
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files 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 57e5c7f6ee We'll just use the legacy names for face buttons in the mappings 2 лет назад
gamepadutils.h 2991b9f6ac SDL now represents gamepad buttons as positional elements with a separate label 2 лет назад
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 12 лет назад
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 2 лет назад
logaudiodev.bmp 2de9253b6c test: Added testaudio 2 лет назад
loopwave.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
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 f5886f11d0 cmake: let every test depends on pretest 2 лет назад
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 3 лет назад
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 2 лет назад
testatomic.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testaudio-art.txt 2de9253b6c test: Added testaudio 2 лет назад
testaudio.c 04b6b2979f Re-add SDL_assert() with non boolean ptr syntax (#8530) 2 лет назад
testaudiocapture.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testaudiohotplug.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testaudioinfo.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testaudiostreamdynamicresample.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testautomation.c 7c80ac6df7 API for pressure-sensitive pens + XInput2/Wayland 2 лет назад
testautomation_audio.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_guid.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_hints.c 1c4723ac66 SDL_CreateWindowFrom() now takes a set of properties that describe the native window and options. 2 лет назад
testautomation_images.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_images.h 4053876bf6 Fix warning drop const qualifier 3 лет назад
testautomation_intrinsics.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_joystick.c d4448fe3d2 Update virtual joystick test now that we're just using abxy for mappings, for compatibility 2 лет назад
testautomation_keyboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_math.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_mouse.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testautomation_pen.c a197efe3a7 pen: fix leak caused by pen subsystem 2 лет назад
testautomation_pixels.c 753bbd199e Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2 лет назад
testautomation_platform.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_properties.c 6afae6681b Allow casting properties of different types 2 лет назад
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_render.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testautomation_rwops.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_stdlib.c ac0751a652 Added SDL_strnstr() 2 лет назад
testautomation_subsystems.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_suites.h 7c80ac6df7 API for pressure-sensitive pens + XInput2/Wayland 2 лет назад
testautomation_surface.c 753bbd199e Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2 лет назад
testautomation_timer.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 лет назад
testautomation_video.c 63ae84e140 x11: Improve sync algorithm 2 лет назад
testbounds.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testcontroller.c 445f08a0fb Print the gamepad player index when opening a gamepad 2 лет назад
testcustomcursor.c 5e9b0820f3 Add cursors for X11/Wayland window resizing 2 лет назад
testdisplayinfo.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testdraw.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testdrawchessboard.c 581d1cab25 You should call present when using a software renderer as well. 2 лет назад
testdropfile.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testerror.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testevdev.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testffmpeg.c 447b508a77 error: SDL's allocators now call SDL_OutOfMemory on error. 2 лет назад
testffmpeg_videotoolbox.h d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox 2 лет назад
testffmpeg_videotoolbox.m d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox 2 лет назад
testfile.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testfilesystem.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testgeometry.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testgl.c 74a2542564 x11: Deal with difference in GLX_EXT_swap_control_tear behavior. 2 лет назад
testgles.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testgles2.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testgles2_sdf.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
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 d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testhittesting.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testhotplug.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testiconv.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testime.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testintersections.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testkeys.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testloadso.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testlocale.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testlock.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testmessage.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testmouse.c df05d5eff4 Fix scroll wheel handling in testmouse 2 лет назад
testmultiaudio.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testnative.c e0c45c6c98 Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL 2 лет назад
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 лет назад
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 2 лет назад
testnativew32.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testnativex11.c fde78d12f2 Updated copyright for 2023 3 лет назад
testoffscreen.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testoverlay.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testpen.c 7c80ac6df7 API for pressure-sensitive pens + XInput2/Wayland 2 лет назад
testplatform.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testpopup.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testpower.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testqsort.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testrelative.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testrendercopyex.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testrendertarget.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testresample.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testrumble.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testrwlock.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testscale.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testsem.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testsensor.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testshader.c 5b1c68c2f3 testshader: Don't make local variables with the same name as GL entry points. 2 лет назад
testshape.c 7484d02a2e testshape: use SDL_test to create multiple windows 2 лет назад
testsprite.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testspriteminimal.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
teststreaming.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testsurround.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testthread.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testtimer.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testurl.c fde78d12f2 Updated copyright for 2023 3 лет назад
testutils.c 447b508a77 error: SDL's allocators now call SDL_OutOfMemory on error. 2 лет назад
testutils.h 6c2472d459 Relicensed testutils to match other test code 2 лет назад
testver.c 4d86a83fa9 testver: don't allow any arguments 3 лет назад
testvideocapture.c 6bb40f1d8d SDL_VideoCapture: allow add/remove device at runtime on linux 2 лет назад
testvideocaptureminimal.c 6bb40f1d8d SDL_VideoCapture: allow add/remove device at runtime on linux 2 лет назад
testviewport.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testvulkan.c 447b508a77 error: SDL's allocators now call SDL_OutOfMemory on error. 2 лет назад
testwm.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 8 лет назад
testyuv.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard 2 лет назад
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 3 лет назад
torturethread.c d8600f717e Pointer as bool (libsdl-org#7214) 2 лет назад
trashcan.bmp 2de9253b6c test: Added testaudio 2 лет назад
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 4 лет назад
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 4 лет назад
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 RWops 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!