Mon, 09 Jan 2017 11:30:29 -0800Fixed spacing
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2017 11:30:29 -0800] rev 10801
Fixed spacing

Mon, 09 Jan 2017 10:10:33 -0800Fixed bug 3100 - SetSwapInterval should now be enabled for ANGLE/EGL
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2017 10:10:33 -0800] rev 10800
Fixed bug 3100 - SetSwapInterval should now be enabled for ANGLE/EGL

Mark Logan 2015-08-24 15:57:50 UTC
In SDL_windowsopengles.c, WIN_GLES_SetSwapInterval is as follows:

WIN_GLES_SetSwapInterval(_THIS, int interval)
{
/* FIXME: This should call SDL_EGL_SetSwapInterval, but ANGLE has a bug that prevents this
* from working if we do (the window contents freeze and don't swap properly). So, we ignore
* the request for now.
*/
SDL_Log("WARNING: Ignoring SDL_GL_SetSwapInterval call due to ANGLE bug");
return 0;
}

With a recent version of ANGLE (early July) calling SDL_EGL_SetSwapInterval with a D3D11 backend appears to work just fine. I am working on testing this with D3D9.

--

Alex Szpakowski

I found the bug, it was fixed in 2013. https://bugs.chromium.org/p/angleproject/issues/detail?id=481

In my opinion it should be safe to unconditionally use SetSwapInterval now. Anyone who encounters the bug should update their ANGLE to a version less than 3 years old, especially since they'd be using a SDL version that's 3+ years newer than their ANGLE version.

Mon, 09 Jan 2017 06:00:58 -0500audio: Replaced older resamplers in SDL_AudioCVT with the new ones.
Ryan C. Gordon <icculus@icculus.org> [Mon, 09 Jan 2017 06:00:58 -0500] rev 10799
audio: Replaced older resamplers in SDL_AudioCVT with the new ones.

Mon, 09 Jan 2017 05:59:30 -0500audio: Patched to compile if linking directly to libsamplerate.
Ryan C. Gordon <icculus@icculus.org> [Mon, 09 Jan 2017 05:59:30 -0500] rev 10798
audio: Patched to compile if linking directly to libsamplerate.

Mon, 09 Jan 2017 02:54:42 -0800Implemented full evdev keyboard text support
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2017 02:54:42 -0800] rev 10797
Implemented full evdev keyboard text support
This is based on the Linux kernel driver, and has fallback mapping tables in case we aren't connected to a virtual terminal.

Sun, 08 Jan 2017 20:03:18 -0800Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases
Sam Lantinga <slouken@libsdl.org> [Sun, 08 Jan 2017 20:03:18 -0800] rev 10796
Fixed bug 3545 - SDL_EVDEV_do_text_input() may be too eager to find error cases

Rob

I've ran into an issue where I successfully receive SDL_KEY[UP,DOWN] events but not SDL_TEXTINPUT or SDL_TEXTEDITING. In my case the code in SDL_EVDEV_do_text_input() is returning early (on error) prior to calling SDL_SendKeyboardText(). I'm running on the RaspberryPi 3, without X11.

In SDL_EVDEV_do_text_input() there is a condition to check keysyms with a type value below 0xf0, then subtract 0xf0 from type. Without understanding the purpose of this code, I disabled it, recompiled, and I'm getting correct SDL_TEXTINPUT events. I'm going to guess that my hack/fix is going to be problematic in some other environment, but after some initial testing it looks like everything is running fine in my setup.

Sun, 08 Jan 2017 19:04:38 -0800Removed console check, let the kernel decide whether muting is appropriate on this terminal.
Sam Lantinga <slouken@libsdl.org> [Sun, 08 Jan 2017 19:04:38 -0800] rev 10795
Removed console check, let the kernel decide whether muting is appropriate on this terminal.
We don't fail the init if we can't mute the terminal (we might be running from ssh, or on a system without virtual terminals, etc.)

Sun, 08 Jan 2017 18:32:20 -0800Check the return value of SDL_EVDEV_Init()
Sam Lantinga <slouken@libsdl.org> [Sun, 08 Jan 2017 18:32:20 -0800] rev 10794
Check the return value of SDL_EVDEV_Init()

Sun, 08 Jan 2017 16:18:49 -0500audio: Improvements in channel conversion code.
Ryan C. Gordon <icculus@icculus.org> [Sun, 08 Jan 2017 16:18:49 -0500] rev 10793
audio: Improvements in channel conversion code.

Sun, 08 Jan 2017 14:28:44 -0500audio: Patched to compile with libsamplerate support (again).
Ryan C. Gordon <icculus@icculus.org> [Sun, 08 Jan 2017 14:28:44 -0500] rev 10792
audio: Patched to compile with libsamplerate support (again).