You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdl/test
Sam Lantinga e027b85cc4 Validate that pixel formats have the correct attributes
Also added a test to save and load as BMP format to make sure pixel transformations are working correctly.

Fixes https://github.com/libsdl-org/SDL/issues/11483
6 days ago
..
android android+test: testcamera needs CAMERA permissions 6 months ago
emscripten ctest/emscripten: make audio and video driver configurable 3 months ago
n3ds N3DS port (squashed) 2 years ago
testgpu GPU: Remove D3D11 shaders from testgpu_spinning_cube 1 week ago
win32 sdlprocdump: fix minidump filename 3 months ago
CMakeLists.txt PSP: Allow building tests in parallel 3 weeks ago
COPYING Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
LICENSE.txt test: Replace README with LICENSE.txt 2 months ago
audiofile.bmp test: Added testaudio 1 year ago
checkkeys.c Removed SDL_bool in favor of plain bool 2 months ago
childprocess.c Make sure stdio handles are in blocking mode 1 month ago
gamepad_axis.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_axis.h Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_axis_arrow.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_axis_arrow.h Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_back.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_back.h Reduced the size of the gamepad front and back images 1 year ago
gamepad_battery.bmp Separate joystick power state into battery status and percentage 8 months ago
gamepad_battery.h Fixed crashes when a window has NULL driverdata 7 months ago
gamepad_battery_unknown.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_unknown.h Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_wired.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_wired.h Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button.h Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button_background.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button_background.h Added button background 1 year ago
gamepad_button_small.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button_small.h Added joystick and gamepad element display in testgamepad 1 year ago
gamepad_face_abxy.bmp Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_abxy.h Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_bayx.bmp Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_bayx.h Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_sony.bmp Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_sony.h Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_front.bmp Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_front.h Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_touchpad.bmp Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_touchpad.h Added touchpad visualization for testgamepad 1 year ago
gamepadutils.c testcontroller: fixed incorrect usage of memcpy() 4 weeks ago
gamepadutils.h Removed SDL_bool in favor of plain bool 2 months ago
glass.bmp Re-added a simplified version of SDL_SetWindowShape() 10 months ago
glass.h Re-added a simplified version of SDL_SetWindowShape() 10 months ago
icon.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
icon.h testspriteminimal: make standalone by embedding icon.bmp 1 year ago
icon2x.bmp Added support for high-DPI cursors and icons 4 months ago
logaudiodev.bmp test: Added testaudio 1 year ago
loopwave.c main: SDL_AppQuit() now reports the result value. 2 months ago
main.cpp Make WinRT's SDL_main header-only 2 years ago
moose.dat Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
physaudiodev.bmp test: Added testaudio 1 year ago
picture.xbm Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
pretest.c Removed temporary memory from the API 4 months ago
relative_mode.markdown Removed SDL_bool in favor of plain bool 2 months ago
sample.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
sample.wav Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
soundboard.bmp testaudio: Fixed soundboard icon, which had a colorkey issue. 1 year ago
soundboard_levels.bmp test: Added testaudio 1 year ago
speaker.bmp test: Added testaudio 1 year ago
template.test.in build: Fix testprocess invocation during "as-installed" tests 2 months ago
testatomic.c Removed SDL_bool in favor of plain bool 2 months ago
testaudio.c Removed unnecessary const-qualifiers in src and test files 2 months ago
testaudiohotplug.c Removed SDL_bool in favor of plain bool 2 months ago
testaudioinfo.c Removed SDL_bool in favor of plain bool 2 months ago
testaudiorecording.c main: SDL_AppQuit() now reports the result value. 2 months ago
testaudiostreamdynamicresample.c tests: Fix tests when run with the --high-pixel-density flag 2 months ago
testautomation.c SDL_test: move argument parsing into SDL_test 3 months ago
testautomation_audio.c Remove casts from typed pointer to void * for printf %p in test projects 2 months ago
testautomation_blit.c Adding void to empty function prototype parenthesis 2 months ago
testautomation_clipboard.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_events.c Remove casts from typed pointer to void * for printf %p in test projects 2 months ago
testautomation_guid.c SDL_test: use SDLCALL calling convention 3 months ago
testautomation_hints.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_images.c test: Make blit_testExampleApplicationRender work on big endian 2 months ago
testautomation_images.h Added SDL_BlitSurfaceTiled() 4 months ago
testautomation_intrinsics.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_iostream.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_joystick.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_keyboard.c testautomation keyboard: use `space` instead of `a` 2 weeks ago
testautomation_log.c Added SDL_LogTrace() 2 months ago
testautomation_main.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_math.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_mouse.c test: Fix mouse focus test on X11 1 month ago
testautomation_pixels.c Validate that pixel formats have the correct attributes 6 days ago
testautomation_platform.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_properties.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_rect.c Fixed Cohen-Sutherland out code computation for float line intersection 1 month ago
testautomation_render.c Made texture size and format public in the API 2 months ago
testautomation_sdltest.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_stdlib.c test/testautomation_stdlib.c: fix gcc warning on 32 bit 1 month ago
testautomation_subsystems.c Verify that the subsystems were successfully initialized 2 months ago
testautomation_suites.h pen: Rework public API. 4 months ago
testautomation_surface.c A zero source rect is valid for blitting 2 months ago
testautomation_time.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_timer.c Removed SDL_bool in favor of plain bool 2 months ago
testautomation_video.c testautomation_video: Another Emscripten test to be skipped. 1 week ago
testbounds.c Use SDL_bool instead an int return code in the SDL API 3 months ago
testcamera.c Made texture size and format public in the API 2 months ago
testcolorspace.c testcolorspace.c: Fix unreachable code warning 2 months ago
testcontroller.c testcontroller: update the controller name when it's opened as a gamepad 3 weeks ago
testcustomcursor.c test: Fix testcustomcursor on high-DPI displays 2 months ago
testdialog.c Improve logging performance and make log priorities thread-safe 2 months ago
testdisplayinfo.c Removed SDL_bool in favor of plain bool 2 months ago
testdraw.c Removed SDL_bool in favor of plain bool 2 months ago
testdrawchessboard.c testdrawchessboard: Allow using the standard render API 1 month ago
testdropfile.c main: SDL_AppQuit() now reports the result value. 2 months ago
testerror.c Removed SDL_bool in favor of plain bool 2 months ago
testevdev.c Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 4 months ago
testffmpeg.c Minor cleanup 3 weeks ago
testffmpeg_vulkan.c Removed SDL_bool in favor of plain bool 2 months ago
testffmpeg_vulkan.h testffmpeg_vulkan: fix -Wincompatible-pointer-types warning 8 months ago
testfile.c Improve logging performance and make log priorities thread-safe 2 months ago
testfilesystem.c filesystem: SDL_EnumerateDirectoryCallback uses an enum now, not an int. 2 months ago
testgeometry.c Removed SDL_bool in favor of plain bool 2 months ago
testgl.c test: Change LoadContext() return value type from int to bool 2 weeks ago
testgles.c Improve logging performance and make log priorities thread-safe 2 months ago
testgles2.c test: Change LoadContext() return value type from int to bool 2 weeks ago
testgles2_sdf.c test: Change LoadContext() return value type from int to bool 2 weeks ago
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 years ago
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 years ago
testgpu_simple_clear.c GPU: Add swapchain dimension out params (#11003) 2 months ago
testgpu_spinning_cube.c GPU: Remove D3D11 shaders from testgpu_spinning_cube 1 week ago
testhaptic.c Removed SDL_INIT_TIMER 2 months ago
testhittesting.c tests: Fix tests when run with the --high-pixel-density flag 2 months ago
testhotplug.c Removed SDL_bool in favor of plain bool 2 months ago
testiconv.c Improve logging performance and make log priorities thread-safe 2 months ago
testime.c Moved the SDL_ttf IME demo to showfont in the SDL_ttf project 2 months ago
testintersections.c tests: Fix tests when run with the --high-pixel-density flag 2 months ago
testkeys.c Improve logging performance and make log priorities thread-safe 2 months ago
testloadso.c loadso: library handles are now `SDL_SharedObject*` instead of `void*`. 2 months ago
testlocale.c Removed SDL_bool in favor of plain bool 2 months ago
testlock.c Renamed atomic functions to match SDL 3.0 naming convention 2 months ago
testmanymouse.c Rename SDL_BUTTON() to SDL_BUTTON_MASK() 2 months ago
testmessage.c Improve logging performance and make log priorities thread-safe 2 months ago
testmodal.c Improve logging performance and make log priorities thread-safe 2 months ago
testmouse.c Removed SDL_bool in favor of plain bool 2 months ago
testmultiaudio.c Improve logging performance and make log priorities thread-safe 2 months ago
testnative.c Made texture size and format public in the API 2 months ago
testnative.h Include SDL_build_config.h without a 'build_config/' prefix 3 months ago
testnativecocoa.m fixed typo in prev. patch. 1 year ago
testnativew32.c Make testnative (on win32) UNICODE compatible 5 months ago
testnativewayland.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 4 months ago
testnativex11.c Updated copyright for 2024 11 months ago
testoffscreen.c Removed SDL_bool in favor of plain bool 2 months ago
testoverlay.c tests: Fix tests when run with the --high-pixel-density flag 2 months ago
testpen.c main: SDL_AppQuit() now reports the result value. 2 months ago
testplatform.c testplatform: make sure bool is 1 byte 2 months ago
testpopup.c Removed SDL_bool in favor of plain bool 2 months ago
testpower.c Improve logging performance and make log priorities thread-safe 2 months ago
testprocess.c Make sure stdio handles are in blocking mode 1 month ago
testqsort.c SDL_strtoll(), SDL_strtoull(), SDL_lltoa(), and SDL_ulltoa() use long long values 2 months ago
testrelative.c Removed SDL_bool in favor of plain bool 2 months ago
testrendercopyex.c Removed SDL_bool in favor of plain bool 2 months ago
testrendertarget.c Removed SDL_bool in favor of plain bool 2 months ago
testresample.c Improve logging performance and make log priorities thread-safe 2 months ago
testrumble.c Removed SDL_INIT_TIMER 2 months ago
testrwlock.c Removed SDL_bool in favor of plain bool 2 months ago
testscale.c Removed SDL_bool in favor of plain bool 2 months ago
testsem.c Removed SDL_bool in favor of plain bool 2 months ago
testsensor.c Removed SDL_bool in favor of plain bool 2 months ago
testshader.c Removed SDL_bool in favor of plain bool 2 months ago
testshape.c Don't overwrite the SDL_IOFromConstMem() error in testshape 1 month ago
testsprite.c Fixed crashes handling D3D11/12 device lost in testsprite 1 month ago
testspriteminimal.c testspriteminimal: only quit when escape is pressed 1 month ago
testspritesurface.c Removed SDL_bool in favor of plain bool 2 months ago
teststreaming.c Removed SDL_bool in favor of plain bool 2 months ago
testsurround.c Simplify get_channel_name() so it's easier for people to read and understand 1 month ago
testthread.c Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority() 2 months ago
testtime.c Removed SDL_bool in favor of plain bool 2 months ago
testtimer.c Improved implementation of SDL_DelayPrecise() (thanks @nightmareci!) 1 month ago
testurl.c Use SDL_bool instead an int return code in the SDL API 3 months ago
testutils.c Removed SDL_bool in favor of plain bool 2 months ago
testutils.h Removed SDL_bool in favor of plain bool 2 months ago
testver.c Improve logging performance and make log priorities thread-safe 2 months ago
testviewport.c Made texture size and format public in the API 2 months ago
testvulkan.c Removed SDL_bool in favor of plain bool 2 months ago
testwaylandcustom.c Removed SDL_bool in favor of plain bool 2 months ago
testwm.c Fixed build 2 months ago
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 7 years ago
testyuv.c Add `void` to `run_colorspace_test()` function prototype 1 month ago
testyuv_cvt.c Removed SDL_bool in favor of plain bool 2 months ago
testyuv_cvt.h Removed SDL_bool in favor of plain bool 2 months ago
torturethread.c Renamed atomic functions to match SDL 3.0 naming convention 2 months ago
trashcan.bmp test: Added testaudio 1 year ago
unifont-15.1.05-license.txt Updated unifont to version 15.1.05 5 months ago
unifont-15.1.05.hex Updated unifont to version 15.1.05 5 months ago
utf8.txt Fixed crash if initialization of EGL failed but was tried again later. 10 years ago