Anonymous Maarten
bf113bbe2a
cmake: break dependency cycle when doing an in-source build
2025-12-24 22:18:57 +01:00
Anonymous Maarten
f896e26f59
tests: find X11 and wayland-client
2025-12-08 20:48:47 +01:00
Anonymous Maarten
0e96cbd8ce
tests: build tests with C99 standard by default
2025-12-05 08:30:52 -08:00
Anonymous Maarten
ccdc9231f5
test: allow GNU extensions
2025-12-04 19:22:19 +01:00
Anonymous Maarten
7b74fbb73f
test: build testver in with the C90 standard
...
By building at least one test in C90 mode, we make sure the SDL headers are C90 compatible.
2025-12-04 18:50:19 +01:00
Sam Lantinga
b5dd0ee07b
Relax the requirement that test programs be C90 compliant
...
Fixes https://github.com/libsdl-org/SDL/issues/14588
2025-12-04 07:30:28 -08:00
Anonymous Maarten
8920736df0
cmake: add testrwlock to CTest test suite
2025-11-17 20:00:02 +01:00
Anonymous Maarten
2be18f340f
testqsort: use SDLTest_TestSuite
2025-11-09 11:24:03 +00:00
Sam Lantinga
e18d63a4e2
Added SDL_RotateSurface()
...
Fixes https://github.com/libsdl-org/SDL/issues/14269
2025-10-22 17:55:02 -07:00
Anonymous Maarten
281ac6c3bb
Add elf-dlopen-note test
2025-10-12 15:46:35 -07:00
Cameron Cawley
0f62b7c3b4
Remove teststreaming
2025-10-07 11:12:31 -07:00
Sam Lantinga
bb0d6221c1
Use PNG files for tests and examples
...
These are much smaller than the previous BMP files
Fixes https://github.com/libsdl-org/SDL/issues/14159
2025-10-06 16:45:53 -07:00
Sam Lantinga
a864dcac25
Added support for using the GPU renderer as an offscreen renderer
...
SDL_CreateGPURenderer() now allows passing in an existing GPU device and passing in a NULL window to create an offscreen renderer.
Also renamed SDL_SetRenderGPUState() to SDL_SetGPURenderState().
2025-10-01 23:32:18 -07:00
Simon McVittie
c81b4e8493
test: Space-separate arguments in as-installed tests' .test files
...
The "as-installed" tests have metadata files in the .desktop-like format
used by gnome-desktop-testing, which uses a subset of shell syntax for
the Exec field. The list of arguments is represented as a
semicolon-separated list by CMake, but we need to convert that into a
space-separated list for the Exec field.
Strictly speaking we should be quoting the arguments with the equivalent
of Python's shlex.quote, but I couldn't find a way to do that in CMake,
and currently none of the tests have arguments that need quoting.
Signed-off-by: Simon McVittie <smcv@collabora.com >
2025-09-30 15:58:49 +02:00
Sam Lantinga
0b4b254a53
Added support for textures with palettes
...
Closes https://github.com/libsdl-org/SDL/pull/6192
2025-09-28 22:10:06 -07:00
Anonymous Maarten
9f721e8a9c
Add test that verifies all SDL3 symbols are available
2025-09-26 21:42:04 +02:00
Anonymous Maarten
b1b98b10d8
cmake: also install wasm debug map (optional)
2025-09-18 17:18:25 +02:00
Anonymous Maarten
447df411e6
cmake: install javascript and wasm of Emscripten tests
2025-09-18 05:28:22 +02:00
Sam Lantinga
f48c20f481
Added testsoftwaretransparent to the CMake build system
2025-09-04 09:25:05 -07:00
Marcin Serwin
bbc674b9e7
test: Fix resource paths in testtray
...
Signed-off-by: Marcin Serwin <marcin@serwin.dev >
2025-06-22 21:03:37 -07:00
Michael Fitzmayer
7ae64592c9
Restore support for the Nokia N-Gage ( #12148 )
2025-05-22 11:07:22 -07:00
Sam Lantinga
96194347bc
Added an example of fullscreen shader effects with the GPU renderer
2025-03-14 09:26:30 -07:00
Sam Lantinga
2aee105b43
Added support for custom shaders with the GPU renderer
...
Added an example of MSDF font rendering with the SDL 2D renderer
2025-03-14 09:26:30 -07:00
Sam Lantinga
f24f9d3bed
Revert "testcamera: added support for Motion JPEG camera frames"
...
This reverts commit 5ccee77190 .
2025-02-20 12:16:26 -08:00
Sam Lantinga
5ccee77190
testcamera: added support for Motion JPEG camera frames
2025-02-10 17:18:16 -08:00
Sam Lantinga
409f3ade88
Removed SDF test program
...
There's a much better example of SDF support in testgputext in SDL_ttf
2025-01-29 04:15:27 -08:00
Sam Lantinga
4176e188bf
Enable testgles2 on all platforms
...
We use SDL's headers so we're not dependent on system OpenGL header availability.
2025-01-29 04:03:31 -08:00
Anonymous Maarten
53aaf8c26b
cmake: custom generate-XXX targets must depend on outputs
2025-01-04 00:19:45 +01:00
Sam Lantinga
f18e023317
Added testclipboard
2024-12-31 19:27:11 -08:00
Anonymous Maarten
543f244965
tests: include SDL_build_config.h when HAVE_BUILD_CONFIG is defined
2024-12-29 20:08:06 +01:00
Anonymous Maarten
f1232de3d2
cmake: add_dependencies must have at least 2 arguments
2024-12-28 02:43:12 +01:00
Anonymous Maarten
2664d36faf
cmake: avoid parallel generation of headers through intermediate target
...
See
https://cmake.org/cmake/help/latest/command/add_custom_command.html#example-generating-files-for-multiple-targets
2024-12-28 02:39:12 +01:00
Sam Lantinga
75a24116b5
testcontroller: show gamepad connection state
2024-12-27 13:58:49 -08:00
Semphriss
01b9b0edb7
Add system tray support ( #10873 )
2024-12-24 10:36:39 -08:00
Ryan C. Gordon
e79ce2a200
asyncio: Added async i/o APIs.
2024-12-03 17:32:20 -05:00
Wouter Wijsman
780578cd36
PSP: Allow building tests in parallel
2024-11-01 08:57:09 -04:00
Cameron Cawley
94c8c170eb
3DS: Only bundle resources with tests that need them
2024-10-12 13:59:00 -07:00
Anonymous Maarten
7241dd9ec3
Add more SDL_Process tests
2024-09-30 03:03:33 +02:00
Simon McVittie
80da805688
build: Fix testprocess invocation during "as-installed" tests
...
During build-time testing, we can use `$<TARGET_FILE:childprocess>` to
pass the just-built childprocess executable to it as an argument, but
during "as-installed" testing we need to use the installed path of
the childprocess executable instead.
Signed-off-by: Simon McVittie <smcv@debian.org >
2024-09-25 14:48:26 -07:00
Semphris
9eea8234e6
Add SDL_Process subsystem
2024-09-13 15:19:32 -07:00
Ryan C. Gordon
154452a726
winrt: Removed WinRT/Windows Phone/UWP support.
...
Fixes #10724 .
2024-09-06 13:28:39 -04:00
Ryan C. Gordon
88125e4d2d
test: added testgpu_simple_clear.c, for direct comparison to testvulkan.c.
2024-08-31 20:45:41 -04:00
cosmonaut
2e7d5bb429
Add the SDL_GPU API
...
Project Lead: Evan Hemsley <evan@moonside.games >
Co-designer, Metal Port, Console Ports:
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com >
Production, QA, Debug:
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com >
SDL_Render Driver, Bugfixes:
Co-authored-by: Andrei Alexeyev <akari@taisei-project.org >
Additional D3D12 Programming, Bugfixes:
Co-authored-by: Bart van der Werf <bluelive@gmail.com >
Bugfixes and Feedback:
Co-authored-by: Zakary Strange <zakarystrange@gmail.com >
Co-authored-by: meyraud705 <meyraud705@gmail.com >
Co-authored-by: Joshua T. Fisher <playmer@gmail.com >
Co-authored-by: Topi Ritala <ritalat@fastmail.com >
Co-authored-by: David Gow <david@ingeniumdigital.com >
Original API Proposal:
Co-authored-by: Ryan C. Gordon <icculus@icculus.org >
2024-08-29 15:57:29 -07:00
Anonymous Maarten
c298d2024a
Include SDL_build_config.h without a 'build_config/' prefix
2024-08-23 00:51:35 +00:00
Sam Lantinga
8f546bb3c9
Use C99 bool internally in SDL
2024-08-22 13:30:02 -07:00
Anonymous Maarten
9eac3a434e
ctest/emscripten: make audio and video driver configurable
2024-08-21 20:14:55 +02:00
Anonymous Maarten
08661166e9
ci: verify SDL_REVISION
2024-08-20 16:04:58 +00:00
Anonymous Maarten
161761653f
test: use Selenium to run Emscripten tests
2024-08-20 16:04:58 +00:00
Anonymous Maarten
46bafda7ab
testshader: add -sLEGACY_GL_EMULATION for emscripten
2024-08-20 16:04:58 +00:00
Anonymous Maarten
6052136ced
tests/emscripten: add link-time dependency on the resources
2024-08-20 16:04:58 +00:00