SDL/src/render/software
Eric Wasylishen 67c91353e0 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
2023-01-15 12:57:42 -08:00
..
SDL_blendfillrect.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blendfillrect.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blendline.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blendline.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blendpoint.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blendpoint.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_draw.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_drawline.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_drawline.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_drawpoint.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_drawpoint.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_render_sw.c Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
SDL_render_sw_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_rotate.c SDL API renaming: SDL_surface.h 2022-12-27 06:36:39 -08:00
SDL_rotate.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_triangle.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_triangle.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00