SDL/test
Ryan C. Gordon cf2874080f mouse: Move mouse button state from a Uint32 to a formal typedef.
Reference Issue #9812.
2024-05-26 13:23:21 -04:00
..
android android+test: testcamera needs CAMERA permissions 2024-05-16 16:43:53 +02:00
emscripten Disable cache in python http server 2023-08-14 03:50:06 +02:00
n3ds
uwp cmake: build tests for UWP 2023-08-12 17:37:52 +02:00
CMakeLists.txt dropfile: main callbacks need extra CMake care on UWP 2024-05-25 16:35:11 +02:00
COPYING
README rwops: Changed filenames that reference "rwops" to "iostream". 2024-03-14 23:30:59 -04:00
audiofile.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
checkkeys.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
checkkeysthreads.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
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 Removed unnecessary float casts 2024-05-23 15:12:19 -07:00
gamepadutils.h Added ball, touchpad, and sensor support for virtual joysticks 2024-05-09 18:25:22 -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 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 logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
main.cpp
moose.dat
physaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
picture.xbm
pretest.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
relative_mode.markdown
sample.bmp
sample.wav
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
testatomic.c testatomic: destroy threads + free all memory at quit to fix --trackmem 2024-05-17 14:39:29 +02:00
testaudio-art.txt test: Added testaudio 2023-08-02 15:02:32 -04:00
testaudio.c main: Add an optional `appstate` param to main callback entry points. 2024-03-27 17:22:08 -04:00
testaudiocapture.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testaudiohotplug.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testaudioinfo.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testaudiostreamdynamicresample.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testautomation.c IOS: fix compilation of testautomation.app 2024-04-15 03:28:16 -10:00
testautomation_audio.c Refactored audio conversion to reduce copying 2024-04-15 11:47:18 -10:00
testautomation_clipboard.c test: Free clipboard data after calling SDL_GetClipboardText() 2024-05-13 10:27:24 -04: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 Remove legacy SDL2 input grab API 2024-03-24 16:53:23 -07: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 cmake: build tests against installed SDL prefix 2024-03-23 21:41:20 +01:00
testautomation_iostream.c Renamed SDL_SizeIO() SDL_GetIOSize() 2024-03-18 00:27:18 -04:00
testautomation_joystick.c Renamed SDL_AttachVirtualJoystickEx() to SDL_AttachVirtualJoystick() 2024-05-09 14:05:58 -07:00
testautomation_keyboard.c Fixed warning C4244: '=': conversion from 'SDL_Keymod' to 'Uint16', possible loss of data 2024-05-10 16:43:09 -07:00
testautomation_log.c Renamed SDL_LogGetOutputFunction() and SDL_LogSetOutputFunction() to match SDL 3.0 naming convention 2024-03-17 12:28:11 -07:00
testautomation_main.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_math.c testautomation_math.c: use isinf(V) instead of fpclassify(V) == FP_INFINITE 2024-03-17 11:12:09 -07: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 Use SDL_PixelFormatEnum as type 2024-03-06 15:02:13 -08: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 Fix property cleanup callback not being called on error (#9663) 2024-05-06 14:50:28 -07:00
testautomation_rect.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_render.c Removed SDL_RendererFlags 2024-05-13 15:06:11 -07: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 Add time and realtime clock functions 2024-03-19 10:57:36 -07:00
testautomation_surface.c Improved API consistency for flag data types 2024-05-07 12:24:37 -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 Updated SDL_TimerID to use the same type as other IDs in SDL 2024-01-18 07:08:15 -08:00
testautomation_video.c tests: Check the usable bounds for centered window positioning 2024-05-21 12:26:40 -04:00
testbounds.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testcamera.c testcamera: libSDL3_test destroys the window and renderer 2024-05-17 14:39:29 +02:00
testcolorspace.c cmake: add -Wimplicit-fallthrough warning 2024-03-18 20:34:50 +01:00
testcontroller.c mouse: Move mouse button state from a Uint32 to a formal typedef. 2024-05-26 13:23:21 -04:00
testcustomcursor.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testdialog.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testdisplayinfo.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testdraw.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testdrawchessboard.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testdropfile.c testdropfile: convert to use callbacks 2024-05-25 04:44:07 +02:00
testerror.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testevdev.c testevdev: include SDL_internal.h first, and fixup SDL_main.h 2024-03-26 00:10:40 +01:00
testffmpeg.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testffmpeg_vulkan.c Add final Vulkan AV1 ext and VVC support 2024-04-15 16:15:09 -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 Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testgeometry.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testgl.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testgles.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testgles2.c Removed SDL_RendererFlags 2024-05-13 15:06:11 -07:00
testgles2_sdf.c Removed SDL_RendererFlags 2024-05-13 15:06:11 -07:00
testgles2_sdf_img_normal.bmp
testgles2_sdf_img_sdf.bmp
testhaptic.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testhittesting.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testhotplug.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testiconv.c testiconv: free all memory to fix --trackmem 2024-05-17 14:39:29 +02:00
testime.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testintersections.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -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 Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testlock.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testmanymouse.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testmessage.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testmodal.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testmouse.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testmultiaudio.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testnative.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testnative.h wayland: Add the ability to import and wrap external surfaces 2024-01-15 13:54:35 -05:00
testnativecocoa.m
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 Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testoverlay.c cmake: add -Wimplicit-fallthrough warning 2024-03-18 20:34:50 +01:00
testpen.c pen: Change a Uint32 bitfield into a typedef. 2024-05-26 13:23:21 -04:00
testplatform.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testpopup.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testpower.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testqsort.c stdlib: qsort and bsearch changes. 2024-03-01 08:28:12 -05:00
testrelative.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testrendercopyex.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testrendertarget.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testresample.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testrumble.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testrwlock.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testscale.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testsem.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testsensor.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testshader.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testshape.c Removed SDL_RendererFlags 2024-05-13 15:06:11 -07:00
testsprite.c main: Add an optional `appstate` param to main callback entry points. 2024-03-27 17:22:08 -04:00
testspriteminimal.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
teststreaming.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testsurround.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testthread.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testtime.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testtimer.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testurl.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testutils.c rwops: Renamed SDL_RWops to SDL_IOStream, and other related symbols. 2024-03-14 19:38:12 -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 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
testvulkan.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testwaylandcustom.c Removed SDL_RendererFlags 2024-05-13 15:06:11 -07:00
testwm.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testyuv.bmp
testyuv.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -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 test: Added testaudio 2023-08-02 15:02:32 -04:00
unifont-13.0.06-license.txt
unifont-13.0.06.hex
utf8.txt

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!