Gabriel Jacobo
9ceed73db4
Raspberry Pi support (also unified UDEV and EVDEV support)
2013-09-28 13:28:19 -03:00
Edward Rudd
869a707612
add in High DPI support (aka Retina)
...
- based on J?rgen's patch with a few bug fixes
2013-09-20 13:43:00 -04:00
Sam Lantinga
0103bc0bff
Default to OpenGL ES 2.0 instead of 1.0 when it's available.
2013-09-27 22:09:51 -07:00
Sam Lantinga
fae4190dca
Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode. This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now.
...
CR: Sam
2013-09-13 17:42:46 -07:00
Gabriel Jacobo
ace1e98a18
Fixes bug #2040 , prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1
...
SDL_GL_CONTEXT_EGL = 1 is now internally treated as profile_mask = SDL_GL_CONTEXT_PROFILE_ES
2013-08-29 15:02:32 -03:00
Sam Lantinga
e07d7e649c
Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
2013-08-29 08:30:21 -07:00
Sam Lantinga
3e2930defe
Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
2013-08-29 08:29:51 -07:00
Sam Lantinga
f79fc33a39
Christoph Mallon: Remove pointless if (x) before SDL_free(x)
2013-08-29 08:29:21 -07:00
Gabriel Jacobo
64e6eeac7f
Fixes "error: conflicting types for 'GLintptr'"
2013-08-25 11:48:49 -03:00
Gabriel Jacobo
63fe3a7753
Fixes a few non C89 compliant comments
2013-08-20 19:49:24 -03:00
Gabriel Jacobo
0eeb76d869
Fixes bug #2037 , common EGL code for Android and X11
2013-08-19 16:29:46 -03:00
Gabriel Jacobo
dad420670f
Fixes #2022 , do not resume on Android when surfaceChanged
...
If the app is in landscape mode and the user presses the power button, a pause
is followed immediately by a surfaceChanged event because the lock screen
is shown in portrait mode. This triggers a "false" resume.
So, we just pause and resume following the onWindowFocusChanged events.
Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before
blocking the event pump.
2013-08-12 11:13:50 -03:00