Simple DirectMedia Layer https://libsdl.org
Find a file
Alex Tselousov 514b26e4c4 Removed busyloop from SDL_GPUFence on MacOS
Before, MetalFence was implemented as simply a busy loop on an atomic
int on metal, meaning the cpu would busy wait on the gpu to finish
taking power from it and decreasing battery life. This was the only kind
of cpu-gpu syncing (apart from requesting a swapchain)
2026-06-16 16:38:27 -07:00
.github ci: don't trigger on documentation-only commits 2026-06-16 22:30:14 +02:00
android-project android: fixed crash adding joysticks before joysticks are initialized 2026-06-08 14:35:42 -07:00
build-scripts Use the Microsoft provided GameInputCreate() function (#15797) 2026-06-10 12:57:43 -07:00
cmake cmake: Fixed some copy/paste errors in comments. 2026-06-15 01:40:52 -04:00
docs Revert "Add an invalid #define for SDL_ThreadID() to SDL_oldnames.h (#15801)" 2026-06-12 14:59:22 -07:00
examples credits: Update links to Will Provost's album "The Living Proof" 2026-06-10 20:48:57 -04:00
include Fix the "redundant redeclaration" warning for __debugbreak when using MinGW (#14264) 2026-06-16 18:58:23 -04:00
src Removed busyloop from SDL_GPUFence on MacOS 2026-06-16 16:38:27 -07:00
test credits: Update links to Will Provost's album "The Living Proof" 2026-06-10 20:48:57 -04:00
VisualC Add the Windows notification driver 2026-06-10 13:25:38 -04:00
VisualC-GDK Use the Microsoft provided GameInputCreate() function (#15797) 2026-06-10 12:57:43 -07:00
wayland-protocols revert parts of CodeSpell commit d870911202 from 3rd party sources 2026-05-13 18:00:02 +03:00
Xcode Weak link the UserNotifications framework 2026-06-10 14:17:53 -07:00
.clang-format Add CHECK_PARAM as a conditional macro in clang-format 2026-04-03 11:47:41 -04:00
.clang-tidy
.editorconfig
.gitignore Updated .gitignore for png test data 2025-10-10 08:59:27 -07:00
.wikiheaders-options wikiheaders: Generate a current list of supported environment variables. 2025-09-02 15:49:52 -04:00
AGENTS.md AGENTS.md: Change "may not" to "must not". 2026-04-15 17:26:54 -04:00
Android.mk Add notification framework with test and dummy driver 2026-06-10 13:25:38 -04:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CLAUDE.md CLAUDE.md: Just copy the text from AGENTS.md in here for now. 2026-04-16 13:51:49 -04:00
CMakeLists.txt Use the Microsoft provided GameInputCreate() function (#15797) 2026-06-10 12:57:43 -07:00
CREDITS.md
INSTALL.md Add a link to docs/INTRO-mingw.md 2025-03-06 16:25:17 -08:00
LICENSE.txt Updated copyright for 2026 2026-01-01 09:40:08 -08:00
README.md Revert "Update README.md" 2025-11-16 01:15:10 +03:00
WhatsNew.txt Added SDL_HINT_MOUSE_DPI_SCALE_CURSORS 2025-12-09 17:12:08 -08:00

Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.

You can find the latest release and additional information at: https://www.libsdl.org/

Installation instructions and a quick introduction is available in INSTALL.md

This library is distributed under the terms of the zlib license, available in LICENSE.txt.

Enjoy!

Sam Lantinga (slouken@libsdl.org)