SDL/test
Semphris 70c2e15615 Add file dialogs 2024-03-14 15:40:25 -07:00
..
android cmake: create Android jars + apks for tests 2023-07-20 16:54:29 +02:00
emscripten Disable cache in python http server 2023-08-14 03:50:06 +02:00
n3ds N3DS port (squashed) 2022-10-10 08:50:59 -07:00
uwp cmake: build tests for UWP 2023-08-12 17:37:52 +02:00
CMakeLists.txt Add file dialogs 2024-03-14 15:40:25 -07:00
COPYING Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
README test: Removed loopwavequeue.c; obsolete in SDL3. 2023-07-30 11:55:57 -04:00
audiofile.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
checkkeys.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
checkkeysthreads.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
gamepad_axis.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_axis.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_axis_arrow.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_axis_arrow.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_back.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_back.h Reduced the size of the gamepad front and back images 2023-07-11 10:20:08 -07:00
gamepad_battery_empty.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_empty.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_full.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_full.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_low.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_low.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_medium.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_medium.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_unknown.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_unknown.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_wired.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_wired.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button_background.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button_background.h Added button background 2023-07-11 10:26:22 -07:00
gamepad_button_small.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button_small.h Added joystick and gamepad element display in testgamepad 2023-07-10 17:06:42 -07:00
gamepad_face_abxy.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_abxy.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_bayx.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_bayx.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_sony.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_sony.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_front.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_front.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_touchpad.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_touchpad.h Added touchpad visualization for testgamepad 2023-07-10 11:36:32 -07:00
gamepadutils.c Even more miscellaneous gamepad buttons! 2024-02-01 20:34:05 -08:00
gamepadutils.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
glass.bmp Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
glass.h Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
icon.bmp Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
icon.h testspriteminimal: make standalone by embedding icon.bmp 2023-09-19 17:58:25 +02:00
logaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
loopwave.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
main.cpp Make WinRT's SDL_main header-only 2022-12-15 08:01:01 -08:00
moose.dat Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
physaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
picture.xbm Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
pretest.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
relative_mode.markdown SDL_CreateWindow() has been simplified and no longer takes a window position. 2023-03-06 09:50:12 -08:00
sample.bmp Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
sample.wav Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
soundboard.bmp testaudio: Fixed soundboard icon, which had a colorkey issue. 2023-08-03 21:35:38 -04:00
soundboard_levels.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
speaker.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
template.test.in test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 2023-04-12 15:04:11 +00:00
testatomic.c Updated the atomic API for SDL 3.0 naming conventions 2024-01-18 04:41:34 -08:00
testaudio-art.txt test: Added testaudio 2023-08-02 15:02:32 -04:00
testaudio.c Updated structure and field names for consistency 2024-02-11 08:27:56 -08:00
testaudiocapture.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testaudiohotplug.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testaudioinfo.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testaudiostreamdynamicresample.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testautomation.c Added the environment variable SDL_LOGGING to control default log output 2024-01-27 19:30:22 -08:00
testautomation_audio.c Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch 2024-02-03 11:49:15 -08:00
testautomation_clipboard.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_events.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_guid.c Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data 2024-02-03 11:49:15 -08:00
testautomation_hints.c Removed SDL_HINT_RENDER_SCALE_QUALITY 2024-02-12 09:54:33 -08:00
testautomation_images.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testautomation_images.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testautomation_intrinsics.c Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch 2024-02-03 11:49:15 -08:00
testautomation_joystick.c Re-added balls to the SDL joystick API 2024-03-10 21:30:14 -07:00
testautomation_keyboard.c Revert "Change `SDL_Keycode` type to an enum" 2024-03-07 06:58:43 -08:00
testautomation_log.c Fixed testautomation log callback calling convention 2024-01-27 22:44:13 -08:00
testautomation_main.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_math.c testautomation_math: Fix misleading log output 2024-02-02 07:44:04 -08:00
testautomation_mouse.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testautomation_pen.c Fixed warning C4706: assignment within conditional expression 2024-02-03 11:49:15 -08:00
testautomation_pixels.c Use SDL_PixelFormatEnum as type 2024-03-06 15:02:13 -08:00
testautomation_platform.c Updated structure and field names for consistency 2024-02-11 08:27:56 -08:00
testautomation_properties.c Fixed build warning 2024-02-02 18:24:05 -08:00
testautomation_rect.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_render.c Added an automated test to verify clip rect functionality 2024-02-25 09:44:41 -08:00
testautomation_rwops.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testautomation_sdltest.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_stdlib.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testautomation_subsystems.c Removed SDL_INIT_EVERYTHING 2024-01-18 06:17:58 -08:00
testautomation_suites.h Added the environment variable SDL_LOGGING to control default log output 2024-01-27 19:30:22 -08:00
testautomation_surface.c Fix SDL_LEAN_AND_MEAN build 2024-03-11 13:46:16 -07:00
testautomation_timer.c Updated SDL_TimerID to use the same type as other IDs in SDL 2024-01-18 07:08:15 -08:00
testautomation_video.c Update some internal files to use `SDL_WindowFlags` 2024-03-06 15:08:12 -08:00
testbounds.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testcamera.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testcolorspace.c Don't assume HDR headroom for HDR10 surfaces 2024-03-02 15:02:17 -08:00
testcontroller.c Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES 2024-02-12 09:54:33 -08:00
testcustomcursor.c Updated structure and field names for consistency 2024-02-11 08:27:56 -08:00
testdialog.c Add file dialogs 2024-03-14 15:40:25 -07:00
testdisplayinfo.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testdraw.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testdrawchessboard.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testdropfile.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testerror.c Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2024-01-18 08:18:37 -08:00
testevdev.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testffmpeg.c testffmpeg: added support for EGL OES frame formats 2024-03-12 16:13:04 -07:00
testffmpeg_vulkan.c Allow building testffmpeg without Vulkan support 2024-03-08 16:45:27 -08:00
testffmpeg_vulkan.h testffmpeg: fixed Vulkan validation errors 2024-03-04 09:29:36 -08:00
testfile.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testfilesystem.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testgeometry.c Update hardcoded value of pi to use SDL constant SDL_PI_F for improved consistency and readability. 2024-03-08 20:49:01 -08:00
testgl.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
testgles.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testgles2.c testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2024-01-24 21:20:50 +03:00
testgles2_sdf.c testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. 2024-01-24 21:20:50 +03:00
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testhaptic.c Re-add SDL_HAPTIC_SQUARE for SDL 3.0 2024-01-18 09:24:03 -08:00
testhittesting.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testhotplug.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testiconv.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testime.c Added missing default case (thanks @sezero!) 2024-03-14 08:52:59 -07:00
testintersections.c Change `SDL_Keycode` type to an enum 2024-03-06 12:17:53 -08:00
testkeys.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testloadso.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testlocale.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testlock.c Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2024-01-18 08:18:37 -08:00
testmessage.c Fixed build 2024-03-06 09:57:39 -08:00
testmouse.c Change `SDL_Keycode` type to an enum 2024-03-06 12:17:53 -08:00
testmultiaudio.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testnative.c Shortened SDL property names 2024-01-27 13:00:50 -08:00
testnative.h wayland: Add the ability to import and wrap external surfaces 2024-01-15 13:54:35 -05:00
testnativecocoa.m fixed typo in prev. patch. 2023-07-28 07:35:04 +03:00
testnativew32.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testnativewayland.c Shortened SDL property names 2024-01-27 13:00:50 -08:00
testnativex11.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testoffscreen.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testoverlay.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testpen.c Removed SDL_HINT_RENDER_SCALE_QUALITY 2024-02-12 09:54:33 -08:00
testplatform.c Fixed accidental changing of All to Allu in previous commit (thanks @zturtleman!) 2024-02-03 23:46:22 -08:00
testpopup.c Update some internal files to use `SDL_WindowFlags` 2024-03-06 15:08:12 -08:00
testpower.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testqsort.c stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
testrelative.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testrendercopyex.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testrendertarget.c SDL_RenderReadPixels() now returns a surface 2024-02-03 11:49:15 -08:00
testresample.c Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data 2024-02-03 11:49:15 -08:00
testrumble.c Updated Haptic API for SDL 3.0 conventions 2024-01-18 03:26:11 -08:00
testrwlock.c Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2024-01-18 08:18:37 -08:00
testscale.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testsem.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testsensor.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testshader.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testshape.c Update some internal files to use `SDL_WindowFlags` 2024-03-06 15:08:12 -08:00
testsprite.c Implemented scRGB colorspace and HDR support on macOS 2024-02-06 12:29:44 -08:00
testspriteminimal.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
teststreaming.c Add `default: break;` to switches on SDL_Event::type 2024-03-06 15:40:05 -08:00
testsurround.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testthread.c Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() 2024-01-18 08:18:37 -08:00
testtimer.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testurl.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testutils.c Updated structure and field names for consistency 2024-02-11 08:27:56 -08:00
testutils.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testver.c Updated structure and field names for consistency 2024-02-11 08:27:56 -08:00
testviewport.c Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testvulkan.c Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
testwaylandcustom.c Shortened SDL property names 2024-01-27 13:00:50 -08:00
testwm.c Added test code to validate SDL_WaitEventTimeout() 2024-01-25 06:29:15 -08:00
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 2017-11-12 22:51:12 -08:00
testyuv.c testyuv: we no longer need to override the HDR headroom for the BT.2020 test 2024-03-02 15:06:28 -08:00
testyuv_cvt.c testyuv: added validation of P010 YUV format 2024-03-01 20:26:52 -08:00
testyuv_cvt.h testyuv: added validation of P010 YUV format 2024-03-01 20:26:52 -08:00
torturethread.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
trashcan.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
unifont-13.0.06-license.txt Latest Unifont with OFL is now bundled. (#4268) 2021-07-08 14:51:16 -07:00
unifont-13.0.06.hex Latest Unifont with OFL is now bundled. (#4268) 2021-07-08 14:51:16 -07:00
utf8.txt Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00

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!