Sun, 05 Apr 2020 10:44:51 -0700Fixed bug 5076 - SDL_netbsdaudio: Add support for 32-bit LPCM
Sam Lantinga [Sun, 05 Apr 2020 10:44:51 -0700] rev 13691
Fixed bug 5076 - SDL_netbsdaudio: Add support for 32-bit LPCM

Nia Alarie

The kernel supports this, make SDL expose it so it can be used.

Sun, 05 Apr 2020 09:01:33 -0700Fixed bug 5075 - Don't assume a GL library version number on NetBSD.
Sam Lantinga [Sun, 05 Apr 2020 09:01:33 -0700] rev 13690
Fixed bug 5075 - Don't assume a GL library version number on NetBSD.

Nia Alarie

If you install X as part of NetBSD, the GL library is libGL.so.3, but if you install the GL library later as a package, it's libGL.so.1.

Sun, 05 Apr 2020 08:58:47 -0700Fixed bug 5015 - SDL_RenderReadPixels on DirectX 11.1 backend seems to be broken
Sam Lantinga [Sun, 05 Apr 2020 08:58:47 -0700] rev 13689
Fixed bug 5015 - SDL_RenderReadPixels on DirectX 11.1 backend seems to be broken

Konrad

It appears that I cannot use SDL_RenderReadPixels on a bound framebuffer (SDL_Texture set as render target) as it simply results in gibberish data. However, drawing that framebuffer into the default target (window surface) does render it correctly. Other backends (OpenGL, software, Direct3D) do work fine.

It looks to me like D3D11_RenderReadPixels just gets the general backbuffer and not the current render target and its backbuffer.

Here is the patch which actually fetches the current render target and its underlying ID3D11Resource which is ID3D11Texture2D.

Sun, 05 Apr 2020 08:54:07 -0700Fixed bug 4788 - macOS 10.14 (Mojave) opengl issues (SDL-1.2) SDL-1.2
Sam Lantinga [Sun, 05 Apr 2020 08:54:07 -0700] rev 13688
Fixed bug 4788 - macOS 10.14 (Mojave) opengl issues (SDL-1.2)

Murphy

I don't build SDL apps on macOS myself, but two recent pieces of code I've written have run into this (or a related Mojave/SDL1.2 blank screen bug) for other users. I thought I'd share what I'd gleaned in case it's helpful.

First, I notice the issue specifies OpenGL. Maybe that's a backend thing I'm not aware of or maybe there are multiple blank screen bugs related to Mojave, but this also occurs with applications that aren't (explicitly, anyway) doing anything with OpenGL.

Second, the solution of building with an old SDK (e.g., the macOS 10.13 SDK from Xcode 10.1) resolves it (though it's a pain).

Third, it looks like this came up in DOSBox-X and Jon Campbell patched the vendored SDL1.2 to fix it (I haven't tested this on my own applications). I'm not sure if there was an attempt to upstream this, but here's the commit and a related issue tracker entry where it's discussed:
https://github.com/joncampbell123/dosbox-x/commit/fdf6061c05dcb35a1ea111ad5b75ade350059df3
https://github.com/joncampbell123/dosbox-x/issues/896

Fourth, lending credence to the idea that there may be multiple bugs at play here, some of the Mojave bug reports refer to a *black* screen, but others are less specific about "no video" or "blank screen" or the like. In the case of my applications, the result isn't black. It's light gray or something (possibly a default window background color?).

[Fixed with patch by Alex Sirota]

Sun, 05 Apr 2020 08:46:59 -0700Fixed bug 5072 - Test resources missing when building with SDL_TEST and CMake
Sam Lantinga [Sun, 05 Apr 2020 08:46:59 -0700] rev 13687
Fixed bug 5072 - Test resources missing when building with SDL_TEST and CMake

DominikD

There are several tests that need resources in the output directory to work:
* `testiconv` depends on `utf8.txt`
* `testoverlay2` and `teststreaming` depend on `moose.dat`

This patch adds these two files to the `RESOURCE_FILES` variable.

One could also copy `shapes\*.bmp` over to the output directory for `testshape` to use but this patch doesn't do that for three reasons:
* executable takes path as an argument and doesn't need these files side by side
* these are ~45MB and copying them over would cause build directory to swell
* there are already files in the output directory that can be used with this test (`sample.bmp` and `button.bmp`)

Thu, 02 Apr 2020 12:27:29 -0700Fixed setting the "playandrecord" audio hint on Apple TV
Sam Lantinga [Thu, 02 Apr 2020 12:27:29 -0700] rev 13686
Fixed setting the "playandrecord" audio hint on Apple TV

The Apple TV doesn't have record capability by default, so activating the audio session with AVAudioSessionCategoryPlayAndRecord fails.

Wed, 01 Apr 2020 16:39:05 -0700Updated thread priorities for Apple operating systems
Sam Lantinga [Wed, 01 Apr 2020 16:39:05 -0700] rev 13685
Updated thread priorities for Apple operating systems

Wed, 01 Apr 2020 13:43:53 -0400configure: Remove wayland-protocols check from configure and CMake scripts.
Ryan C. Gordon [Wed, 01 Apr 2020 13:43:53 -0400] rev 13684
configure: Remove wayland-protocols check from configure and CMake scripts.

We ship these with SDL now, don't need the system versions installed.

Tue, 17 Mar 2020 08:46:34 +0100Fix shared library suffix on OSX
Flamefire [Tue, 17 Mar 2020 08:46:34 +0100] rev 13683
Fix shared library suffix on OSX

Mon, 30 Mar 2020 14:26:21 -0700SDL: plumb previously unused digital trigger bits for PS4 controllers. Victrix fight stick only sets these bits and doesn't send the analog values
Sam Lantinga [Mon, 30 Mar 2020 14:26:21 -0700] rev 13682
SDL: plumb previously unused digital trigger bits for PS4 controllers. Victrix fight stick only sets these bits and doesn't send the analog values

CR: SamL