searching for Mir
Fri, 20 Mar 2020 11:52:18 +0300[NSOpenGLContext update[ is prohibited outside the main thread
Emir Marincic <learath2@gmail.com> [Fri, 20 Mar 2020 11:52:18 +0300] rev 13647
[NSOpenGLContext update[ is prohibited outside the main thread

Sat, 07 Mar 2020 08:48:04 -0800Fixed regression in bug 4966 - KMSDRM: Add dynamic modeset support
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Mar 2020 08:48:04 -0800] rev 13592
Fixed regression in bug 4966 - KMSDRM: Add dynamic modeset support

Anthony Pesch

I was just communicating with one of the Retropie developers regarding this.

This change removed the forced window focus change on creation (https://github.com/inolen/SDL-mirror/commit/3534cb3793f4744509f020f1267f510ec7099366) as part of the change no longer assumes there's only a single window being created. This was perhaps an over-aggressive removal.

Due to that change, joystick events are only received if SDL_SetKeyboardFocus is called explicitly, or if the app has specified SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS.

I think that part of my change should be reverted to continue setting mouse / keyboard focus to the window being created. If SDL_WINDOW_INPUT_FOCUS is to be used as an input flag the code could be conditional, but that would still leave existing software broken.

Wed, 22 May 2019 23:16:54 +0200Fix SHIFT + Fx reporting in GEM. Contributed by Miro Kropacek SDL-1.2
Patrice Mandin <patmandin@gmail.com> [Wed, 22 May 2019 23:16:54 +0200] rev 12749
Fix SHIFT + Fx reporting in GEM. Contributed by Miro Kropacek

Wed, 22 May 2019 23:10:33 +0200Use Supexec() to query EdDI version. Fixes for Coldfire CPU build. SDL-1.2
Patrice Mandin <patmandin@gmail.com> [Wed, 22 May 2019 23:10:33 +0200] rev 12748
Use Supexec() to query EdDI version. Fixes for Coldfire CPU build.
Contributed by Miro Kropacek

Sun, 19 May 2019 10:36:44 -0700video: Add Vulkan support for vivante fb
"Wladimir J. van der Laan" <laanwj@gmail.com> [Sun, 19 May 2019 10:36:44 -0700] rev 12733
video: Add Vulkan support for vivante fb
Vivante drivers use the VK_KHR_display extension for rendering directly
to the frame buffer. This patch adds support to the video driver for
Vulkan rendering using that method.

- Add an utility function SDL_Vulkan_Display_CreateSurface that creates
a surface using this extension. The display to use (if there are
multiple) can be overridden using the environment variable
"SDL_VULKAN_DISPLAY".

- Use this function in a new compilation unit SDL_vivantevideo.c,
which implements the SDL_VIDEO_VULKAN methods of the driver structure.

Fri, 04 Jan 2019 22:09:38 -0800Fixed bug 4255 - SDL_GetGlobalMouseState() returns incorrect Y on secondary display
Sam Lantinga <slouken@libsdl.org> [Fri, 04 Jan 2019 22:09:38 -0800] rev 12504
Fixed bug 4255 - SDL_GetGlobalMouseState() returns incorrect Y on secondary display

Julian Raschke

I use an open Mac laptop with an additional external monitor. The coordinate spaces from SDL_GetGlobalMouseState() and SDL_GetWindowPosition() match on the primary display, but not on the secondary display.

Cocoa window coordinates are vertically flipped in relation to the primary display:

https://github.com/spurious/SDL-mirror/blob/release-2.0.8/src/video/cocoa/SDL_cocoawindow.m#L219-L222

However, Cocoa_GetGlobalMouseState inverts the cursor Y coordinate per-display:

https://github.com/spurious/SDL-mirror/blob/release-2.0.8/src/video/cocoa/SDL_cocoamouse.m#L320-L323

Suggested fix: Replace the for-loop with this simpler calculation:

*x = (int) cocoaLocation.x;
*y = (int) (CGDisplayPixelsHigh(kCGDirectMainDisplay) - cocoaLocation.y);

Tue, 06 Nov 2018 16:57:07 -0800Added Vulkan headers version 1.1.91
Sam Lantinga <slouken@libsdl.org> [Tue, 06 Nov 2018 16:57:07 -0800] rev 12401
Added Vulkan headers version 1.1.91
Downloaded from https://github.com/KhronosGroup/Vulkan-Headers

Fri, 02 Nov 2018 21:34:17 -0400mir: Removed mir client support.
Ryan C. Gordon <icculus@icculus.org> [Fri, 02 Nov 2018 21:34:17 -0400] rev 12391
mir: Removed mir client support.

Fixes Bugzilla #4288.

Fri, 22 Jun 2018 21:03:40 +0300SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114) SDL-1.2
Ozkan Sezer <sezeroz@gmail.com> [Fri, 22 Jun 2018 21:03:40 +0300] rev 12026
SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114)

CPS stuff are deprecated and emit warnings at runtime, e.g.:

warning: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore
warning: CPSSetForegroundOperationState() (as above)
warning: capture_display; Captured mirror master 0x350000c1 (unit 1) on behalf of slave 0x042716c0 (unit 0)

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055749.html
suggests doing something like:

ProcessSerialNumber psn = { 0, kCurrentProcess};
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
SetFrontProcess (&psn);

And SetFrontProcess() is deprecated in 10.9. Processes.h suggests
[[NSApplication sharedApplication] activateIgnoringOtherApps: YES]
to make one's own application frontmost.

Fri, 23 Feb 2018 19:12:04 -0500Backout the vulkan change in cd67e676bca7 breaks Mir builds
Brandon Schaefer <brandontschaefer@gmail.com> [Fri, 23 Feb 2018 19:12:04 -0500] rev 11895
Backout the vulkan change in cd67e676bca7 breaks Mir builds