SDL/build-scripts
Sam Lantinga c699f3d1d8 Updated SDL high DPI support
We have gotten feedback that abstracting the coordinate system based on the display scale is unexpected and it is difficult to adapt existing applications to the proposed API.

The new approach is to provide the coordinate systems that people expect, but provide additional information that will help applications properly handle high DPI situations.

The concepts needed for high DPI support are documented in README-highdpi.md. An example of automatically adapting the content to display scale changes can be found in SDL_test_common.c, where auto_scale_content is checked.

Also, the SDL_WINDOW_ALLOW_HIGHDPI window flag has been replaced by the SDL_HINT_VIDEO_ENABLE_HIGH_PIXEL_DENSITY hint.

Fixes https://github.com/libsdl-org/SDL/issues/7709
2023-05-17 12:58:00 -07:00
..
android-prefab.sh cmake: no more SDL3_* cache variables 2023-01-31 01:59:21 +01:00
androidbuild.sh Updated Android build tools version, which bumped minimum deployment target to API 14 2017-10-23 23:23:47 -07:00
androidbuildlibs.sh Specify bash for androidbuildlibs.sh 2023-03-10 07:26:37 -08:00
clang-format-src.sh Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
cmake-toolchain-mingw64-i686.cmake Added toolchain files for cross-compiling to Windows 2022-11-25 15:37:30 -08:00
cmake-toolchain-mingw64-x86_64.cmake Added toolchain files for cross-compiling to Windows 2022-11-25 15:37:30 -08: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
fnsince.pl Unify all the SDL_*RunApp() functions into just SDL_RunApp() 2022-12-15 08:01:01 -08:00
gen_audio_channel_conversion.c Fixed crash in new audio channel conversion code 2023-05-04 15:50:38 -07:00
gen_audio_resampler_filter.c Revert "gen_audio_resampler_filter: Use SDL_PI_F" 2023-01-16 10:04:22 +01:00
git-pre-push-hook.pl Remove some vim config lines 2023-02-10 11:00:48 +01: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 SDL_migration.cocci / rename_api.py: handle migration of enum/structure 2023-01-11 23:33:14 +01:00
rename_headers.py Catch SDL_opengles2.h in rename_headers.py 2023-01-10 15:25:48 -08:00
rename_symbols.py Fixed parsing symbols from SDL_oldnames.h 2023-01-04 13:51:00 -08:00
SDL_migration.cocci Updated SDL high DPI support 2023-05-17 12:58:00 -07:00
showrev.sh Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08: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 cmake: pass VERSION to project() + don't use SDL_VERSION 2023-01-31 01:59:21 +01:00
update-copyright.sh Use GNU sed if available 2023-02-06 15:47:16 -08:00
update-version.sh cmake: pass VERSION to project() + don't use SDL_VERSION 2023-01-31 01:59:21 +01:00
updaterev.sh Switch header convention from #include "SDL.h" to #include <SDL3/SDLh> 2022-11-26 22:15:18 -08:00
wikiheaders.pl Fixed wikiheaders.pl with perl-5.10.1 (thanks @sezero!) 2023-03-24 13:57:24 -07:00