sdl2_frt/src/video
Alex Szpakowski 3672409c51 Changed the way retina resolutions are handled in iOS.
Previously, SDL would always expose display modes and window dimensions in terms of pixels, and would add an extra 'fake' display mode on retina screens which would contain the non-retina resolution. Calling SDL_CreateWindow with the dimensions of that fake display mode would not work.

Now, SDL only exposes display modes and window dimensions in terms of points rather than pixels. If the SDL_WINDOW_ALLOW_HIGHDPI flag is passed into SDL_CreateWindow, then any OpenGL contexts created from that window will be sized in pixels rather than points (retrievable with SDL_GL_GetDrawableSize.) Window dimensions and mouse coordinates are still in terms of points rather than pixels even with that flag.

This matches the behavior of SDL in OS X more closely, and lets users choose whether to make use of retina displays and lets them handle it properly.
2014-07-14 22:35:48 -03:00
..
android Fixes #2611 #2610, Touch events cause crash on Android, thanks Alvin & Sylvain 2014-06-28 12:36:44 -03:00
cocoa Fixed bug 2631 - Mac: minor code cleanup 2014-07-07 12:48:25 -07:00
directfb Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
dummy Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
haiku Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
mir Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context 2014-07-07 10:33:32 -07:00
nacl Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
pandora Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
psp Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
raspberry Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal() 2014-06-04 10:55:26 -07:00
uikit Changed the way retina resolutions are handled in iOS. 2014-07-14 22:35:48 -03:00
wayland Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context 2014-07-07 10:33:32 -07:00
windows Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context 2014-07-07 10:33:32 -07:00
winrt WinRT: fixed the max-button count for WinPhone 8.1 message boxes 2014-05-10 23:39:54 -04:00
x11 Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context 2014-07-07 10:33:32 -07:00
SDL_blit_0.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_1.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_A.c Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
SDL_blit_auto.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_auto.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_copy.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_copy.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_N.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_slow.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit_slow.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_blit.h Fixed bug 2556 - add compilation flag -Wshadow 2014-06-25 00:43:10 -07:00
SDL_bmp.c The Gimp puts out a different bogus color mask for 32-bit .bmp files. :) 2014-07-09 00:09:57 -04:00
SDL_clipboard.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_egl_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_egl.c Fixed mingw64 build and warnings 2014-07-07 10:26:28 -07:00
SDL_fillrect.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_pixels_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_pixels.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_rect_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_rect.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_RLEaccel_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_RLEaccel.c Made the RLE code (semi) readable again 2014-06-25 01:35:17 -07:00
SDL_shape_internals.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_shape.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_stretch.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_surface.c Fixed bug 2628 - invalidate surface->map in SDL_SurfacePalette() 2014-07-07 21:21:05 -07:00
SDL_sysvideo.h Merged Ryan's SDL-gui-backend branch. 2014-06-25 17:06:12 -04:00
SDL_video.c Merged Ryan's SDL-gui-backend branch. 2014-06-25 17:06:12 -04:00
sdlgenblit.pl Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00