Sat, 21 Oct 2017 04:20:57 -0700Fixed bug 3901 - Fix vsync-ed pageflips on the KMSDRM video driver
Sam Lantinga <slouken@libsdl.org> [Sat, 21 Oct 2017 04:20:57 -0700] rev 11643
Fixed bug 3901 - Fix vsync-ed pageflips on the KMSDRM video driver

Manuel

I noticed that, at least on Intel GPU hardware, passing SDL_RENDERER_PRESENTVSYNC would result on a static console instead of the program graphics.
That was due to the fact that calling drmModePageFlip() only works if we have previously set up CRTC to one of the GBM buffers with a drmModeSetCrtc() call, so now it's done and things work as expected.

The KMSDRM_GLES_SetupCrtc() call is done only one time, only when needed (when egl_swapinterval is not 0: when it's 0, there's no need for it because we flip by calling drmModePageFlip() anyway).
The place where KMSDRM_GLES_SetupCrtc() call is done may look strange, but it's right: it needs EGL completely ready because it needs to call eglSwapBuffers() internally to work (see more comments about it in the code).

Fri, 20 Oct 2017 16:53:42 -0700Fixed typo converting 4 channel audio to 2 channel
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Oct 2017 16:53:42 -0700] rev 11642
Fixed typo converting 4 channel audio to 2 channel

Fri, 20 Oct 2017 14:51:22 -0700Added a note about adjusting channel weights when converting to fewer channels
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Oct 2017 14:51:22 -0700] rev 11641
Added a note about adjusting channel weights when converting to fewer channels

Fri, 20 Oct 2017 14:48:10 -0700Document the SDL audio channel mapping
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Oct 2017 14:48:10 -0700] rev 11640
Document the SDL audio channel mapping

Fri, 20 Oct 2017 10:45:38 -0700Added SDL_AudioStreamFlush() to the list of new audio stream functions
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Oct 2017 10:45:38 -0700] rev 11639
Added SDL_AudioStreamFlush() to the list of new audio stream functions

Fri, 20 Oct 2017 10:29:22 -0700Reverted changes a970b2ae1bd7 and 4a94743e31fe
Sam Lantinga <slouken@libsdl.org> [Fri, 20 Oct 2017 10:29:22 -0700] rev 11638
Reverted changes a970b2ae1bd7 and 4a94743e31fe
I don't want to introduce any regressions with Android TV remote support

Thu, 19 Oct 2017 15:37:52 -0700Fixed Android joystick detection
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Oct 2017 15:37:52 -0700] rev 11637
Fixed Android joystick detection

Thu, 19 Oct 2017 18:05:42 -0400audio: Added SDL_AudioStreamFlush().
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Oct 2017 18:05:42 -0400] rev 11636
audio: Added SDL_AudioStreamFlush().

Thu, 19 Oct 2017 13:54:56 -0700Don't use DPAD devices as joystick input on Android
Sam Lantinga <slouken@libsdl.org> [Thu, 19 Oct 2017 13:54:56 -0700] rev 11635
Don't use DPAD devices as joystick input on Android

Wed, 18 Oct 2017 23:49:46 -0400Check correct variable for malloc() results.
Ryan C. Gordon <icculus@icculus.org> [Wed, 18 Oct 2017 23:49:46 -0400] rev 11634
Check correct variable for malloc() results.