Simple Directmedia Layer
Go to file
Sam Lantinga 5750bcb174
Update for SDL3 coding style (#6717)
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.

In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.

The script I ran for the src directory is added as build-scripts/clang-format-src.sh

This fixes:
#6592
#6593
#6594
2022-11-30 12:51:59 -08:00
.github Remove sdl3.m4 and sdl3-config, and document pkg-config as the recommended replacement 2022-11-27 14:11:06 -08:00
android-project Add 8BitDo to the list of Xbox 360 third party vendors 2022-11-28 14:54:36 -08:00
build-scripts Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
cmake cmake: move platform detection to cmake/sdl/paltform.cmake for re-use by SDL2-compat 2022-11-29 21:10:56 +03:00
docs Remove depth field from SDL_CreateRGBSurfaceWithFormat and SDL_Create… (#6685) 2022-11-29 09:40:09 -08:00
include begin_code.h: add gcc version checks to the alloc_size attributes. 2022-11-30 11:33:32 +03: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 Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
test Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
VisualC Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
VisualC-GDK Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
VisualC-WinRT Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
wayland-protocols Support wayland fractional scale protocol 2022-11-29 16:35:12 -05:00
Xcode Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
Xcode-iOS/Demos Remove depth field from SDL_CreateRGBSurfaceWithFormat and SDL_Create… (#6685) 2022-11-29 09:40:09 -08:00
.clang-format Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
.editorconfig Remove sdl3.m4 and sdl3-config, and document pkg-config as the recommended replacement 2022-11-27 14:11:06 -08:00
.gitignore reverted opengles removal. 2022-11-23 18:50:02 +03:00
.wikiheaders-options .wikiheaders-options: Add a warning that SDL3 is WIP. 2022-11-22 13:49:03 -05:00
Android.mk Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
cmake_uninstall.cmake.in Fixed bug 3867 - Can't find install_manifest.txt when running 'uninstall' target 2017-10-12 08:44:45 -07:00
CMakeLists.txt Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08: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 2022 2022-01-03 09:40:21 -08:00
Makefile.minimal First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md First pass at changing SDL 2.0 to SDL 3.0 2022-11-21 20:28:58 -08:00
sdl3.pc.in build: don't add SDL3 subfolder to include path for external projects 2022-11-27 14:33:13 -08:00
SDL3Config.cmake.in Rename SDLmain to SDL_main and SDLtest to SDL_test for consistency with other SDL libraries 2022-11-28 10:57:59 -08:00
TODO.txt Fixed up legacy MoinMoin URLs at wiki.libsdl.org 2021-04-01 12:20:33 -04:00
WhatsNew.txt Remove depth field from SDL_CreateRGBSurfaceWithFormat and SDL_Create… (#6685) 2022-11-29 09:40:09 -08: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)