Fri, 21 Dec 2018 20:53:31 -0400render: Fix internal state getting out of sync when destroying a texture that was just rendered and then creating a new one, in the GL and GLES2 backends. Fixes bug #4433.
Alex Szpakowski <slime73@gmail.com> [Fri, 21 Dec 2018 20:53:31 -0400] rev 12483
render: Fix internal state getting out of sync when destroying a texture that was just rendered and then creating a new one, in the GL and GLES2 backends. Fixes bug #4433.

Wed, 19 Dec 2018 18:10:02 -0500render: Prefer the Metal renderer over OpenGL.
Ryan C. Gordon <icculus@icculus.org> [Wed, 19 Dec 2018 18:10:02 -0500] rev 12482
render: Prefer the Metal renderer over OpenGL.

This is the best option for macOS and iOS, the only platforms with Metal.

Pre-Metal versions of these platforms will fall back to OpenGL (ES), as
appropriate.

Huge thanks to Alexander Szpakowski, who worked incredibly hard to get the
Metal renderer to such a high-quality state!

Wed, 19 Dec 2018 18:27:21 -0400metal: Implement SDL_LockTexture for YUV formats.
Alex Szpakowski <slime73@gmail.com> [Wed, 19 Dec 2018 18:27:21 -0400] rev 12481
metal: Implement SDL_LockTexture for YUV formats.

Tue, 18 Dec 2018 14:23:05 -0400metal: Implement SDL_LockTexture for non-YUV textures.
Alex Szpakowski <slime73@gmail.com> [Tue, 18 Dec 2018 14:23:05 -0400] rev 12480
metal: Implement SDL_LockTexture for non-YUV textures.

Sun, 16 Dec 2018 11:15:21 +0100Gesture: remove warnings when ENABLE_DOLLAR is undefined.
Sylvain Becker <sylvain.becker@gmail.com> [Sun, 16 Dec 2018 11:15:21 +0100] rev 12479
Gesture: remove warnings when ENABLE_DOLLAR is undefined.

Sun, 16 Dec 2018 01:04:07 -0500testgl2: Press 'o' or 'p' to decrease/increase OpenGL swap interval.
Ryan C. Gordon <icculus@icculus.org> [Sun, 16 Dec 2018 01:04:07 -0500] rev 12478
testgl2: Press 'o' or 'p' to decrease/increase OpenGL swap interval.

Sun, 16 Dec 2018 01:03:17 -0500cocoa: Implement OpenGL swap interval support with CVDisplayLink.
Ryan C. Gordon <icculus@icculus.org> [Sun, 16 Dec 2018 01:03:17 -0500] rev 12477
cocoa: Implement OpenGL swap interval support with CVDisplayLink.

Not only does this fix macOS 10.14 ("Mojave")'s broken NSOpenGLCPSwapInterval
support, it also lets us implement "adaptive vsync" on macOS!

CVDisplayLink is supported back to macOS 10.4 ("Tiger"), so we just use it
universally without version checks and dump NSOpenGLCPSwapInterval, Mojave or
not.

Sat, 15 Dec 2018 16:21:24 +0100Fixed bug 4426 - allows re-creation of software renderer
Sylvain Becker <sylvain.becker@gmail.com> [Sat, 15 Dec 2018 16:21:24 +0100] rev 12476
Fixed bug 4426 - allows re-creation of software renderer

Switching between renderers "software -> opengl -> opengles2 -> software" fails.

"opengl -> opengles2" calls SDL_RecreateWindow() and frees "window->surface"
without marking it as "surface_invalid".

Sat, 15 Dec 2018 09:57:05 -0500emscripten: SDL_PrivateJoystickAdded() wants an instance id, not device index.
Ryan C. Gordon <icculus@icculus.org> [Sat, 15 Dec 2018 09:57:05 -0500] rev 12475
emscripten: SDL_PrivateJoystickAdded() wants an instance id, not device index.

Sat, 15 Dec 2018 14:50:12 +0100Fixed bug 4425 - promote to alpha format, palette surface with alpha values.
Sylvain Becker <sylvain.becker@gmail.com> [Sat, 15 Dec 2018 14:50:12 +0100] rev 12474
Fixed bug 4425 - promote to alpha format, palette surface with alpha values.

SDL_CreateTextureFromSurface() forgets to choose a texture format with alpha for
surfaces that have palettes with alpha values.