SDL/src/video
Frank Praznik e9d3dcea73 wayland: Unify integer and fractional output scaling
Previously, scale values used by the displays and surfaces were always integers, with fractional scale values only being calculated when the backbuffer and viewport sizes were being determined. Now, if xdg-output is available, the fractional scale of output displays is calculated when the displays are enumerated and the true scale values of the output devices are used whenever possible.

This unifies the integer and fractional scaling systems, allows for the use of more accurate scale values that minimize overdraw when windows straddle multiple outputs, and lays the groundwork for the pending Wayland scaling protocols that will report the preferred scale values per-surface instead of per-output.
2022-06-10 14:24:12 -07:00
..
android Fixed building with C89 compiler 2022-05-30 12:02:25 -07:00
arm
cocoa video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
directfb video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
dummy hints: Make SDL_VIDEODRIVER and SDL_AUDIODRIVER formal hints. 2022-04-17 11:31:55 -07:00
emscripten emscripten: use MAIN_THREAD_EM_ASM for the fb/cursor proxying 2022-06-08 08:09:46 -07:00
haiku video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
khronos Update SDL's copy of the EGL headers from Khronos 2021-08-25 10:50:21 -10:00
kmsdrm Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
nacl re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory 2022-01-28 20:40:19 -05:00
ngage N-Gage port: add changes from code reviews, overall cleanup (#5618) 2022-05-11 09:31:34 -07:00
offscreen simplify SDL_DUMMY/OFFSCREEN_CreateWindowFramebuffer 2022-02-02 14:45:48 -05:00
os2 video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
pandora video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
psp video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
qnx QNX: use SDL_malloc 2021-11-22 08:38:46 -08:00
raspberry video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
riscos riscos: Ensure that last_mouse_buttons is initialised correctly 2022-05-25 14:26:36 -07:00
uikit video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
vita video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
vivante video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
wayland wayland: Unify integer and fractional output scaling 2022-06-10 14:24:12 -07:00
windows ime: windows: allocate space for null terminator 2022-05-28 08:57:29 -07:00
winrt video: Only check major version in SDL_GetWindowWMInfo 2022-05-24 08:56:23 -07:00
x11 x11: Force window back to expected size after SDL_SetWindowBordered. 2022-06-10 14:13:07 -04:00
yuv2rgb Add optimiztion function with LSX in LoongArch 2022-06-06 08:49:09 -07:00
SDL_blit.c Fixed bug #2199: make SDL_blit_slow handles SDL_PIXELFORMAT_ARGB2101010, storing as RGBA 2022-03-15 17:46:12 +01:00
SDL_blit.h Remove 'reserved identifier' warning 2022-03-16 18:04:40 +01:00
SDL_blit_0.c Fixed bug #2140: basic support to convert 16 colors palette PIXELFORMAT_INDEX4, to allow conversion to SDL_Texture 2022-02-10 13:44:59 +01:00
SDL_blit_1.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_A.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_auto.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_auto.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_copy.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_copy.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blit_N.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_blit_slow.c SDL_blit_slow: remove one nested 'if()' because of ARGB2101010 handling 2022-03-16 18:08:20 +01:00
SDL_blit_slow.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_bmp.c Fixed loading 32-bit BMP files 2022-03-31 16:15:51 -07:00
SDL_clipboard.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_egl.c Fix C89 build errors in Windows builds 2022-05-18 15:03:15 -07:00
SDL_egl_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_fillrect.c Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
SDL_pixels.c Move SDL_List functions to SDL_list.c to avoid more merge with eventual PR 2022-04-01 07:59:16 +02:00
SDL_pixels_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect.c SDL_Rect: Added floating point versions of all the rectangle APIs. 2022-03-19 10:35:24 -04:00
SDL_rect_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect_impl.h SDL_Rect: Added floating point versions of all the rectangle APIs. 2022-03-19 10:35:24 -04:00
SDL_RLEaccel.c Don't use SDL_SIMDFree() if the pixels haven't been allocated with SDL_SIMDAlloc() 2022-05-11 08:40:17 -07:00
SDL_RLEaccel_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_shape.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_shape_internals.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_stretch.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_surface.c re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory 2022-01-28 20:40:19 -05:00
SDL_sysvideo.h Make sure SDL_CaptureMouse() is only called on the main thread 2022-05-19 09:52:47 -07:00
SDL_video.c Make sure SDL_CaptureMouse() is only called on the main thread 2022-05-19 09:52:47 -07:00
SDL_vulkan_internal.h sync handling of subsystems II. 2022-01-28 20:40:19 -05:00
SDL_vulkan_utils.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_yuv.c Add optimiztion function with LSX in LoongArch 2022-06-06 08:49:09 -07:00
SDL_yuv_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
sdlgenblit.pl Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00