Go to file
Frank Praznik df3fea87d6 wayland: Rework scale-to-display
This extends the display scaling mode to be global and work in terms of pixels everywhere, with the content scale value set on displays. The per-window property had some issues, and has been removed in favor of retaining only the global hint that changes all coordinates to pixel values, sets the content scale on the displays, and generally makes the Wayland backend behave similarly to Win32 or X11.

Some additional work was needed to fix cases where displays can appear to overlap, since Wayland desktops are always described in logical coordinates, and attempting to adjust the display positions so that they don't overlap can get very ugly in all but the simplest cases, as large gaps between displays can result.
2024-05-13 19:10:19 -04:00
.github ci: disable building docs on mingw32/clang32 2024-05-07 22:35:31 +02:00
VisualC include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
VisualC-GDK Fixed building with GDK (thanks @Romans-I-XVI!) 2024-04-30 10:22:56 -07:00
VisualC-WinRT include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
Xcode ci: fix dmg release artifacts 2024-05-05 01:30:07 +02:00
android-project Android: Implement open and save file dialog. 2024-05-06 09:33:48 -07:00
build-scripts Renaming SDLK_QUOTE and SDLK_BACKQUOTE 2024-05-13 11:11:11 -07:00
cmake camera: add PipeWire camera support 2024-05-09 13:19:27 -07:00
docs Removed SDL_RendererFlags 2024-05-13 15:06:11 -07:00
include wayland: Rework scale-to-display 2024-05-13 19:10:19 -04:00
mingw/pkg-support mingw: add pkg-support files (INSTALL.txt and Makefile) 2024-03-23 21:41:20 +01:00
src wayland: Rework scale-to-display 2024-05-13 19:10:19 -04:00
test wayland: Rework scale-to-display 2024-05-13 19:10:19 -04:00
wayland-protocols Add support for modal windows to more platforms 2024-04-30 13:47:57 -04:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy
.editorconfig
.gitignore .gitignore: Adding compile_commands.json and .cache/ 2024-04-26 08:48:22 -07:00
.wikiheaders-options wikiheaders-options: Correct project full name. 2024-04-30 21:46:56 -04:00
Android.mk Android: Implement open and save file dialog. 2024-05-06 09:33:48 -07:00
BUGS.txt
CMakeLists.txt cmake: add khronos include directories with PRIVATE visibility 2024-05-07 17:37:21 +02:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Updated INSTALL.md 2024-04-10 09:18:42 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00

README.md

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. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)