SDL/src
Jeffrey Knockel e4eab186ec Return xrandr-scaled display modes
XRandR supports applying transformations to an output's picture
including changes to scale. Such scaling is used by some desktop
environments under feature names such as "fractional scaling" to
accomodate HiDPI devices. Alternatively, such scaling can be enabled by
a command such as the following:

xrandr --output DP1 --scale 0.5x0.5 --filter nearest

XRandR scaling has no "HiDPI awareness" or other way for an application
to signal that it wants to work with physical display pixels, and so all
we do is scale SDL's returned display modes so that applications receive
the number of usable pixels that they expect.
2023-05-27 17:20:05 -07:00
..
atomic Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
audio Fixed build warning on Xcode 14.3 2023-05-26 08:19:04 -07:00
core windows: SDL_Delay expects a 32-bit integer 2023-05-27 02:12:59 +02:00
cpuinfo Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
dynapi SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
events Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
file Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
filesystem Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
haptic Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
hidapi Added SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS to control whether SDL_hid_enumerate() enumerates all HID devices or only controllers. 2023-05-27 10:51:52 -07:00
joystick Use the bus in the HIDAPI joystick guid now that it's available 2023-05-26 08:19:04 -07:00
libm Fixed Visual Studio warning 4389 2023-03-30 14:02:04 -07:00
loadso Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
locale Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
main/winrt Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
misc Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
power Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
render Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
sensor Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
stdlib Added support for printing wide strings using "%ls" syntax 2023-05-26 13:58:10 -07:00
test Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
thread SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
timer SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
video Return xrandr-scaled display modes 2023-05-27 17:20:05 -07:00
SDL.c SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
SDL_assert.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dataqueue.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_dataqueue.h Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
SDL_error.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_guid.c Add error returns to void functions that can fail/set errors. 2023-02-09 07:23:21 -08:00
SDL_hints.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_hints_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_internal.h Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
SDL_list.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_log.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00