Sun, 19 Jul 2020 19:53:57 +0200Added comment about window creation behaviour in KMSDRM.
Manuel Alfayate Corchete [Sun, 19 Jul 2020 19:53:57 +0200] rev 13964
Added comment about window creation behaviour in KMSDRM.

Sun, 19 Jul 2020 19:11:02 +0200Delete windata variable no longer needed in KMSDR_SetDisplayMode().
Manuel Alfayate Corchete [Sun, 19 Jul 2020 19:11:02 +0200] rev 13963
Delete windata variable no longer needed in KMSDR_SetDisplayMode().

Sun, 19 Jul 2020 19:09:15 +0200Surfaces have to be recreated immediately from KMSDRM_SetDisplayMode().
Manuel Alfayate Corchete [Sun, 19 Jul 2020 19:09:15 +0200] rev 13962
Surfaces have to be recreated immediately from KMSDRM_SetDisplayMode().

Sun, 19 Jul 2020 18:45:29 +0200Fix SDL_Window recreation: drmModeSetCrtc() has to be called everytime the EGL and GBM surfaces are recreated.
Manuel Alfayate Corchete [Sun, 19 Jul 2020 18:45:29 +0200] rev 13961
Fix SDL_Window recreation: drmModeSetCrtc() has to be called everytime the EGL and GBM surfaces are recreated.

Sun, 19 Jul 2020 08:55:01 -0700Fixed bug 5231 - Fix for hardware cursor: size and alpha-premultiplication.
Sam Lantinga [Sun, 19 Jul 2020 08:55:01 -0700] rev 13960
Fixed bug 5231 - Fix for hardware cursor: size and alpha-premultiplication.

Manuel Alfayate Corchete

I noticed pt2-clone had problems with it's optional hardware mouse on the KMSDRM backend: cursor had a transparent block around it.
So I was investigating and it seems that a GBM cursor needs it's pixels to be alpha-premultiplied instead of straight-alpha.
A
lso, I was previously relying on "manual testing" for the cursor size, but it's far better to use whatever the DRM driver recommends via drmGetCap(): any working driver should make a size recommendation via drmGetCap(), so that's what we use now. I took this decision because I found out that the AMDGPU driver reported working cursor sizes that would appear garbled on screen, and only the recommended cursor size works.

Sat, 18 Jul 2020 23:05:02 +0300coreaudio: fix build for older versions / against older sdks after commit 45055c6 SDL-1.2
Ozkan Sezer [Sat, 18 Jul 2020 23:05:02 +0300] rev 13959
coreaudio: fix build for older versions / against older sdks after commit 45055c6

Fri, 17 Jul 2020 22:21:37 -0700Re-add check for Metal on x86, where it's not supported.
Sam Lantinga [Fri, 17 Jul 2020 22:21:37 -0700] rev 13958
Re-add check for Metal on x86, where it's not supported.

Fri, 17 Jul 2020 17:44:34 -0400coreaudio: Move off deprecated APIs. SDL-1.2
Ryan C. Gordon [Fri, 17 Jul 2020 17:44:34 -0400] rev 13957
coreaudio: Move off deprecated APIs.

Fixes SDL 1.2 audio on macOS 11.0 beta ("Big Sur").

Fri, 17 Jul 2020 11:16:35 -0400metal: Make sure we have a command buffer available before trying to present.
Ryan C. Gordon [Fri, 17 Jul 2020 11:16:35 -0400] rev 13956
metal: Make sure we have a command buffer available before trying to present.

This fixes a case where you render to the backbuffer, then render to a render
target, set the current target back to the backbuffer, and then present
without drawing anything else; in this circumstance, the Present command
would never happen.

Fixes Bugzilla #5011.

Thu, 16 Jul 2020 13:28:59 -0400Patched to compile.
Ryan C. Gordon [Thu, 16 Jul 2020 13:28:59 -0400] rev 13955
Patched to compile.