SDL2/src/video
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
..
android We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL 2023-01-12 16:17:00 -08:00
arm ARM: NEON assembly optimization for SDL_FillRect 2019-10-24 21:17:52 -04:00
cocoa We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL 2023-01-12 16:17:00 -08:00
dummy Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
emscripten Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
haiku haiku: cast pointer to SDL_FunctionPointer 2023-01-14 15:25:22 +01:00
khronos vulkan_metal.h: Make compatible with ObjC ARC 2022-11-23 17:37:38 -08:00
kmsdrm We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL 2023-01-12 16:17:00 -08:00
n3ds Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
ngage Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
offscreen Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
ps2 Updated copyright for 2023 2023-01-09 09:41:41 -08:00
psp Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
raspberry Fixed building on Raspberry Pi 2023-01-13 14:20:57 -08:00
riscos Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
uikit We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL 2023-01-12 16:17:00 -08:00
vita Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
vivante Fixed build on Steam Link hardware 2023-01-13 16:37:56 -08:00
wayland Revert "wayland: Don't try to restore non-resizable windows" 2023-01-12 17:59:50 -08:00
windows Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
winrt We no longer need explicit SDL_ENABLE_SYSWM_* while building SDL 2023-01-12 16:17:00 -08:00
x11 Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
yuv2rgb Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_blit.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_0.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_1.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_A.c Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_blit_auto.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_auto.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_copy.c Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_blit_copy.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_N.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_slow.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_blit_slow.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_bmp.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_clipboard.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_egl.c Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
SDL_egl_c.h Fixed building on Raspberry Pi 2023-01-13 14:20:57 -08:00
SDL_fillrect.c Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_pixels.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_pixels_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_rect.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_rect_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_rect_impl.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_RLEaccel.c Replaced SDL_SIMDAlloc(), SDL_SIMDRealloc(), and SDL_SIMDFree() with SDL_aligned_alloc() and SDL_aligned_free() 2023-01-09 18:01:59 -08:00
SDL_RLEaccel_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_shape.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_shape_internals.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_stretch.c Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_surface.c Replaced SDL_SIMDAlloc(), SDL_SIMDRealloc(), and SDL_SIMDFree() with SDL_aligned_alloc() and SDL_aligned_free() 2023-01-09 18:01:59 -08:00
SDL_sysvideo.h Functions which return function pointers now return SDL_FunctionPointer instead of void* 2023-01-09 15:46:21 -08:00
SDL_video.c Handle DPI scaling in SDL_GetWindowSurface 2023-01-15 12:57:42 -08:00
SDL_video_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_vulkan_internal.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_vulkan_utils.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_yuv.c Moved SDL_intrin.h back into the public headers for application use 2023-01-10 15:50:35 -08:00
SDL_yuv_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
sdlgenblit.pl Updated copyright for 2023 2023-01-09 09:41:41 -08:00