SDL/src/video
Sam Lantinga 140918bb6f Fixed bug 4883 - Add approximation for display DPI on iOS
Aaron Barany

There appears to be no way to directly access the display DPI on iOS, so as an approximation the DPI for the iPhone 1 is used as a base value and is multiplied by the screen's scale. This should at least give a ballpark number for the various screen scales. (based on https://stackoverflow.com/questions/25756087/detecting-iphone-6-6-screen-sizes-in-point-values it appears that both 2x and 3x are used)

I have updated the patch to use a table of current devices and use a computation as a fallback. I have also updated the fallback computation to be more accurate.
2019-12-08 11:36:40 -08:00
..
android Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed 2019-12-08 11:33:06 -08:00
arm ARM: NEON assembly optimization for SDL_FillRect 2019-10-24 21:17:52 -04:00
cocoa cocoa: Patched to compile on older compilers. 2019-12-05 17:27:06 -05:00
directfb use SDL_zeroa at more places where the argument is an array. 2019-07-31 05:11:40 +03:00
dummy Updated copyright for 2019 2019-01-04 22:01:14 -08:00
emscripten Add a windowID field to SDL_TouchFingerEvent (bug #4331). 2019-08-01 18:22:12 -03:00
haiku haiku: Disable pointer history 2019-12-03 02:49:01 -05:00
khronos Added Vulkan headers version 1.1.91 2018-11-06 16:57:07 -08:00
kmsdrm KMSDRM_GLES_SwapWindow: fix non-vsync case 2019-09-06 08:44:46 -07:00
nacl Updated copyright for 2019 2019-01-04 22:01:14 -08:00
offscreen offscreen: Add new video driver backend Offscreen 2019-09-24 16:36:48 -04:00
pandora Updated copyright for 2019 2019-01-04 22:01:14 -08:00
psp Updated copyright for 2019 2019-01-04 22:01:14 -08:00
qnx Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h 2017-08-28 00:43:14 -07:00
raspberry RPI_FreeCursor: set global_cursor to NULL to prevent double-free (bug 4769) 2019-08-26 18:41:40 +03:00
uikit Fixed bug 4883 - Add approximation for display DPI on iOS 2019-12-08 11:36:40 -08:00
vivante video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
wayland Wayland: touch events, use of memory after it is freed 2019-10-30 21:12:36 +01:00
windows Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!) 2019-10-23 09:26:27 +02:00
winrt WinRT: fix a link-time error when building UWP + x64 2019-10-02 14:55:02 -04:00
x11 Fix sending SDL_WINDOWEVENT_RESTORED after unminimizing windows on X11 2019-12-02 15:41:25 +00:00
yuv2rgb yuv: Patched to make static analysis happy (warned about unused variable). 2018-06-25 13:14:52 -04:00
SDL_blit.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_0.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_1.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_A.c ARM: NEON assembly optimization for function BlitARGBto565PixelAlpha 2019-10-24 21:17:38 -04:00
SDL_blit_auto.c BlitAuto: remove redundant cast to the same type 2019-10-30 14:37:06 +01:00
SDL_blit_auto.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_copy.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_copy.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blit_N.c Readability: remove redundant return, continue, enum declaration 2019-10-30 15:36:17 +01:00
SDL_blit_slow.c Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
SDL_blit_slow.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_bmp.c SDL_bmp.c: remove unused variable warnings 2019-09-05 10:08:47 +02:00
SDL_clipboard.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_egl.c Android: remove eglGetProcAdded busted comment (bug #4040) 2019-10-23 11:07:11 +02:00
SDL_egl_c.h offscreen: Avoid using EGLDeviceEXT as it causes issues with older platforms, which is just a void* 2019-09-24 17:27:51 -04:00
SDL_fillrect.c Use fill_function for FillRect SIMD/NEON (bug 4365) 2019-10-29 16:13:41 +01:00
SDL_pixels.c Added SDL_PIXELFORMAT_BGR444 2019-11-02 22:58:52 +00:00
SDL_pixels_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rect_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_RLEaccel.c Fix const warning in RLE getpix functions 2019-10-30 16:17:59 +01:00
SDL_RLEaccel_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_shape.c Readability: remove redundant cast to the same type 2019-10-30 15:13:55 +01:00
SDL_shape_internals.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_stretch.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_surface.c Fixed whitespace 2019-10-18 08:56:54 -07:00
SDL_sysvideo.h Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed 2019-12-08 11:33:06 -08:00
SDL_video.c Fixed bug 4890 - Add hint for SDL that the graphics context is externally managed 2019-12-08 11:33:06 -08:00
SDL_vulkan_internal.h video: Add Vulkan support for vivante fb 2019-05-19 10:36:44 -07:00
SDL_vulkan_utils.c vulkan: Fixed use-after-free bug. 2019-06-12 15:37:07 -04:00
SDL_yuv.c Android: minor warning 2019-08-30 09:00:06 +02:00
SDL_yuv_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
sdlgenblit.pl BlitAuto: remove redundant cast to the same type 2019-10-30 14:37:06 +01:00