Ryan C. Gordon
e474047ff8
rwlock: Added SDL_rwlock API for shared locks.
2023-04-27 21:54:02 -04:00
Ryan C. Gordon
e5a6c24c82
audio: Redesigned audio conversion code for SDL3.
...
- SDL_AudioCVT is gone, even internally.
- libsamplerate is gone (I suspect our resampler is finally Good Enough).
- Cleanups and improvements to audio conversion interfaces.
- SDL_AudioStream can change its input/output format/rate/channels on the fly!
2023-04-27 18:35:15 -04:00
Anonymous Maarten
cb076b83ff
cmake: fix testnative for Macos
2023-03-28 04:01:50 +02:00
Anonymous Maarten
1259a60731
cmake: build tests as library on Android
2023-03-28 01:30:55 +02:00
Anonymous Maarten
b8b852a55b
cmake: testnative can also be built on non-Linux
2023-03-28 00:43:54 +02:00
Anonymous Maarten
c30903882b
cmake+tests: include SDL_build_config.h in select tests + add include paths
2023-03-21 23:03:02 +03:00
Anonymous Maarten
81ca9d61d6
cmake+test: add more automated tests + use properties
2023-03-21 02:19:19 +01:00
Anonymous Maarten
4a6528e3f0
testprograms: parse arguments using SDLTest_CommonState
2023-03-17 17:54:16 +01:00
Anonymous Maarten
684709a5b6
cmake: fix building testautomation without X11 support
2023-03-15 14:54:20 +01:00
Anonymous Maarten
64e242fd77
cmake: Add test resources to list of files to clean
2023-03-15 14:54:20 +01:00
Frank Praznik
cfeb663c87
tests: Add popup window test program
...
Right click to create new popup menus. Clicking over an existing popup menu will create a child menu. Left click to close all menus. Hover to display a tooltip that is the child of the window below it. Closing the application closes the root window, which should automatically destroy any open popup windows and exit gracefully.
2023-03-10 15:51:13 -08:00
Anonymous Maarten
790612f4f8
cmake: make sdltests_utils static library
2023-03-01 23:41:22 +01:00
Anonymous Maarten
dc138ee3d4
cmake: SDL3-shared target will always be a shared target
2023-02-17 23:42:03 +01:00
Anonymous Maarten
4d8a50912b
cmake: no shared SDL libraries for riscos
2023-02-16 13:59:23 -08:00
Anonymous Maarten
e203046a5c
cmake+ci: build shared and static libraries on ci
2023-02-16 13:59:23 -08:00
Anonymous Maarten
78be9eaf38
Revert "Add testcpuinfo.c"
...
This reverts commit 5888b008b1
.
2023-02-02 00:49:09 +01:00
Anonymous Maarten
5888b008b1
Add testcpuinfo.c
2023-02-01 23:34:37 +01:00
Anonymous Maarten
32e7921f98
cmake: by default, link tests to SDL3.dll on Windows
2023-01-31 01:59:21 +01:00
Anonymous Maarten
9cf34908a1
cmake: pass VERSION to project() + don't use SDL_VERSION
2023-01-31 01:59:21 +01:00
Anonymous Maarten
0ab99ffb2a
cmake: add SDL_TESTS_TIMEOUT_MULTIPLIER to account for slower machines
2023-01-10 02:39:09 +01:00
Anonymous Maarten
1d60030e84
cmake: add -Wformat when checking -Wformat-extra-args
...
The need for -Wformat when using -Wformat-extra-args was observed for
the msys2 mingw64 gcc toolchain.
2023-01-08 15:57:51 +01:00
Anonymous Maarten
373a6464c8
cmake: collect cflags in sdl-build-options and sdl-global-options
2023-01-08 15:57:51 +01:00
Sam Lantinga
1d956c2817
Rename SDL2 tests for SDL3
2023-01-03 11:54:35 -08:00
Sam Lantinga
659abc721a
SDL API renaming: SDL_gamecontroller.h
...
SDL_gamecontroller.h has been renamed SDL_gamepad.h, and all APIs have been renamed to match.
Fixes https://github.com/libsdl-org/SDL/issues/6885
2022-12-27 09:47:24 -08:00
Daniel Gibson
c3bf253b09
Remove SDL3_main from build systems, remove most of src/main/*
...
XCode is still missing, and src/main/winrt/SDL3-WinRTResource*
still need to find a new home
2022-12-15 08:01:01 -08:00
Ryan C. Gordon
a76053352c
gesture: Removed the gesture API from SDL3.
...
Fixes #6758 .
2022-12-13 14:54:37 -05:00
Sylvain
c265fb74b0
Renamed AUDIODRIVER and VIDEODRIVER hint/env to AUDIO_DRIVER and VIDEO_DRIVER
2022-12-08 09:50:09 -05:00
Sylvain Becker
92cd2c0a74
Enable creation of yuv SDL_Surfaces ( #6735 )
2022-12-02 12:53:48 -08:00
Anonymous Maarten
11ef4df207
cmake: rely on targets from the main cmake script
2022-12-01 20:32:47 +01:00
Sam Lantinga
c5790359fd
Added precompiled header support for Visual Studio and Xcode ( #6710 )
...
Fixes https://github.com/libsdl-org/SDL/issues/6704
2022-11-29 18:34:15 -08:00
Anonymous Maarten
e26e893daf
test: build + fix test/testgles2_sdf.c
2022-11-29 22:43:46 +01:00
Sam Lantinga
c2432f8d0d
Rename SDLmain to SDL_main and SDLtest to SDL_test for consistency with other SDL libraries
2022-11-28 10:57:59 -08:00
Anonymous Maarten
1fa80ca529
cmake: testevdev needs build include headers
2022-11-26 15:37:08 -08:00
Sam Lantinga
63f307fe1f
Remove SDL_config.h from the public headers
...
The SDL headers are no longer dependent on the build configuration.
Fixes https://github.com/libsdl-org/SDL/issues/6643 and https://github.com/libsdl-org/SDL/issues/6641
2022-11-26 04:48:36 -08:00
Anonymous Maarten
cd13600944
cmake: don't reset check state after pushing state
2022-11-24 23:33:54 +01:00
Ozkan Sezer
34231f5ba0
reverted opengles removal.
2022-11-23 18:50:02 +03:00
Ozkan Sezer
bd5d26071a
removed testgles.c remnants.
2022-11-22 22:14:14 +03:00
Sam Lantinga
2c4159b99a
First pass at changing SDL 2.0 to SDL 3.0
2022-11-21 20:28:58 -08:00
Anonymous Maarten
55534e277e
cmake: add time out to tests to avoid ci timeouts
2022-11-16 15:42:08 +01:00
Anonymous Maarten
a22fcf77fd
cmake: older emscripten releases have a broken FindOpenGL.cmake
...
This is fixed since 3.1.10: 485a7b4d6f (diff-034f4d123f23ec5493d0fbf28cba1c36e404a991f286c8d031a22799e4e8b0e5)
2022-11-16 15:42:08 +01:00
Anonymous Maarten
a71e558d85
cmake: testshader needs -sLEGACY_GL_EMULATION on Emscripten
2022-11-16 15:42:08 +01:00
Anonymous Maarten
cfa76973ff
cmake: FindOpenGL.cmake shipped by emscripten does not have OpenGL::GL
2022-11-16 15:42:08 +01:00
Anonymous Maarten
76e3cf3840
cmake: use custom add_sdl_test_executable macro to add test
2022-11-16 15:42:08 +01:00
Pierre Wendling
655275378d
N3DS port (squashed)
...
A dedicated renderer using Citro3D would likely allow for better
much better graphical performances.
2022-10-10 08:50:59 -07:00
Cameron Gutman
ec1137dfbd
cmake: Apply CETCOMPAT fix from ef988fe1
to tests
2022-10-09 15:19:47 -05:00
Anonymous Maarten
45da133999
cmake: don't error on apple when using deprecated declarations
2022-10-08 23:41:07 +02:00
Anonymous Maarten
274ec02581
testautomation: avoid format related warnings by using a few pragma's
...
ci: enable -Werror to a few platforms
2022-10-08 23:41:07 +02:00
Anonymous Maarten
57c886551f
automation_main.c: fix -Wformat-zero-length warning due to SDL_SetError("")
2022-10-08 23:41:07 +02:00
Cameron Gutman
2ceea46061
cmake: Enable CET compatibility for x86/x64 targets using VS 16.7+
2022-08-24 11:29:36 -07:00
Francisco Javier Trujillo Mata
46f95a7a5f
Create dummy PS2 Video driver
2022-08-02 11:40:31 -07:00