SDL/src/video/riscos
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
..
scancodes_riscos.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosdefs.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosevents.c Backport simplify flags PR #7220 2023-02-09 17:19:46 -08:00
SDL_riscosevents_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosframebuffer.c Handle DPI scaling in SDL_GetWindowSurface 2023-06-14 17:23:54 -07:00
SDL_riscosframebuffer_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosmessagebox.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosmessagebox.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosmodes.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_riscosmodes.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosmouse.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosmouse.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosvideo.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscosvideo.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_riscoswindow.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_riscoswindow.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00