SDL/src
David Ludwig 50ee99ecb2 WinRT: Made app-backgrounded events get sent at separate, distinct times.
SDL_APP_WILLENTERBACKGROUND is now sent as soon as the app is told that it is
about to go to the background.  SDL_APP_DIDENTERBACKGROUND is sent via a WinRT
'deferral operation', which is how WinRT gives apps a bit of extra time
(multiple seconds worth) to prepare for an app-backgrounding.

The distinction may be important as the deferral operation's code is always run
in a separate thread.  For Direct3D-only apps, this means that between the
two SDL app-backgrounded events, SDL_APP_WILLENTERBACKGROUND will be the only
one run from the main thread.  Given that some WinRT operations can only be done
on the main thread (operations to the CoreWindow fall into this category), this
could be important.

It is important to note that pre-deferral code may only have a very short bit of
time to execute code, less so than code run in the deferral operation (where
SDL_APP_DIDENTERBACKGROUND is sent from), which usually gets several seconds to
run.
2014-03-23 08:56:52 -04:00
..
atomic Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
audio Patched to compile on C89 compilers, removed more streamer code. 2014-03-20 18:00:41 -04:00
core WinRT: Made app-backgrounded events get sent at separate, distinct times. 2014-03-23 08:56:52 -04:00
cpuinfo Static analysis fix: Value stored to '[bcd]' is never read. 2014-03-19 16:55:38 -04:00
dynapi Don't overwrite SDL_dynapi.h in checker-buildbot.sh. 2014-03-19 16:02:25 -04:00
events Fixed bug 2430 - Missing initialization of the variable 'centroid' inside SDL_GestureAddTouch 2014-03-06 20:02:17 -08:00
file Fixed iOS build 2014-03-15 19:30:52 -07:00
filesystem Added missing copyright notices 2014-03-13 21:21:26 -07:00
haptic Fixed SDL_HapticNewEffect() failing on various DirectInput devices. 2014-03-18 17:16:28 -04:00
joystick Fixed PS4 game controller config on Windows. 2014-03-18 12:53:01 -04:00
libm Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
loadso Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
main Fixed a build error when including WinRT's SDLmain file directly in an app 2014-03-15 10:37:40 -04:00
power Added a missing file related to WinRT power management/reporting. 2014-03-14 01:36:05 -04:00
render Static analysis fix: uninitialized value. 2014-03-20 16:23:18 -04:00
stdlib Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
test Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError 2014-03-11 07:17:56 -07:00
thread Fixed the copyright date on files contributed by David Ludwig 2014-03-13 00:40:08 -07:00
timer Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
video WinRT globals cleanup: Removed WINRT_GlobalSDLVideoDevice 2014-03-22 21:08:05 -04:00
SDL.c Fixed bug 2423 - timeBeginPeriod & timeEndPeriod mismatch 2014-03-01 09:50:52 -08:00
SDL_assert.c Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
SDL_assert_c.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_error.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_error_c.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_hints.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_internal.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_log.c Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00