Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| bc57ac27 | 2018-11-02 21:34:17 | mir: Removed mir client support. Fixes Bugzilla #4288. | ||
| 4659e738 | 2018-11-01 12:31:45 | merge fallout: Patched to compile, fixed some compiler warnings, etc. | ||
| aeee424f | 2018-10-31 15:16:51 | Fixed bug 4349 - SDL_CreateWindow fails with KMS/DRM after upgrading Mesa to 18.2.3 Rainer Sabelka After I did an upgrade of my arch Linux installation (resulting in an update of Mesa to version 18.2.3), all my SDL2 applications which use the KMS/DRM driver stopped working. Reason: Creating a Window with SDL_CreateWindow failed because the call to EGL eglCreateWindowSurface() returns an error "EGL_BAD_MATCH". After investigating with the debugger I figured, that the configuration, which has been selected from the output of eglChooseConfig(), has an "EGL_NATIVE_VISUAL_ID" which does not match the "format" of the underlying gbm surface. The attached patch fixes the problem. It does so, by mimicking Weston's behavior. All configurations returned from eglChooseConfig() which have an visual_id different from the gbm format are discarded, and only from the remaining ones the "best" match is selected. | ||
| 62494a2e | 2018-10-31 15:03:41 | Merge SDL-ryan-batching-renderer branch to default. | ||
| a5ebd4d7 | 2018-10-29 10:14:59 | wayland: ask KDE protocol extension to use server-side decorations if possible. | ||
| 91820998 | 2018-10-28 21:36:48 | Add and update include guards Include guards in most changed files were missing, I added them keeping the same style as other SDL files. In some cases I moved the include guards around to be the first thing the header has to take advantage of any possible improvements compiler may have for inclusion guards. | ||
| b262b0eb | 2018-10-22 20:50:32 | Small stack allocations fall back to malloc if they're unexpectedly large. | ||
| 1ec56f73 | 2018-10-20 21:35:48 | x11: Fixed incorrect function signature for XkbSetDetectableAutoRepeat. It needs to use Bool (which is an int) and not BOOL (which is CARD8), which causes problems on platforms with different byte order and alignment, etc. Fixes Bugzilla #4326. | ||
| 1fb20f0a | 2018-10-18 23:38:27 | cocoa: Put a mutex around GL_SwapBuffers. Prevents deadlock when swapping two different GL contexts on two different threads at the same time on macOS 10.14 ("Mojave"). Fixes Bugzilla #4278. | ||
| cad0a2f7 | 2018-10-18 12:05:05 | cocoa: Fix OpenGL rendering on macOS 10.14 ("Mojave"). Fixes Bugzilla #4272. (transplanted from 54729119b348e8a4a916192d1d6cb8d115656255) | ||
| f6773773 | 2018-10-18 12:05:05 | cocoa: Fix OpenGL rendering on macOS 10.14 ("Mojave"). Fixes Bugzilla #4272. | ||
| 072e17bf | 2018-10-18 11:59:48 | cocoa: GL_GetDrawableSize only uses -[NSView convertRectToBacking] for highDPI. On Mojave, this will report large numbers for retina displays in fullscreen mode, which isn't how it works on previous versions. (transplanted from c6c1731780e2bef94f944a4795e2dfbba46d9500) | ||
| eac3fd28 | 2018-10-18 11:59:48 | cocoa: GL_GetDrawableSize only uses -[NSView convertRectToBacking] for highDPI. On Mojave, this will report large numbers for retina displays in fullscreen mode, which isn't how it works on previous versions. | ||
| dae4a013 | 2018-10-15 00:46:43 | x11: Don't hardcode limit on lines of text in message boxes. Plus other text parsing fixes. Fixes Bugzilla #4306. | ||
| e2ad654f | 2018-10-14 17:26:10 | iOS: Don't ignore the requested alpha bit size when determining whether to use an RGBA8 backbuffer. | ||
| cd63709e | 2018-10-13 17:18:59 | Emscripten: Load eglQueryString and eglGetError This prevents an assertion on context creation failure (calling a null function pointer). | ||
| d8022d19 | 2018-10-12 23:23:52 | macOS: Fixed MoltenVK dynamic library loading code. | ||
| d9094421 | 2018-10-12 17:55:42 | metal: Fix high dpi and resizing on macOS, and clean up iOS code. Fixes bug #4250. | ||
| eff5f650 | 2018-10-09 23:01:43 | Implement SuspendScreenSaver for Win32 Creating a full-screen SDL renderer on Windows will keep the screensaver suspended by DirectX, as is default for full-screen DX applications. However, for applications that render in windowed-mode, the screensaver will still kick in, even if SDL_DisableScreenSaver() is called or SDL_HINT_VIDEO_ALLOW_SCREENSAVER is set to 0 (default). Implementing a SuspendScreenSaver() function for Win32 fixes this behavior. | ||
| 88b32525 | 2018-10-09 00:27:55 | kmsdrm: find available card if called without index. This work was done by Michael Grzeschik, I just cleaned up the patch a little. Fixes Bugzilla #4241. | ||
| 4d771c59 | 2018-10-08 12:49:25 | Don't flash the navigation bar when destroying a fullscreen SDL window | ||
| 3ac9e2aa | 2018-10-05 17:06:05 | Fixed bug 4296 - kmsdrm video driver leaks 1 bo in KMSDRM_GLES_SetupCrtc() Icenowy Zheng One front buffer is locked in GLES_SetupCrtc() and overrides the next_bo just locked in KMSDRM_GLES_SwapWindow, then the next_bo gets lost and is not released even when quitting the video. It may leads to problems with GLES drivers that doesn't clean up GBM correctly if there's any bo left (e.g. the Mali Utgard r6p2 blob). In the case of Mali Utgard r6p2 blob, the DRM device file is still hold by the blob, and if you try to SDL_Quit to let another program to run (this is done by EmulationStation), the new program will fail to open DRM device. | ||
| 367f9b91 | 2018-10-05 17:24:03 | wayland: Fixed missing window sizing events. Fixes Bugzilla #4242. | ||
| 6e35e421 | 2018-10-01 14:43:03 | Working on bug 3921 - Add some Fastpath to BlitNtoNKey and BlitNtoNKeyCopyAlpha Sylvain I did various benches. with clang 6.0.0 on linux, and ndk-r16b on android (NDK_TOOLCHAIN_VERSION=clang). - still see a x10 speed factor. - with duff_loops, it does not use vectorisation (but doesn't seem to be a problem). on linux my patch is already at full speed on -O2, whereas the duff_loops need -O3 (200 ms at -03, and 300ms at -02). I realized that on Android, I had a slight variation which fits best. both on linux with -O2 and -O3, and on android with 02/03 and armeabi-v7a/arm64. Here's the patch. | ||
| 922623e1 | 2018-10-01 21:29:11 | SDL_blit_N.c (BlitNtoNKeyCopyAlpha): fix -Wshadow warnings by adding _ suffix to the temp Pixel local in the DUFFS_LOOP. SDL_blit.h (ASSEMBLE_RGB): add _ prefix to temp Pixel locals to avoid any possible shadowings. The warnings were like the following: In file included from src/video/SDL_blit_N.c:26:0: src/video/SDL_blit_N.c: In function 'BlitNtoNKeyCopyAlpha': src/video/SDL_blit_N.c:2421:24: warning: declaration of 'Pixel' shadows a previous local [-Wshadow] Uint32 Pixel = ((*src32 & rgbmask) == ckey) ? *dst32 : *src32; ^ src/video/SDL_blit.h:475:21: note: in definition of macro 'DUFFS_LOOP8' case 0: do { pixel_copy_increment; /* fallthrough */ \ ^ src/video/SDL_blit_N.c:2419:13: note: in expansion of macro 'DUFFS_LOOP' DUFFS_LOOP( ^ src/video/SDL_blit_N.c:2399:12: warning: shadowed declaration is here [-Wshadow] Uint32 Pixel; ^ | ||
| 95579f5f | 2018-10-01 09:40:58 | Fixed bug 4220 - SDL_GL_CONTEXT_DEBUG_FLAG can fail silently on some Android devices | ||
| fb485986 | 2018-09-30 11:26:41 | macOS: Fix a crash when the video subsystem quits, if SDL_MAC_NO_SANDBOX was defined when SDL was compiled. | ||
| 74638ea3 | 2018-09-28 20:39:57 | Ensure we wait on the surface resize before returning from setting fullscreen mode. | ||
| 7df0f4fd | 2018-09-27 14:56:29 | Fixed bug 4277 - warnings patch Sylvain Patch a few warnings when using: -Wmissing-prototypes -Wdocumentation -Wdocumentation-unknown-command They are automatically enabled with -Wall | ||
| 22475bf3 | 2018-09-26 20:10:32 | cocoa: Force an OpenGL context update when the window becomes key. Fixes missing rendering on macOS 10.14 ("Mojave"). Fixes Bugzilla #4272. (transplanted from aee4797c84ef90464e270b1f6095a6dd7ce280c1) | ||
| 7689162c | 2018-09-26 20:10:32 | cocoa: Force an OpenGL context update when the window becomes key. Fixes missing rendering on macOS 10.14 ("Mojave"). Fixes Bugzilla #4272. | ||
| 55b24b93 | 2018-09-26 11:17:43 | Fixed bug 4265 - SDL window falls to the bottom of the screen when dragged down and stuck there Alexei On WM_WINDOWPOSCHANGED event, WIN_UpdateClipCursor() is called. SDL_WINDOW_INPUT_FOCUS is set even when the mouse pointer is not inside the SDL window and therefore ClipCursor(&rect) is called. When dragging the window and rect.bottom=800 (i.e. the bottom edge of the screen) the SDL window is clipped to the bottom of the screen and it is not possible to move it back to the center of the screen. | ||
| ef347048 | 2018-09-24 16:41:55 | Fixed bug 4264 - SDL_CreateTextureFromSurface generates error message but returns ok Anthony @ POW Games SDL_CreateTextureFromSurface makes an internal call to SDL_GetColorKey which can return an error and spams the error log with "Surface doesn't have a colorkey" even though the original function didn't return an error. | ||
| 5febdfce | 2018-09-24 11:49:25 | Fixed whitespace | ||
| 6b3e8931 | 2018-09-14 19:26:26 | Added hints SDL_HINT_MOUSE_DOUBLE_CLICK_TIME and SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to allow tuning double-click sensitivity. Also increased the default double-click radius to 32 pixels to be more forgiving for touch interfaces | ||
| 0b3a350c | 2018-09-10 23:01:33 | Fixed Chinese IME support (thanks ???!) | ||
| af823cc1 | 2018-09-10 23:00:09 | Fixed building on tvOS | ||
| 404ba5ee | 2018-08-28 13:37:11 | Fixed bug 4229 - Add support for ABGR format in DirectFB renderer Alexandre DirectFB supports 32-bit ABGR pixel format via DSPF_ABGR, but SDL doesn't map SDL_PIXELFORMAT_ABGR8888 to DSPF_ABGR. A patch is attached and should add support for ABGR pixel format devices. | ||
| a1ca8441 | 2018-08-26 20:37:23 | Update the cursor clipping each frame, in case it was stolen by another application. | ||
| 15b3794f | 2018-08-26 10:34:23 | Only reset the clip rect if it's currently the rect we previously clipped. This prevents us from clearing the clip rect globally when another application has set it. There's also an experimental change to regularly update the clip rect for a window defensively, in case someone else has reset it. It works well, but I don't know if it's cheap enough to call as frequently as it would be called now, and might have other undesirable side effects. Also fixed whitespace and SDL coding style | ||
| a794126d | 2018-08-24 09:49:48 | vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window. Fixes Bugzilla #4235. | ||
| 84e78320 | 2018-08-23 14:47:38 | Fix "unresponsible application" issues in Wayland Polling without wl_display_flush() never responds to ping requests. In that case ping-pong works only on other events, such as user input or on frame swapped. From https://git.merproject.org/mer-core/libsdl/merge_requests/3 Original author: Alexander Akulich <a.akulich@omprussia.ru> | ||
| 088070e5 | 2018-08-22 23:47:29 | Moved display orientation handling on iOS out to a separate function for Qt apps | ||
| f225af0c | 2018-08-22 21:48:28 | Added SDL_GetDisplayOrientation() to get the display orientation, and added a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. Documented the values returned by the accelerometer and gyroscope sensors | ||
| 6f758ad2 | 2018-08-21 20:03:54 | Moved SDL_IsTablet() to a cross-platform API function | ||
| 109544ca | 2018-08-21 11:23:47 | Add SDL_IsTablet() to Android and iOS SDL. | ||
| aeea6b9b | 2018-08-18 12:30:04 | Emscripten: Fixed SDL_SYSTEM_CURSOR_SIZEALL | ||
| 941c5b47 | 2018-08-07 18:07:11 | haiku: Rename internal functions from BE_* to HAIKU_* Fixes Bugzilla #2349. | ||
| e061a92d | 2018-08-02 16:03:47 | Some drag'and'drop improvements. First: disable d'n'd events by default; most apps don't need these at all, and if an app doesn't explicitly handle these, each drop on the window will cause a memory leak if the events are enabled. This follows the guidelines we have for SDL_TEXTINPUT events already. Second: when events are enabled or disabled, signal the video layer, as it might be able to inform the OS, causing UI changes or optimizations (for example, dropping a file icon on a Cocoa app that isn't accepting drops will cause macOS to show a rejection animation instead of the drop operation just vanishing into the ether, X11 might show a different cursor when dragging onto an accepting window, etc). Third: fill in the drop event details in the test library and enable the events in testwm.c for making sure this all works as expected. | ||
| 8f0cc4a4 | 2018-07-22 19:42:08 | Backed out changeset 2e42ec46061e. This change isn't correct. See comments in Bugzilla #4183. | ||
| 862aa4b4 | 2018-07-22 19:28:27 | windows: Fixed some Visual Studio warnings about shadowed variables. Fixes Bugzilla #4118. | ||
| c3178e67 | 2018-07-12 16:52:45 | Ensure we still clear the X locale modifiers even if not compiled with ibus or fcitx support | ||
| 013b146d | 2018-06-30 20:55:51 | SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anonymous otherwise build fails. (at least with my VS2005. and the code accesses the arms of the unions anonymously anyway.) | ||
| 7c2028f8 | 2018-06-29 16:56:11 | Attempt to fix "cast from pointer to integer of different size" warnings. | ||
| 5a8ecf4e | 2018-06-25 13:14:52 | yuv: Patched to make static analysis happy (warned about unused variable). | ||
| c8ac9096 | 2018-06-24 22:42:36 | wayland: Implemented xdg-wm-base support. This is just in parity with the existing zxdg-shell-unstable-v6 code. Making the Wayland target robust (and uh, with title bars) is going to take a lot of work on top of this. | ||
| 59574fe2 | 2018-06-24 13:57:22 | x11: Normalize x11xinput2 touch x to be 1.0 at width (thanks, Zach!). "Applications (such as SDL's testgesture) do "event.tfinger.x * window_width" to find window coord. Currently the X11 XInput2 backend expects application to do "event.tfinger.x * (window_width-1)" instead. X11 XInput2 touch events are normalized so x is 1.0 at "width - 1" but other SDL backends appear to have x be 1.0 at "width". Same issue for touch event y with regards to height." Fixes Bugzilla #4183. | ||
| 88dfa466 | 2018-06-18 13:14:04 | Use a blank cursor instead of PointerIcon.TYPE_NULL since that shows the default cursor on Samsung DeX | ||
| fe682827 | 2018-06-14 06:12:12 | egl: Don't change context when deleting current. If we change the current context behind the app's back, those tracking the current context to minimize context changes are going to get confused. This brings the EGL backend in line with the GLX one. Fixes Bugzilla #4199. | ||
| 4a4bac95 | 2018-06-12 13:22:58 | Deal with fullscreen limitations under windowed Android environments (Chromebook, DeX, etc.) (Thanks Rachel!) | ||
| fe196db7 | 2018-06-07 17:07:03 | Track android device panel width & height as well as window surface & height. Expand SDLActivity::SDLSurface::surfaceChanged() callback to grab the panel width and height at the same time and pass that along to the native code. Only works on API 17+. Duplicates surface dimensions whenever it fails. Add Android_DeviceWidth/Android_DeviceHeight globals to native code. Disambiguate Android_ScreenWidth/Android_ScreenHeight -> Android_SurfaceWidth/Android_SurfaceHeight Use device width/height for all display mode settings. | ||
| 2dedbc72 | 2018-06-05 12:46:11 | Add Android support for relative mouse mode to SDL. | ||
| 9d6ac3de | 2018-06-05 12:46:09 | Fix creating a minimized window in SDL to not cause focus to be stolen (because ShowWindow( hwnd, SW_MINIMIZE ) would be called after creation, thus changing focus to the prior window based on some per-app list in windows, rather than the window being created with WS_MINIMIZED to start with). This means we have to consider SDL_WINDOW_MINIMIZED a window creation flag, but on non-windows platforms we just remove it and let the normal FinishWindowCreation re-apply and do the minimize as I have no idea what is right on them or if anything should change. CR: Phil | ||
| 3d387098 | 2018-05-27 20:30:03 | metal: contrary to documentation, we need to set the drawableSize explicitly. Fixes Bugzilla #4149. | ||
| 999af809 | 2018-05-18 13:09:30 | Merged latest changes from Steam Link app | ||
| a4d0571e | 2018-05-07 20:10:12 | Reverted change for bug 4152 - restrict the win10 mouse bug workaround to win10 v1709 only Daniel Gibson Sorry, but it seems like Microsoft didn't fix the issue properly. I just updated my Win10 machine, it now is Version 1803, Build 17134.1 I tested with SDL2 2.0.7 (my workaround was released with 2.0.8) and still got lots of events that directly undid the prior "real" events - just like before. (See simple testcase in attachement) By default it sets SDL_HINT_MOUSE_RELATIVE_MODE_WARP - which triggered (and on my machine still triggers) the buggy behavior. You can start it with -raw, then it'll not set that hint and the events will be as expected. The easiest way to see the difference is looking at the window title, which shows accumulated X and Y values: If you just move your mouse to the right, in -raw mode the number just increases. In non-raw mode (using mouse warping) it stays around 0. I also had a WinAPI-only testcase: https://gist.github.com/DanielGibson/b5b033c67b9137f0280af9fc53352c68 It just calls SetCursorPos(320,240); on each WM_MOUSEMOVE event, and it also logs all those events to a mouseevents.log textfile. This log indeed looks a bit different since the latest Win10 update: It seems like all those events with x=320 y=240 do arrive - but only after I stopped moving the mouse - even though the cursor seems to be moved back every frame (or so). So moving the mouse to the right gives X coordinates like 330, 325, 333, 340, 330, ... and then when stopping movement I get lots of events with X coordinate 320 | ||
| 606c5a58 | 2018-05-05 10:27:53 | Fixed bug 4152 - Windows 10 v1803 update seems to have fixed the jumping mouse bug (see bug #3931.) | ||
| 386790ef | 2018-04-23 22:29:14 | Improved error messages when Vulkan isn't configured (thanks Daniel Gibson!) | ||
| 2df59062 | 2018-04-15 17:42:09 | wayland: zxdg_shell_v6 needs a configure event before using a surface at all. Fixes Bugzilla #4109. Fixes Bugzilla #4119. | ||
| 6a0ef0cd | 2018-04-09 10:37:31 | SDL: On Windows, have SDL_ShowWindow() not activate the window if the window has the WS_EX_NOACTIVATE window flag. | ||
| 4d78a995 | 2018-03-26 12:38:29 | Fixed bug where an SDL window that was activated while hidden could never be shown. Test code: { SDL_Window *win = SDL_CreateWindow( "Dummy", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 128, 128, SDL_WINDOW_HIDDEN ); SDL_SysWMinfo info; SDL_VERSION( &info.version ); SDL_GetWindowWMInfo( win, &info ); SetActiveWindow( info.info.win.window ); { DWORD then = SDL_GetTicks(); while ( ( SDL_GetTicks() - then ) < 3000 ) { SDL_Event evt; SDL_PollEvent( &evt ); } SDL_ShowWindow( win ); then = SDL_GetTicks(); while ( ( SDL_GetTicks() - then ) < 3000 ) { SDL_Event evt; SDL_PollEvent( &evt ); } } SDL_DestroyWindow( win ); } | ||
| e14278ef | 2018-03-24 10:26:40 | Fixed bug 3804 - Message box on Windows truncates button ID Simon Hug I just wanted to fix a simple compiler warning in SDL_ShowMessageBox on Windows (which Sam fixed recently) and ended up finding some issues. Attached patch fixes these issues: - Because Windows only reports the lower 16 bits of the control identifier that was pushed, the button IDs used by SDL (C type int, most likely 32 bits) can get cut off. - The documentation states (somewhat ambiguously) that the button ID will be -1 if the dialog was closed, but the current code sets 0. For SDL 2.1, I think this should be a return code of SDL_ShowMessageBox itself. That will free up the button ID and it seems a more appropriate place for signaling this event. - Ampersands in controls will create mnemonics on Windows (underlined letters that, if combined with the Alt key, will push the button). I was thinking of adding a hint or flag to let the users enable it, but that might have unexpected results. - When the size of the text gets calculated, it doesn't use the same parameters as the static control. This can cut off text or wrap it weirdly. - On Windows, the Tab key is used to switch between control groups and sometimes between buttons in dialogs. This didn't seem to work correctly. Attached patch also adds: - Icons. Just the system ones that can be loaded with the ordinals IDI_ERROR, IDI_WARNING and IDI_INFORMATION. - A button limit of 2^16 - 101. - Some more specific error messages, but they never reach the user because how SDL_ShowMessageBox handles them if an implementation returns with an error. | ||
| f536fbea | 2018-03-16 11:08:53 | Reimplemented Android cursor API support using reflection so it builds with older SDKs | ||
| e20d4173 | 2018-03-15 18:22:48 | Added Android custom cursor implementation This is commented out in SDLActivity.java, with the note #CURSORIMPLEENTATION because it requires API 24, which is higher than the minimum required SDK | ||
| cc7b2fc5 | 2018-03-10 21:13:50 | Temporary fix for bug 3432 - macOS 10.12: small scrolls (1 wheel notch) don't generate events Eric Wasylishen This bug was reintroduced by https://hg.libsdl.org/SDL/rev/fcf24b38a28a The steps to reproduce are the same: run the "testrelative" SDL demo with "--info all", connect a USB mouse with a scroll wheel, and roll the scroll wheel one "notch". You'll get log output like: testdraw2[1644:67222] INFO: SDL EVENT: Mouse: wheel scrolled 0 in x and 0 in y (reversed: 1) in window 1 As far as I can tell macOS doesn't have an API for getting the number of "wheel notches"; I get a deltaY of 0.100006 for one "notch", and it's heavily accelerated (if you roll the wheel quickly you'll get large deltas). So NSEvent's deltaY is only meant to be used for scrolling a scroll view, with the given distance in points, not something like selecting an item in a game. Here's a temporary patch that at restores the foor/ceil in Cocoa_HandleMouseWheel. Not ideal, but at least it restores the ability to scroll one notch of a mousewheel. | ||
| 2419d267 | 2018-03-02 22:53:25 | Progress fixing bug 4100 - errors and warnings after changeset 11917 Ozkan Sezer 2018-03-02 20:02:37 UTC http://hg.libsdl.org/SDL/rev/d702b0c54e52 resulted in an error and two warnings when compiled with mingw. 1. Error from SDL_windowstaskdialog.h: In file included from src/video/windows/SDL_windowsmessagebox.c:29:0: src/video/windows/SDL_windowstaskdialog.h:23:54: error: expected ')' before 'HWND' This is fixed by removing unnecessary annotations: 2. Warning from SDL_assert.c: src/SDL_assert.c: In function 'SDL_ExitProcess': src/SDL_assert.c:138:1: warning: 'noreturn' function does return Indeed ExitProcess() is prototyped with DECLSPEC_NORETURN, but TerminateProcess() is not. This can be rectified by adding an exit() call in there. Do NOTE, however, that requires building with a libc: 3. Warning from SDL_windowsmessagebox.c: src/video/windows/SDL_windowsmessagebox.c: In function 'WIN_ShowMessageBox': src/video/windows/SDL_windowsmessagebox.c:513:9: warning: 'nCancelButton' may be used uninitialized in this function My lazy solution was manually initializing nCancelButton to 0. | ||
| ac2d1f67 | 2018-03-02 12:08:18 | Fixed setting the layer drawable size Without this change the drawable had a size of 0 and the metal renderer asserted because the projection matrix wasn't set. | ||
| cef1c1c2 | 2018-03-02 14:10:25 | windows: Restore patches for Task Dialogs and TerminateProcess(). 2.0.8 has shipped, these can live in revision control now! | ||
| 3537c3e7 | 2018-02-28 10:39:41 | Back out Task Dialog and TerminateProcess patches for 2.0.8. These can return to revision control once we ship. | ||
| 6a1cfcce | 2018-02-28 02:14:15 | windows: dos2unix'd messagebox code, and (hopefully) fixed on MingW. | ||
| a749035f | 2018-02-28 01:54:22 | windows: Message boxes use Task Dialogs if possible (thanks, Jack!). This lets the message box have an icon. Unless the app has opted-in to using the v6 common controls, though, this will fall back to the usual SDL message boxes. | ||
| be6ca785 | 2018-02-25 23:02:09 | Support official Vulkan SDK for macOS. This tries to load vulkan.framework or libvulkan.1.dylib before MoltenVK.framework or libMoltenVK.dylib. In the previous version, layers would not work for applications run-time loading the default library. | ||
| 849d042f | 2018-02-24 08:58:22 | Fixed bug 4091 - Undefined references to Android audio functions when SDL_AUDIO_DISABLED is on Manuel Sabogal If SDL is compiled with the Audio subsystem disabled there are some undefined references to the functions ANDROIDAUDIO_ResumeDevices and ANDROIDAUDIO_PauseDevices in the file src/video/android/SDL_androidevents.c. | ||
| 0626486e | 2018-02-23 19:12:04 | Backout the vulkan change in d449dea10fc8 breaks Mir builds | ||
| e17c3219 | 2018-02-23 11:24:26 | mir: Disable Mir by default as Mir supports Wayland clients Also remove enabling VK support for Mir | ||
| ac309df7 | 2018-02-21 22:27:09 | vulkan: Possibly fix a compiler warning (-Wstrict-prototypes). | ||
| 69958441 | 2018-02-21 09:58:21 | Fix high-dpi support on macOS and simplify it and iOS variant. The detault drawableSize for a CAMetalLayer is its bounds x its scale. So it is sufficient to set the *layer's* scale to the desired value. | ||
| 2ea4419a | 2018-02-17 20:18:48 | yuv: patched to compile. | ||
| 7c0c2c22 | 2018-02-17 20:10:13 | yuv: fixed variable declaration shadowing warnings. Fixes Bugzilla #4062. | ||
| 6867f618 | 2018-02-16 14:56:28 | video: put a spinlock around a global linked list. This should only contend if you're allocating or freeing surfaces from multiple threads at once, and then just for a short time. Fixes Bugzilla #4084. | ||
| 8ddebfa0 | 2018-02-16 10:23:10 | Fixed bug 4085 - X11: Allow configuring _NET_WM_BYPASS_COMPOSITOR through SDL hints Callum McGing This patch allows the user to disable the behaviour that blocks the compositor through a new hint: SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR. This allows tools or other windowed applications to behave properly under KWin. | ||
| 5abd7d16 | 2018-02-13 22:58:20 | Don't attempt WM_NCCALCSIZE adjustment when in fullscreen window transition | ||
| 40b27fd5 | 2018-02-12 17:00:00 | revert the recent typecast assignment changes (see bug #4079) also change the void* typedefs for the two vulkan function pointers added in vulkan_internal.h into generic function pointer typedefs. | ||
| 8a1ae708 | 2018-02-12 10:00:00 | kill C99'ism in SDL_waylandvulkan.c | ||
| 6e01fbb7 | 2018-02-11 18:23:37 | On Android show the system UI when an SDL window is windowed, hide the system UI when it's fullscreen, like we do on iOS. We're increasing the Android SDK minimum version to API 19, this doesn't increase the minimum target API, which is API 14. | ||
| 873141ac | 2018-02-11 15:29:36 | ISO C correct fix for casting void* to function pointer | ||
| 882215e1 | 2018-02-11 18:16:01 | vulkan: Fix assignment of vkGetInstanceProcAddr on Windows. "*(void**)pfn = LoadAddress()" would cast the NULL pointer in pfn to a void**, and then dereference it, which wasn't what we wanted. Replaced with a clearer cast operation. | ||
| 7b50aee9 | 2018-02-08 18:07:14 | Fixed min/max window size handling for borderless resizable windows | ||
| 940933d8 | 2018-02-07 15:05:30 | Fixed bug 4054 - Raspberry Pi refresh rate detection Viacheslav Slavinsky SDL_rpivideo driver has 60 frames per second hardcoded in it, this is a problem for games that need to keep pace using VSYNC. I believe that I have found a solution to this. It is based on code in tvservice.c in rpi userland: https://github.com/raspberrypi/userland/blob/a1b89e91f393c7134b4cdc36431f863bb3333163/host_applications/linux/apps/tvservice/tvservice.c#L433 | ||
| bd0def06 | 2018-02-07 14:12:26 | Set rpath instead of changing environment for RPi Credit goes to Adrian Perez de Castro for the improvement. Signed-off-by: Guillermo A. Amaral <g@maral.me> |