SDL/build-scripts
Sam Lantinga 2ba76dbe80 Simplified SDL_Surface
SDL_Surface has been simplified and internal details are no longer in the public structure.

The `format` member of SDL_Surface is now an enumerated pixel format value. You can get the full details of the pixel format by calling `SDL_GetPixelFormatDetails(surface->format)`. You can get the palette associated with the surface by calling SDL_GetSurfacePalette(). You can get the clip rectangle by calling SDL_GetSurfaceClipRect().

SDL_PixelFormat has been renamed SDL_PixelFormatDetails and just describes the pixel format, it does not include a palette for indexed pixel types.

SDL_PixelFormatEnum has been renamed SDL_PixelFormat and is used instead of Uint32 for API functions that refer to pixel format by enumerated value.

SDL_MapRGB(), SDL_MapRGBA(), SDL_GetRGB(), and SDL_GetRGBA() take an optional palette parameter for indexed color lookups.
2024-07-10 00:48:18 -07:00
..
add-source-to-projects.pl add-source-to-projects.pl: Fix adding files in the base src dir. 2023-10-09 19:19:01 -04:00
androidbuildlibs.sh Allow specifying APP_PLATFORM and APP_ABI on the command line 2023-06-21 13:49:09 -07:00
build-release.py android: create android project in create-android-project.py python script 2024-07-05 21:12:26 +02:00
casefolding.txt stdlib: Improve Unicode support and consistency in string comparison functions. 2024-03-29 15:01:40 -04:00
check_stdlib_usage.py Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
clang-format-src.sh Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
cmake-toolchain-mingw64-i686.cmake cmake: add winres to the list of potential name rc compilers 2024-03-05 20:38:00 +01:00
cmake-toolchain-mingw64-x86_64.cmake cmake: add winres to the list of potential name rc compilers 2024-03-05 20:38:00 +01:00
cmake-toolchain-qnx-aarch64le.cmake Do not look at local headers when determining features 2023-03-27 15:33:08 -07:00
cmake-toolchain-qnx-x86_64.cmake Do not look at local headers when determining features 2023-03-27 15:33:08 -07:00
codechecker-buildbot.sh cmake: Prefix all options with "SDL_" 2021-10-05 10:45:26 -04:00
create-android-project.py android: create android project in create-android-project.py python script 2024-07-05 21:12:26 +02:00
create-release.sh Added a script to trigger the release workflow 2024-03-24 07:22:58 -07:00
fnsince.pl build-scripts/fnsince.pl: Remove SDL2-specific fixup. 2024-04-13 08:05:43 -04:00
gen_audio_channel_conversion.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
git-pre-push-hook.pl Remove some vim config lines 2023-02-10 11:00:48 +01:00
makecasefoldhashtable.pl stdlib: Improve Unicode support and consistency in string comparison functions. 2024-03-29 15:01:40 -04:00
mkinstalldirs build-scripts: update install-sh and mkinstalldirs from automake-1.16.3 2020-12-24 01:32:10 +03:00
rename_api.py Rename SDL_Swap(16|32|64)(LE|BE) to SDL_Swap(LE|BE)(16|32|64) 2024-06-12 02:29:39 +02:00
rename_headers.py Define SDL_PLATFORM_* macros instead of underscored ones (#8875) 2024-01-24 01:40:51 +00:00
rename_macros.py Only retain SDL_* + platform macro's in rename_macros.py 2024-01-26 18:05:49 +01:00
rename_symbols.py Added "--substring" to the help for rename_symbols.py 2023-10-23 09:14:54 -07:00
SDL_migration.cocci Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
showrev.sh Moved the SDL version back to SDL_version.h 2024-05-15 14:38:29 -07:00
strip_fPIC.sh Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
test-versioning.sh Moved the SDL version back to SDL_version.h 2024-05-15 14:38:29 -07:00
update-copyright.sh Use GNU sed if available 2023-02-06 15:47:16 -08:00
update-version.sh Moved the SDL version back to SDL_version.h 2024-05-15 14:38:29 -07:00
updaterev.sh Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
wikiheaders.pl wikiheaders: Fix C typedef parsing. 2024-06-15 11:31:17 -04:00