SDL/src/video/x11
Eric Wasylishen 76392f4fe1 Handle DPI scaling in SDL_GetWindowSurface
Fixes DPI awareness of testdrawchessboard (previously, the surface was
being created in points instead of pixels, resulting in the demo app
only drawing in a corner of the screen on High-DPI displays)

*_CreateWindowFramebuffer()/*_UpdateWindowFramebuffer(): are updated
to use SDL_GetWindowSizeInPixels instead of SDL_GetWindowSize() or
window->w/window->h.

Most of the _CreateWindowFramebuffer backends are untested except
for Windows.

Fixes #7047

(cherry picked from commit 67c91353e01f6f2c0cc80c17eeddbad6def7cb01)
2023-06-14 17:23:54 -07:00
..
edid-parse.c Remove unneeded semicolon 2022-11-17 10:43:45 +01:00
edid.h Update for SDL3 coding style (#6717) 2022-11-30 12:57:41 -08:00
SDL_x11clipboard.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_x11clipboard.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11dyn.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11dyn.h SDL_x11dyn.h: include XInput2.h also for Xfixes 2023-02-11 23:51:28 +03:00
SDL_x11events.c Don't bother re-encoding Latin1 characters in the ASCII range 2023-06-04 05:40:07 -07:00
SDL_x11events.h backport x11/sdl2 fixes 2023-03-25 10:27:17 +01:00
SDL_x11framebuffer.c Handle DPI scaling in SDL_GetWindowSurface 2023-06-14 17:23:54 -07:00
SDL_x11framebuffer.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11keyboard.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_x11keyboard.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11messagebox.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11messagebox.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11modes.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_x11modes.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11mouse.c Fix GetGlobalMouseState when xi2 is not available at runtime 2023-02-19 09:56:39 -08:00
SDL_x11mouse.h x11: Fix duplicate Xinput2 event reception 2023-02-25 10:05:43 -08:00
SDL_x11opengl.c video: Only specify some GL context attributes if not the explicit default. 2023-05-25 10:10:03 -04:00
SDL_x11opengl.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11opengles.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_x11opengles.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11shape.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_x11shape.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11sym.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11touch.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11touch.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11video.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_x11video.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11vulkan.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11vulkan.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11window.c x11: check if window size/position has changed during SDL_ShowWindow. 2023-06-07 15:46:59 -04:00
SDL_x11window.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11xfixes.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11xfixes.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_x11xinput2.c Fix -Wunused-function warning when configuring with -DSDL_X11_XINPUT2=OFF 2023-05-26 15:28:58 -04:00
SDL_x11xinput2.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00