Sam Lantinga fb3bf1dcbd Fixed device queue initialization when render and present queue families are different 2 tahun lalu
..
android a4bb4eef73 cmake: create Android jars + apks for tests 2 tahun lalu
emscripten 6607a3cfac Disable cache in python http server 2 tahun lalu
n3ds 655275378d N3DS port (squashed) 3 tahun lalu
uwp a5d9db0cd0 cmake: build tests for UWP 2 tahun lalu
CMakeLists.txt 0a961915dc cmake: testffmpeg requires link to EGL library for EGL feature 2 tahun lalu
COPYING 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. 2 tahun lalu
audiofile.bmp 2de9253b6c test: Added testaudio 2 tahun lalu
checkkeys.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
checkkeysthreads.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images 2 tahun lalu
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_button_background.h 45cd4b8038 Added button background 2 tahun lalu
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad 2 tahun lalu
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 2 tahun lalu
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files 2 tahun lalu
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad 2 tahun lalu
gamepadutils.c d04fea8b87 Even more miscellaneous gamepad buttons! 2 tahun lalu
gamepadutils.h 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 2 tahun lalu
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 2 tahun lalu
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 2 tahun lalu
logaudiodev.bmp 2de9253b6c test: Added testaudio 2 tahun lalu
loopwave.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
main.cpp 28b93451dc Make WinRT's SDL_main header-only 3 tahun lalu
moose.dat 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
physaudiodev.bmp 2de9253b6c test: Added testaudio 2 tahun lalu
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
pretest.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 3 tahun lalu
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
sample.wav 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. 2 tahun lalu
soundboard_levels.bmp 2de9253b6c test: Added testaudio 2 tahun lalu
speaker.bmp 2de9253b6c test: Added testaudio 2 tahun lalu
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 3 tahun lalu
testatomic.c a2665f54c8 Updated the atomic API for SDL 3.0 naming conventions 2 tahun lalu
testaudio-art.txt 2de9253b6c test: Added testaudio 2 tahun lalu
testaudio.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testaudiocapture.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testaudiohotplug.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testaudioinfo.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testaudiostreamdynamicresample.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testautomation.c 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output 2 tahun lalu
testautomation_audio.c 9989f92eee Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch 2 tahun lalu
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 tahun lalu
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 tahun lalu
testautomation_guid.c ff5fdf9f53 Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data 2 tahun lalu
testautomation_hints.c 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY 2 tahun lalu
testautomation_images.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testautomation_images.h 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testautomation_intrinsics.c c02aaebccc Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch 2 tahun lalu
testautomation_joystick.c d4448fe3d2 Update virtual joystick test now that we're just using abxy for mappings, for compatibility 2 tahun lalu
testautomation_keyboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 tahun lalu
testautomation_log.c 9f7eb6c4c1 Fixed testautomation log callback calling convention 2 tahun lalu
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 tahun lalu
testautomation_math.c 7c089f4e57 testautomation_math: Fix misleading log output 2 tahun lalu
testautomation_mouse.c d8600f717e Pointer as bool (libsdl-org#7214) 2 tahun lalu
testautomation_pen.c 74e85e3a51 Fixed warning C4706: assignment within conditional expression 2 tahun lalu
testautomation_pixels.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testautomation_platform.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testautomation_properties.c b8fe96fa81 Fixed build warning 2 tahun lalu
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 tahun lalu
testautomation_render.c 141497b14f Added an automated test to verify clip rect functionality 2 tahun lalu
testautomation_rwops.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. 2 tahun lalu
testautomation_stdlib.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testautomation_subsystems.c c540c77756 Removed SDL_INIT_EVERYTHING 2 tahun lalu
testautomation_suites.h 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output 2 tahun lalu
testautomation_surface.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testautomation_timer.c d6a41f8f31 Updated SDL_TimerID to use the same type as other IDs in SDL 2 tahun lalu
testautomation_video.c ed615e92b7 Updated automated test now that getting an invalid property isn't an error 2 tahun lalu
testbounds.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testcamera.c cbf0b1ce81 testcamera: create window and renderer through test library 2 tahun lalu
testcolorspace.c 4ba6aeee9d A second take on HDR support with an SDR white point and HDR headroom 2 tahun lalu
testcontroller.c a538936821 Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES 2 tahun lalu
testcustomcursor.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testdisplayinfo.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testdraw.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testdrawchessboard.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testdropfile.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testerror.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2 tahun lalu
testevdev.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testffmpeg.c 24e021c67e testffmpeg: refactored texture creation properties into a single function 2 tahun lalu
testfile.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testfilesystem.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testgeometry.c c1f97c8e07 Fixed testgeometry after color format change (thanks @sezero!) 2 tahun lalu
testgl.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testgles.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testgles2.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2 tahun lalu
testgles2_sdf.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2 tahun lalu
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 tahun lalu
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 tahun lalu
testhaptic.c cda2bffeee Re-add SDL_HAPTIC_SQUARE for SDL 3.0 2 tahun lalu
testhittesting.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testhotplug.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions 2 tahun lalu
testiconv.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testime.c c0b27ccef9 Fixed warning C4701: potentially uninitialized local variable 'drawnTextRect' used 2 tahun lalu
testintersections.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testkeys.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testloadso.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testlocale.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2 tahun lalu
testmessage.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testmouse.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testmultiaudio.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testnative.c 3b55c7d1f4 Shortened SDL property names 2 tahun lalu
testnative.h 4f3d4bd110 wayland: Add the ability to import and wrap external surfaces 2 tahun lalu
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 2 tahun lalu
testnativew32.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testnativewayland.c 3b55c7d1f4 Shortened SDL property names 2 tahun lalu
testnativex11.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testoffscreen.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface 2 tahun lalu
testoverlay.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testpen.c 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY 2 tahun lalu
testplatform.c 5b8e5f8b9f Fixed accidental changing of All to Allu in previous commit (thanks @zturtleman!) 2 tahun lalu
testpopup.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testpower.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testqsort.c 8eba5b75ca Fixed warning C4701: potentially uninitialized local variable 'rndctx' used 2 tahun lalu
testrelative.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testrendercopyex.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testrendertarget.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface 2 tahun lalu
testresample.c 445cb42acd Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data 2 tahun lalu
testrumble.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions 2 tahun lalu
testrwlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2 tahun lalu
testscale.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testsem.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testsensor.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testshader.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testshape.c f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 2 tahun lalu
testsprite.c ba074acad4 Implemented scRGB colorspace and HDR support on macOS 2 tahun lalu
testspriteminimal.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
teststreaming.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testsurround.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testthread.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2 tahun lalu
testtimer.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testurl.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testutils.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testutils.h 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
testver.c cacac6cc34 Updated structure and field names for consistency 2 tahun lalu
testviewport.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2 tahun lalu
testvulkan.c fb3bf1dcbd Fixed device queue initialization when render and present queue families are different 2 tahun lalu
testwaylandcustom.c 3b55c7d1f4 Shortened SDL property names 2 tahun lalu
testwm.c 5ddd97062e Added test code to validate SDL_WaitEventTimeout() 2 tahun lalu
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 8 tahun lalu
testyuv.c 4ba6aeee9d A second take on HDR support with an SDR white point and HDR headroom 2 tahun lalu
testyuv_cvt.c 50a805cdd1 Use YUV colorspaces instead of a global YUV conversion mode 2 tahun lalu
testyuv_cvt.h 50a805cdd1 Use YUV colorspaces instead of a global YUV conversion mode 2 tahun lalu
torturethread.c 5b3ee51c6c Updated copyright for 2024 2 tahun lalu
trashcan.bmp 2de9253b6c test: Added testaudio 2 tahun lalu
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 4 tahun lalu
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 4 tahun lalu
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 12 tahun lalu

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!