Sam Lantinga d4f4aa745a Use C++ style comments in new code 1 рік тому
..
android a4bb4eef73 cmake: create Android jars + apks for tests 1 рік тому
emscripten 6607a3cfac Disable cache in python http server 1 рік тому
n3ds 655275378d N3DS port (squashed) 2 роки тому
uwp a5d9db0cd0 cmake: build tests for UWP 1 рік тому
CMakeLists.txt dbec2150d0 testffmpeg: added support for Vulkan rendering 1 рік тому
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 роки тому
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. 1 рік тому
audiofile.bmp 2de9253b6c test: Added testaudio 1 рік тому
checkkeys.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
checkkeysthreads.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
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_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 рік тому
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files 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 d04fea8b87 Even more miscellaneous gamepad buttons! 1 рік тому
gamepadutils.h 5b3ee51c6c Updated copyright for 2024 1 рік тому
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 рік тому
logaudiodev.bmp 2de9253b6c test: Added testaudio 1 рік тому
loopwave.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
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 5b3ee51c6c Updated copyright for 2024 1 рік тому
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 2 роки тому
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 a2665f54c8 Updated the atomic API for SDL 3.0 naming conventions 1 рік тому
testaudio-art.txt 2de9253b6c test: Added testaudio 1 рік тому
testaudio.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testaudiocapture.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testaudiohotplug.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testaudioinfo.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testaudiostreamdynamicresample.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testautomation.c 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output 1 рік тому
testautomation_audio.c 9989f92eee Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch 1 рік тому
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 рік тому
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 рік тому
testautomation_guid.c ff5fdf9f53 Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data 1 рік тому
testautomation_hints.c 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY 1 рік тому
testautomation_images.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testautomation_images.h 5b3ee51c6c Updated copyright for 2024 1 рік тому
testautomation_intrinsics.c c02aaebccc Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch 1 рік тому
testautomation_joystick.c d4448fe3d2 Update virtual joystick test now that we're just using abxy for mappings, for compatibility 1 рік тому
testautomation_keyboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 рік тому
testautomation_log.c 9f7eb6c4c1 Fixed testautomation log callback calling convention 1 рік тому
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 рік тому
testautomation_math.c 7c089f4e57 testautomation_math: Fix misleading log output 1 рік тому
testautomation_mouse.c d8600f717e Pointer as bool (libsdl-org#7214) 1 рік тому
testautomation_pen.c 74e85e3a51 Fixed warning C4706: assignment within conditional expression 1 рік тому
testautomation_pixels.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testautomation_platform.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testautomation_properties.c b8fe96fa81 Fixed build warning 1 рік тому
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 рік тому
testautomation_render.c 141497b14f Added an automated test to verify clip rect functionality 1 рік тому
testautomation_rwops.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 рік тому
testautomation_stdlib.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testautomation_subsystems.c c540c77756 Removed SDL_INIT_EVERYTHING 1 рік тому
testautomation_suites.h 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output 1 рік тому
testautomation_surface.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testautomation_timer.c d6a41f8f31 Updated SDL_TimerID to use the same type as other IDs in SDL 1 рік тому
testautomation_video.c ed615e92b7 Updated automated test now that getting an invalid property isn't an error 1 рік тому
testbounds.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testcamera.c cbf0b1ce81 testcamera: create window and renderer through test library 1 рік тому
testcolorspace.c 7f9ff6277c Don't assume HDR headroom for HDR10 surfaces 1 рік тому
testcontroller.c a538936821 Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES 1 рік тому
testcustomcursor.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testdisplayinfo.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testdraw.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testdrawchessboard.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testdropfile.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testerror.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 рік тому
testevdev.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testffmpeg.c fb87f8f15c testffmpeg: fixed mismatch between frame size and frame texture size 1 рік тому
testffmpeg_vulkan.c d4f4aa745a Use C++ style comments in new code 1 рік тому
testffmpeg_vulkan.h 97f97109d1 testffmpeg: fixed Vulkan validation errors 1 рік тому
testfile.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testfilesystem.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testgeometry.c c1f97c8e07 Fixed testgeometry after color format change (thanks @sezero!) 1 рік тому
testgl.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testgles.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testgles2.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 1 рік тому
testgles2_sdf.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 1 рік тому
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 роки тому
testhaptic.c cda2bffeee Re-add SDL_HAPTIC_SQUARE for SDL 3.0 1 рік тому
testhittesting.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testhotplug.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions 1 рік тому
testiconv.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testime.c c0b27ccef9 Fixed warning C4701: potentially uninitialized local variable 'drawnTextRect' used 1 рік тому
testintersections.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testkeys.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testloadso.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testlocale.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 рік тому
testmessage.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testmouse.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testmultiaudio.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testnative.c 3b55c7d1f4 Shortened SDL property names 1 рік тому
testnative.h 4f3d4bd110 wayland: Add the ability to import and wrap external surfaces 1 рік тому
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 1 рік тому
testnativew32.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testnativewayland.c 3b55c7d1f4 Shortened SDL property names 1 рік тому
testnativex11.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testoffscreen.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface 1 рік тому
testoverlay.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testpen.c 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY 1 рік тому
testplatform.c 5b8e5f8b9f Fixed accidental changing of All to Allu in previous commit (thanks @zturtleman!) 1 рік тому
testpopup.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testpower.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testqsort.c 1e8b006d43 stdlib: qsort and bsearch changes. 1 рік тому
testrelative.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testrendercopyex.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testrendertarget.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface 1 рік тому
testresample.c 445cb42acd Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data 1 рік тому
testrumble.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions 1 рік тому
testrwlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 рік тому
testscale.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testsem.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testsensor.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testshader.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testshape.c f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 1 рік тому
testsprite.c ba074acad4 Implemented scRGB colorspace and HDR support on macOS 1 рік тому
testspriteminimal.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
teststreaming.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testsurround.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testthread.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 рік тому
testtimer.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testurl.c 5b3ee51c6c Updated copyright for 2024 1 рік тому
testutils.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testutils.h 5b3ee51c6c Updated copyright for 2024 1 рік тому
testver.c cacac6cc34 Updated structure and field names for consistency 1 рік тому
testviewport.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 рік тому
testvulkan.c fb3bf1dcbd Fixed device queue initialization when render and present queue families are different 1 рік тому
testwaylandcustom.c 3b55c7d1f4 Shortened SDL property names 1 рік тому
testwm.c 5ddd97062e Added test code to validate SDL_WaitEventTimeout() 1 рік тому
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 роки тому
testyuv.c 88dcf74588 testyuv: we no longer need to override the HDR headroom for the BT.2020 test 1 рік тому
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 5b3ee51c6c Updated copyright for 2024 1 рік тому
trashcan.bmp 2de9253b6c test: Added testaudio 1 рік тому
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 роки тому
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 роки тому
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 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!