Sat, 02 Sep 2017 19:35:32 -0400video: Let video targets optionally decide their default OpenGL configs.
Ryan C. Gordon <icculus@icculus.org> [Sat, 02 Sep 2017 19:35:32 -0400] rev 11444
video: Let video targets optionally decide their default OpenGL configs.

This is necessary because the Raspberry Pi is a strange beast, that believes
it has OpenGL support (through glX?) but generally has GLES2 support.

So when using the raspberry video target, we need to force this to default
to a GLES2 context, or by default SDL_CreateWindow() will fail, deep down
when it tries to load the proper GL library.

Fixes testsprite2 (and basically everything else that wasn't testgles2) when
run on a Raspberry Pi without a X server.

Please note that other targets might also need this filled in, the Raspberry
Pi is just the most prominent and readily-available System-On-A-Chip style
thing on my desk. :)

Sat, 02 Sep 2017 16:41:14 -0400sndio: Patched to compile if SIO_DEVANY isn't defined.
Ryan C. Gordon <icculus@icculus.org> [Sat, 02 Sep 2017 16:41:14 -0400] rev 11443
sndio: Patched to compile if SIO_DEVANY isn't defined.

(It isn't in whatever Raspbian is currently shipping.)

Fri, 01 Sep 2017 12:54:38 -0700Fixed bug 3792 - [KMS/DRM] Wrong GBM format
Sam Lantinga <slouken@libsdl.org> [Fri, 01 Sep 2017 12:54:38 -0700] rev 11442
Fixed bug 3792 - [KMS/DRM] Wrong GBM format

Romain Tisserand

Using KMS/DRM driver from WIP SDL2.0.6 on Linux/ARM SoC RockChip RK3328 (ARM Mali 450 MP2 GPU).

The current code is using GBM_BO_FORMAT_XRGB8888 as GBM buffer format specifier.

The Mali driver (it has been confirmed some other vendor implementations too) expects GBM_FORMAT_XRGB8888.

The Mesa implementation is actually handling both values as the same, but it's not implemented like this into every gbm.h vendor header.

https://github.com/ideak/mesa/blob/master/src/gbm/backends/dri/gbm_dri.c

So with stock SDL2 on my card (Mali vendor implementation), it does not work, eglCreateWindowSurface fails, and gbm_is_format_supported fails too (with the BO variant).
It runs fine with GBM_FORMAT_XRGB8888.

Here is a link of the gbm.h from Mali user-space driver :

https://github.com/rockchip-linux/libmali/blob/rockchip/include/gbm.h

Fri, 01 Sep 2017 14:08:09 -0400x11: Correctly restore previous GL context after sacrificial context is done.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Sep 2017 14:08:09 -0400] rev 11441
x11: Correctly restore previous GL context after sacrificial context is done.

Fri, 01 Sep 2017 14:00:11 -0400x11: don't try to make a NULL GL context current when we already did that.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Sep 2017 14:00:11 -0400] rev 11440
x11: don't try to make a NULL GL context current when we already did that.

Fri, 01 Sep 2017 13:57:40 -0400x11: Clean up sacrificial GL context code.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Sep 2017 13:57:40 -0400] rev 11439
x11: Clean up sacrificial GL context code.

Check for failures, restore any previously-current context.

Fri, 01 Sep 2017 13:27:53 -0400x11: Make a sacrificial glX context to check for extensions during init.
Ryan C. Gordon <icculus@icculus.org> [Fri, 01 Sep 2017 13:27:53 -0400] rev 11438
x11: Make a sacrificial glX context to check for extensions during init.

This is necessary because we need to see if GLES compat extensions exist.

All of this code (including ShouldUseTextureFramebuffer()) should be
revisited after 2.0.6 ships; ideally we don't make throwaway contexts if
we can avoid it...but maybe we can't. I hear Vulkan is pretty cool.

Fixes Bugzilla #3725.

Thu, 31 Aug 2017 22:07:28 -0300macOS: Update controller mapping of Steelseries Stratus XL to account for reversed thumbstick y-axis values (bug #3483).
Alex Szpakowski <slime73@gmail.com> [Thu, 31 Aug 2017 22:07:28 -0300] rev 11437
macOS: Update controller mapping of Steelseries Stratus XL to account for reversed thumbstick y-axis values (bug #3483).

Thu, 31 Aug 2017 21:34:29 -0300macOS: Fix menubar items being enabled when they shouldn't be.
Alex Szpakowski <slime73@gmail.com> [Thu, 31 Aug 2017 21:34:29 -0300] rev 11436
macOS: Fix menubar items being enabled when they shouldn't be.

Thu, 31 Aug 2017 21:26:13 -0300Code style cleanup in the Cocoa and UIKit vulkan files.
Alex Szpakowski <slime73@gmail.com> [Thu, 31 Aug 2017 21:26:13 -0300] rev 11435
Code style cleanup in the Cocoa and UIKit vulkan files.