SDL/test
2024-07-20 18:21:19 -07:00
..
android android+test: testcamera needs CAMERA permissions 2024-05-16 16:43:53 +02:00
emscripten
n3ds
uwp
win32 sdlprocdump: remove dead code 2024-07-12 18:38:03 +02:00
audiofile.bmp
checkkeys.c SDL_SetTextInputRect() has been renamed to SDL_SetTextInputArea() 2024-06-28 17:09:22 -07:00
CMakeLists.txt test: Add testspritesurface 2024-07-11 08:11:29 -07:00
COPYING
gamepad_axis.bmp
gamepad_axis.h
gamepad_axis_arrow.bmp
gamepad_axis_arrow.h
gamepad_back.bmp
gamepad_back.h
gamepad_battery.bmp Separate joystick power state into battery status and percentage 2024-04-01 13:59:00 -07:00
gamepad_battery.h Fixed crashes when a window has NULL driverdata 2024-04-15 10:15:10 -07:00
gamepad_battery_unknown.bmp
gamepad_battery_unknown.h
gamepad_battery_wired.bmp
gamepad_battery_wired.h
gamepad_button.bmp
gamepad_button.h
gamepad_button_background.bmp
gamepad_button_background.h
gamepad_button_small.bmp
gamepad_button_small.h
gamepad_face_abxy.bmp
gamepad_face_abxy.h
gamepad_face_bayx.bmp
gamepad_face_bayx.h
gamepad_face_sony.bmp
gamepad_face_sony.h
gamepad_front.bmp
gamepad_front.h
gamepad_touchpad.bmp
gamepad_touchpad.h
gamepadutils.c gamepad: Several gamepad mapping functions now follow the SDL_GetStringRule. 2024-07-16 16:44:36 -04:00
gamepadutils.h Use floating point values for viewport, clip rectangle, and texture sizes 2024-06-12 10:18:39 -07: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
icon.h
logaudiodev.bmp
loopwave.c audio: Separate channel maps out of SDL_AudioSpec. 2024-07-10 15:43:57 -04:00
main.cpp
moose.dat
physaudiodev.bmp
picture.xbm
pretest.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README rwops: Changed filenames that reference "rwops" to "iostream". 2024-03-14 23:30:59 -04:00
relative_mode.markdown
sample.bmp
sample.wav
soundboard.bmp
soundboard_levels.bmp
speaker.bmp
template.test.in
testatomic.c testatomic: destroy threads + free all memory at quit to fix --trackmem 2024-05-17 14:39:29 +02:00
testaudio-art.txt
testaudio.c testaudio: use SDL_APP_FAILURE macro to signal failure 2024-07-13 17:06:54 +02:00
testaudiohotplug.c Removed SDL_Keysym 2024-06-21 22:06:08 -07:00
testaudioinfo.c SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testaudiorecording.c SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testaudiostreamdynamicresample.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:09:11 -07:00
testautomation.c Add the blit automation tests 2024-07-08 10:58:48 -07:00
testautomation_audio.c SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testautomation_blit.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
testautomation_clipboard.c SDL_GetClipboardData() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testautomation_events.c Renamed event memory to temporary memory, since it's not just used for events 2024-07-19 12:22:03 -07:00
testautomation_guid.c SDL_GUIDToString() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testautomation_hints.c Remove legacy SDL2 input grab API 2024-03-24 16:53:23 -07:00
testautomation_images.c Added SDL_BlitSurfaceTiled() 2024-07-20 18:21:19 -07:00
testautomation_images.h Added SDL_BlitSurfaceTiled() 2024-07-20 18:21:19 -07:00
testautomation_intrinsics.c cmake: build tests against installed SDL prefix 2024-03-23 21:41:20 +01:00
testautomation_iostream.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testautomation_joystick.c Renamed functions to get information from device IDs 2024-07-14 09:03:59 -07:00
testautomation_keyboard.c Renamed SDLK_a-z to SDLK_A-Z 2024-07-01 13:56:49 -07:00
testautomation_log.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:09:11 -07:00
testautomation_main.c docs: Remove Doxygen \brief tags. 2023-11-06 10:26:06 -05:00
testautomation_math.c Build with -Wfloat-conversion + fix all warnings 2024-06-03 21:33:29 +00:00
testautomation_mouse.c mouse: Move mouse button state from a Uint32 to a formal typedef. 2024-05-26 13:23:21 -04:00
testautomation_pen.c Removed all tabs in testautomation_pen.c 2024-03-24 05:05:30 -07:00
testautomation_pixels.c Assign numeric values to pixel format enums 2024-07-14 11:02:56 -07:00
testautomation_platform.c Removed the SDL_Version structure, moved SDL version to SDL.h 2024-05-15 10:43:31 -07:00
testautomation_properties.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testautomation_rect.c docs: Remove Doxygen \brief tags. 2023-11-06 10:26:06 -05:00
testautomation_render.c Added SDL_RenderTextureTiled() 2024-07-20 18:21:19 -07:00
testautomation_sdltest.c docs: Remove Doxygen \brief tags. 2023-11-06 10:26:06 -05:00
testautomation_stdlib.c Use "%S" format specifier for wide-character strings 2024-06-06 10:59:15 -07:00
testautomation_subsystems.c tests: testcases accept a void pointer argument 2024-05-31 19:18:24 +02:00
testautomation_suites.h Add testautomation suite for alpha blending 2024-07-08 10:53:46 -07:00
testautomation_surface.c Added SDL_BlitSurfaceTiledWithScale() 2024-07-20 18:21:19 -07:00
testautomation_time.c time: Use a function instead of properties to retrieve the system date and time locale info 2024-05-08 15:35:04 -04:00
testautomation_timer.c Added the timerID to the SDL timer callback 2024-05-27 07:57:33 -07:00
testautomation_video.c SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testbounds.c SDL_GetDisplays() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testcamera.c SDL_GetCameras() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testcolorspace.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testcontroller.c SDL_GUIDToString() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testcustomcursor.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
testdialog.c filesystem: SDL_GetUserFolder() now follows the SDL_GetStringRule. 2024-07-16 16:44:36 -04:00
testdisplayinfo.c SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testdraw.c Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED 2024-07-15 14:12:33 -07:00
testdrawchessboard.c Removed SDL_Keysym 2024-06-21 22:06:08 -07:00
testdropfile.c main: Make the main callback return value symbols smaller (thanks, @Lzard!). 2024-05-27 16:03:45 -04:00
testerror.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testevdev.c testevdev: Associate HID reports for pedals with their other test data 2024-06-24 04:39:34 -07:00
testffmpeg.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testffmpeg_vulkan.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testffmpeg_vulkan.h testffmpeg_vulkan: fix -Wincompatible-pointer-types warning 2024-03-22 11:05:13 -07:00
testfile.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testfilesystem.c filesystem: SDL_Glob*Directory() functions now follow the SDL_GetStringRule. 2024-07-16 16:44:36 -04:00
testgeometry.c Removed SDL_Keysym 2024-06-21 22:06:08 -07:00
testgl.c video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. 2024-07-10 15:54:08 -04:00
testgles.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:09:11 -07:00
testgles2.c video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. 2024-07-10 15:54:08 -04:00
testgles2_sdf.c video: Rename SDL_GL_DeleteContext to SDL_GL_DestroyContext. 2024-07-10 15:54:08 -04:00
testgles2_sdf_img_normal.bmp
testgles2_sdf_img_sdf.bmp
testhaptic.c SDL_GetHaptics() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testhittesting.c Renamed SDLK_a-z to SDLK_A-Z 2024-07-01 13:56:49 -07:00
testhotplug.c SDL_GetMice() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testiconv.c testiconv: Remove half-baked SDL_StepUTF8 testing code. 2024-06-27 17:36:09 -04:00
testime.c The candidates in SDL_EVENT_TEXT_EDITING_CANDIDATES should be a single allocation 2024-07-19 12:22:03 -07:00
testintersections.c Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED 2024-07-15 14:12:33 -07:00
testkeys.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testloadso.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testlocale.c SDL_GetPreferredLocales() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testlock.c Added the timerID to the SDL timer callback 2024-05-27 07:57:33 -07:00
testmanymouse.c Added SDL_CreateSurfacePalette() 2024-07-13 14:31:28 -07:00
testmessage.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testmodal.c Renamed SDLK_a-z to SDLK_A-Z 2024-07-01 13:56:49 -07:00
testmouse.c Renamed SDLK_a-z to SDLK_A-Z 2024-07-01 13:56:49 -07:00
testmultiaudio.c SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testnative.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testnative.h testnative: include SDL_build_config.h instead of SDL_internal.h 2024-06-20 15:40:32 +02:00
testnativecocoa.m
testnativew32.c Make testnative (on win32) UNICODE compatible 2024-06-20 15:40:32 +02:00
testnativewayland.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testnativex11.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testoffscreen.c test: use SDL_HINT_(AUDIO,VIDEO)_DRIVER macro 2024-07-11 23:37:11 +02:00
testoverlay.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
testpen.c SDL_GUIDToString() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testplatform.c testplatform: fix leak at exit time 2024-05-31 18:53:36 +02:00
testpopup.c Removed SDL_Keysym 2024-06-21 22:06:08 -07:00
testpower.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testqsort.c Updated based on feedback from @JKaniarz 2024-06-24 11:49:15 -07:00
testrelative.c Added SDL_srand(), SDL_rand(), and SDL_rand_r() (thanks @JKaniarz!) 2024-06-16 07:41:00 -07:00
testrendercopyex.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testrendertarget.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testresample.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testrumble.c SDL_GetHaptics() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testrwlock.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testscale.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testsem.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testsensor.c SDL_GetSensors() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testshader.c Reverted 3d2e5a0b66 2024-07-17 10:27:37 -07:00
testshape.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
testsprite.c Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED 2024-07-15 14:12:33 -07:00
testspriteminimal.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
testspritesurface.c Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data 2024-07-16 21:32:17 -07:00
teststreaming.c Removed SDL_Keysym 2024-06-21 22:06:08 -07:00
testsurround.c SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testthread.c Removed the need for SDL_CreateTLS() 2024-07-16 12:01:51 -07:00
testtime.c Removed SDL_Keysym 2024-06-21 22:06:08 -07:00
testtimer.c SDL_DelayNS() will attempt to sleep exactly the requested amount of time 2024-07-15 18:38:09 -07:00
testurl.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testutils.c filesystem: SDL_GetBasePath() now follows the SDL_GetStringRule. 2024-07-16 16:44:36 -04:00
testutils.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testver.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testviewport.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testvulkan.c testvulkan: Add call to SDL_Vulkan_GetPresentationSupport 2024-07-11 15:00:59 -04:00
testwaylandcustom.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testwm.c SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule 2024-07-19 12:22:03 -07:00
testyuv.bmp
testyuv.c Simplified SDL_Surface 2024-07-10 00:48:18 -07: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 logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
trashcan.bmp
unifont-15.1.05-license.txt Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
unifont-15.1.05.hex Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
utf8.txt

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!