Simple DirectMedia Layer https://libsdl.org
Find a file
Frank Praznik adad6514d4 wayland: Add aspect-correct output for scaled modes
Add aspect-correct output of scaled video modes and a hint to control this behavior (aspect, stretch, or none).

The Wayland spec states that fullscreen surfaces that do not cover the entire output shall be centered with the borders masked by the compositor, so no additional work is required aside from calculating the proper window dimensions.

The default is still 'stretch' mode, as some window managers as of this time (KDE and older versions of GNOME still found in LTS distros) don't behave according to the spec and present an unmasked window that is not centered, so it's not yet safe to change the default.
2023-05-31 13:41:49 -04:00
.github Disable HIDAPI libusb support on FreeBSD in CI 2023-05-26 08:19:04 -07:00
android-project Added Android hidapi 0.14.0 support 2023-05-26 08:19:04 -07:00
build-scripts SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
cmake rwlock: Added SDL_rwlock API for shared locks. 2023-04-27 21:54:02 -04:00
docs Consolidate the X11 WM_CLASS and Wayland app ID envvars 2023-05-28 19:15:36 -04:00
include wayland: Add aspect-correct output for scaled modes 2023-05-31 13:41:49 -04:00
mingw/pkg-support/cmake build: don't add SDL3 subfolder to include path for external projects 2022-11-27 14:33:13 -08:00
src wayland: Add aspect-correct output for scaled modes 2023-05-31 13:41:49 -04:00
test testautomation_guid.c: fix integer warning in 32 bit builds. 2023-05-31 04:50:02 +03:00
VisualC rwlock: Added SDL_rwlock API for shared locks. 2023-04-27 21:54:02 -04:00
VisualC-GDK gdk: Fix the project 2023-05-26 14:53:17 -07:00
VisualC-WinRT rwlock: Added SDL_rwlock API for shared locks. 2023-04-27 21:54:02 -04:00
wayland-protocols wayland: Support axis relative direction 2023-04-05 08:58:12 -04:00
Xcode rwlock: Added SDL_rwlock API for shared locks. 2023-04-27 21:54:02 -04:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:01 -08:00
.clang-tidy Add clang-tidy config and CMake/CI support. 2023-02-06 21:02:25 -08:00
.editorconfig Fixed formatting for Haiku cc files 2023-01-25 03:03:41 -08:00
.gitignore Don't ignore "build-scripts" 2023-05-30 19:56:17 -07:00
.wikiheaders-options sdlwiki: SDL3 advises users to include through 'SDL3/SDL.h' 2023-03-21 02:19:19 +01:00
Android.mk Create a static SDL_test library on Android 2023-01-25 13:06:42 -08:00
BUGS.txt
CMakeLists.txt cmake: don't force enable/disable SDL_HIDAPI_LIBUSB 2023-05-28 03:27:20 +02:00
CREDITS.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
INSTALL.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
LICENSE.txt Updated copyright for 2023 2023-01-09 09:41:41 -08:00
README-SDL.txt
README.md First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
TODO.txt
WhatsNew.txt Android: control activity re-creation 2023-05-12 07:48:33 -07:00

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)