Sam Lantinga 54fb629da5 SDL_WindowFlags is now 64-bit 11 kuukautta sitten
..
android a4bb4eef73 cmake: create Android jars + apks for tests 1 vuosi sitten
emscripten 6607a3cfac Disable cache in python http server 1 vuosi sitten
n3ds 655275378d N3DS port (squashed) 2 vuotta sitten
uwp a5d9db0cd0 cmake: build tests for UWP 1 vuosi sitten
CMakeLists.txt 9aff68746f cmake: add khronos include directories with PRIVATE visibility 11 kuukautta sitten
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten
README 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". 1 vuosi sitten
audiofile.bmp 2de9253b6c test: Added testaudio 1 vuosi sitten
checkkeys.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
checkkeysthreads.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images 1 vuosi sitten
gamepad_battery.bmp 8847b35244 Separate joystick power state into battery status and percentage 1 vuosi sitten
gamepad_battery.h 43a59ffe45 Fixed crashes when a window has NULL driverdata 1 vuosi sitten
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_button_background.h 45cd4b8038 Added button background 1 vuosi sitten
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad 1 vuosi sitten
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 vuosi sitten
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 vuosi sitten
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad 1 vuosi sitten
gamepadutils.c 8847b35244 Separate joystick power state into battery status and percentage 1 vuosi sitten
gamepadutils.h 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 1 vuosi sitten
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() 1 vuosi sitten
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 1 vuosi sitten
logaudiodev.bmp 2de9253b6c test: Added testaudio 1 vuosi sitten
loopwave.c 38e3c6a4aa main: Add an optional `appstate` param to main callback entry points. 1 vuosi sitten
main.cpp 28b93451dc Make WinRT's SDL_main header-only 2 vuotta sitten
moose.dat 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten
physaudiodev.bmp 2de9253b6c test: Added testaudio 1 vuosi sitten
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten
pretest.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 2 vuotta sitten
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten
sample.wav 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. 1 vuosi sitten
soundboard_levels.bmp 2de9253b6c test: Added testaudio 1 vuosi sitten
speaker.bmp 2de9253b6c test: Added testaudio 1 vuosi sitten
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 2 vuotta sitten
testatomic.c a2665f54c8 Updated the atomic API for SDL 3.0 naming conventions 1 vuosi sitten
testaudio-art.txt 2de9253b6c test: Added testaudio 1 vuosi sitten
testaudio.c 38e3c6a4aa main: Add an optional `appstate` param to main callback entry points. 1 vuosi sitten
testaudiocapture.c 14f584a94b SDL_CreateWindowAndRenderer() takes the window title as the first parameter 1 vuosi sitten
testaudiohotplug.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testaudioinfo.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testaudiostreamdynamicresample.c edaab8ad9f Refactored audio conversion to reduce copying 1 vuosi sitten
testautomation.c 6b9a8f0da1 IOS: fix compilation of testautomation.app 1 vuosi sitten
testautomation_audio.c edaab8ad9f Refactored audio conversion to reduce copying 1 vuosi sitten
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 vuosi sitten
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 vuosi sitten
testautomation_guid.c ff5fdf9f53 Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data 1 vuosi sitten
testautomation_hints.c f14fb979c1 Remove legacy SDL2 input grab API 1 vuosi sitten
testautomation_images.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testautomation_images.h 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testautomation_intrinsics.c 75a71bde4b cmake: build tests against installed SDL prefix 1 vuosi sitten
testautomation_iostream.c a1a0156756 Renamed SDL_SizeIO() SDL_GetIOSize() 1 vuosi sitten
testautomation_joystick.c d252a8fe12 joystick: SDL_VirtualJoystickDesc no longer takes a struct version. 1 vuosi sitten
testautomation_keyboard.c aecb62e30d Improved API consistency for flag data types 11 kuukautta sitten
testautomation_log.c d65ae710a1 Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention 1 vuosi sitten
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 vuosi sitten
testautomation_math.c 4ecea42fb0 testautomation_math.c: use isinf(V) instead of fpclassify(V) == FP_INFINITE 1 vuosi sitten
testautomation_mouse.c d8600f717e Pointer as bool (libsdl-org#7214) 1 vuosi sitten
testautomation_pen.c 0df0462d0a Removed all tabs in testautomation_pen.c 1 vuosi sitten
testautomation_pixels.c 424616e032 Use SDL_PixelFormatEnum as type 1 vuosi sitten
testautomation_platform.c cacac6cc34 Updated structure and field names for consistency 1 vuosi sitten
testautomation_properties.c 56feecc17d Fix property cleanup callback not being called on error (#9663) 11 kuukautta sitten
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 vuosi sitten
testautomation_render.c 5fa87e29e7 Removed SDL_RENDERER_ACCELERATED and SDL_RENDERER_SOFTWARE 1 vuosi sitten
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 vuosi sitten
testautomation_stdlib.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testautomation_subsystems.c c540c77756 Removed SDL_INIT_EVERYTHING 1 vuosi sitten
testautomation_suites.h a6fbf0488c Add time and realtime clock functions 1 vuosi sitten
testautomation_surface.c aecb62e30d Improved API consistency for flag data types 11 kuukautta sitten
testautomation_time.c 1f43c88220 time: Use a function instead of properties to retrieve the system date and time locale info 11 kuukautta sitten
testautomation_timer.c d6a41f8f31 Updated SDL_TimerID to use the same type as other IDs in SDL 1 vuosi sitten
testautomation_video.c 54fb629da5 SDL_WindowFlags is now 64-bit 11 kuukautta sitten
testbounds.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testcamera.c db43a6b418 testcamera: open the camera using the highest framerate available 11 kuukautta sitten
testcolorspace.c f59dbf6a12 cmake: add -Wimplicit-fallthrough warning 1 vuosi sitten
testcontroller.c d252a8fe12 joystick: SDL_VirtualJoystickDesc no longer takes a struct version. 1 vuosi sitten
testcustomcursor.c f1f24b173c Added support for multiple distinct keyboards 1 vuosi sitten
testdialog.c b9d3d746a0 Add trailing path separator to SDL_GetUserFolder() 11 kuukautta sitten
testdisplayinfo.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testdraw.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testdrawchessboard.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testdropfile.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testerror.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 vuosi sitten
testevdev.c a65982e15d testevdev: include SDL_internal.h first, and fixup SDL_main.h 1 vuosi sitten
testffmpeg.c d51b53ef8f Add final Vulkan AV1 ext and VVC support 1 vuosi sitten
testffmpeg_vulkan.c d51b53ef8f Add final Vulkan AV1 ext and VVC support 1 vuosi sitten
testffmpeg_vulkan.h c493b40cc3 testffmpeg_vulkan: fix -Wincompatible-pointer-types warning 1 vuosi sitten
testfile.c 5a21d87e69 rwops: Changed filenames that reference "rwops" to "iostream". 1 vuosi sitten
testfilesystem.c bc94451bed testfilesystem: Add a '?' to the glob test, for a little more completeness. 1 vuosi sitten
testgeometry.c b6c5ad0075 Update hardcoded value of pi to use SDL constant SDL_PI_F for improved consistency and readability. 1 vuosi sitten
testgl.c 33eaddc565 Cleaned up various type conversion issues 1 vuosi sitten
testgles.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testgles2.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 1 vuosi sitten
testgles2_sdf.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 1 vuosi sitten
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 vuotta sitten
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 vuotta sitten
testhaptic.c cda2bffeee Re-add SDL_HAPTIC_SQUARE for SDL 3.0 1 vuosi sitten
testhittesting.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type 1 vuosi sitten
testhotplug.c 208cd434b5 Show the names of mice and keyboards when they connect 1 vuosi sitten
testiconv.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testime.c 22016228ca Fixed build 11 kuukautta sitten
testintersections.c f8cb3c742d Change `SDL_Keycode` type to an enum 1 vuosi sitten
testkeys.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testloadso.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testlocale.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testlock.c e0b45fed06 testlock.c: replace function call kill with raise 1 vuosi sitten
testmanymouse.c f1f24b173c Added support for multiple distinct keyboards 1 vuosi sitten
testmessage.c c07b39fa06 Fixed build 1 vuosi sitten
testmodal.c c6a70d6898 Add support for modal windows to more platforms 11 kuukautta sitten
testmouse.c 3979ea8ed0 tests: Add a pointer warp test to testmouse 11 kuukautta sitten
testmultiaudio.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testnative.c 3b55c7d1f4 Shortened SDL property names 1 vuosi sitten
testnative.h 4f3d4bd110 wayland: Add the ability to import and wrap external surfaces 1 vuosi sitten
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 1 vuosi sitten
testnativew32.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testnativewayland.c 3b55c7d1f4 Shortened SDL property names 1 vuosi sitten
testnativex11.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testoffscreen.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type 1 vuosi sitten
testoverlay.c f59dbf6a12 cmake: add -Wimplicit-fallthrough warning 1 vuosi sitten
testpen.c e5812a9fd2 testpen: don't include math.h 1 vuosi sitten
testplatform.c 45ac1a09d9 System dependent 64 bit integer suffixes 11 kuukautta sitten
testpopup.c 641b911d38 Update some internal files to use `SDL_WindowFlags` 1 vuosi sitten
testpower.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testqsort.c 1e8b006d43 stdlib: qsort and bsearch changes. 1 vuosi sitten
testrelative.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type 1 vuosi sitten
testrendercopyex.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testrendertarget.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface 1 vuosi sitten
testresample.c fc7afa9cbf rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. 1 vuosi sitten
testrumble.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions 1 vuosi sitten
testrwlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 vuosi sitten
testscale.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testsem.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testsensor.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testshader.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testshape.c fc7afa9cbf rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. 1 vuosi sitten
testsprite.c 38e3c6a4aa main: Add an optional `appstate` param to main callback entry points. 1 vuosi sitten
testspriteminimal.c 14f584a94b SDL_CreateWindowAndRenderer() takes the window title as the first parameter 1 vuosi sitten
teststreaming.c fc7afa9cbf rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. 1 vuosi sitten
testsurround.c f59dbf6a12 cmake: add -Wimplicit-fallthrough warning 1 vuosi sitten
testthread.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 1 vuosi sitten
testtime.c 1f43c88220 time: Use a function instead of properties to retrieve the system date and time locale info 11 kuukautta sitten
testtimer.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testurl.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testutils.c fc7afa9cbf rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. 1 vuosi sitten
testutils.h 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
testver.c cacac6cc34 Updated structure and field names for consistency 1 vuosi sitten
testviewport.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 1 vuosi sitten
testvulkan.c 33eaddc565 Cleaned up various type conversion issues 1 vuosi sitten
testwaylandcustom.c fc7afa9cbf rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. 1 vuosi sitten
testwm.c 5ddd97062e Added test code to validate SDL_WaitEventTimeout() 1 vuosi sitten
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 vuotta sitten
testyuv.c 88dcf74588 testyuv: we no longer need to override the HDR headroom for the BT.2020 test 1 vuosi sitten
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format 1 vuosi sitten
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format 1 vuosi sitten
torturethread.c 5b3ee51c6c Updated copyright for 2024 1 vuosi sitten
trashcan.bmp 2de9253b6c test: Added testaudio 1 vuosi sitten
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 vuotta sitten
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 vuotta sitten
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 11 vuotta sitten

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!