kc3-lang/SDL/src

Branch :


Log

Author Commit Date CI Message
b458d7a2 2019-10-30 15:13:55 Readability: remove redundant cast to the same type
56cbe120 2019-10-30 14:37:06 BlitAuto: remove redundant cast to the same type
735691ec 2019-10-30 14:29:41 Remove nested redundant #ifndef
ff0d9245 2019-10-30 14:26:18 SDL_syspower: remove dead store warning Value stored to 'str' during its initialization is never read
42153342 2019-10-29 16:13:41 Use fill_function for FillRect SIMD/NEON (bug 4365)
bda618a2 2019-10-27 11:41:48 iOS: remove some unused code, minor code style cleanup.
df49e2a5 2019-10-27 11:41:11 iOS: replace a deprecated function call with a non-deprecated equivalent.
7289e5e2 2019-10-27 15:22:28 Android: remove warning in blit_features "integer constant not in range of enumerated type 'enum blit_features'"
463bf5c2 2019-10-27 14:52:09 Android: fix compilation error of SDL_cpuinfo.c on android-r13b (bug 4365)
c0255be4 2019-10-26 23:58:55 x11: check if the X server honored our XMoveWindow() call (thanks, R.E. Rust!). This can happen if a window is still grabbed when we try to move it, or if the X11 ecosystem is just in a bad mood, I guess. This makes sure that SDL will report the correct position for a window; otherwise, SDL_GetWindowPosition will just report whatever the last SDL_SetWindowPosition call requested, even if the window didn't actually move. Fixes Bugzilla #4646.
a963e36e 2019-10-26 15:27:51 macOS: more robust detection and switching of exclusive-fullscreen display modes (bug #4822).
a9b867ab 2019-10-26 14:39:50 macOS Fix potential memory leaks in the Metal renderer caught by clang's static analyzer.
1ce1364b 2019-10-26 12:56:18 d3d11: Don't fail if there's no vertex data to upload (thanks, Martin!). Fixes Bugzilla #4832.
6dffc5d4 2019-10-25 00:07:30 cpuinfo: Remove incorrect #warning when building for non-ARM architectures.
72f8044a 2019-10-24 21:17:52 ARM: NEON assembly optimization for SDL_FillRect
1187b013 2019-10-24 21:17:38 ARM: NEON assembly optimization for function BlitARGBto565PixelAlpha
2dfe0605 2019-10-24 21:17:19 ARM: NEON assembly optimization for function BlitRGBtoRGBPixelAlpha
74846657 2019-10-24 21:15:50 ARM: SIMD optimization for 4:4:4:4 to 8:8:8:8 normal blits
becc649a 2019-10-24 21:15:35 ARM: assembly optimization for SDL_FillRect
7ac733f0 2019-10-24 21:15:21 ARM: SIMD assembly optimization for BGR-to-RGB 32bpp normal blits
8425d9d5 2019-10-24 21:15:09 SDL_blit: use a named enum for required hardware bits in dispatch tables
0eaa52ce 2019-10-24 21:13:56 ARM: SIMD assembly optimization for function BlitARGBto565PixelAlpha
57723b83 2019-10-24 21:13:05 ARM: SIMD assembly optimization for function BlitRGBtoRGBPixelAlpha Much of the heavy lifting of this optimization is lifted from the Pixman project, which is distributed under an MIT-style license. As far as possible, these elements have been relicensed to the zlib license.
6a6a0528 2019-10-24 21:12:08 ARM: Create configure option --enable-arm-simd to govern assembly optimizations
59beaccd 2019-10-24 20:15:54 macOS: Expose high dpi-capable display modes on macOS 10.13+. Fixes an issue in macOS 10.15 where the displayed content would move up after entering, exiting and re-entering exclusive fullscreen when certain display modes were used (bug #4822). Bug #3949 is also related to this change.
8081f117 2019-10-24 18:07:30 Fixed bug 2014 - Hardcoded srcA value in SDL_Blit_auto.c functions
3a8b8994 2019-10-23 11:07:11 Android: remove eglGetProcAdded busted comment (bug #4040)
0f871c03 2019-10-23 09:53:23 Fixed bug 4843 - Passing NULL to memset in SDL_PrivateLoadButtonMapping (Thanks!)
ed469fa5 2019-10-23 09:36:41 Fixed bug 4842 - Redundant condition in MS_ADPCM_Decode and IMA_ADPCM_Decode (Thanks!)
c9d0e2ae 2019-10-23 09:26:27 Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!)
d5d34de4 2019-10-23 09:17:53 Fixed bug 4839 - Read of uninitialized memory in Win32_ResizeWindowShape (Thanks!)
758badff 2019-10-23 08:58:52 Fixed bug 4841 - Misplaced parenthesis WIN_WindowProc / WM_ACTIVATE / ClipCursor (Thanks!)
b7ab3b39 2019-10-23 08:50:57 Fixed bug 4838 - Use after free in SDL_JoystickUpdate (Thanks!)
3ac67cf4 2019-10-23 08:46:59 Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!)
5025109f 2019-10-22 15:43:58 Fixed accidental whitespace
9da4bfc1 2019-10-22 10:57:07 Added support for the Power A Nintendo Switch Enhanced Wireless Controller
f96da11f 2019-10-22 10:28:51 Reordered Power A Switch controllers so they're grouped together
9e7894ef 2019-10-22 10:27:30 Added support for the PowerA - Super Mario Controller
9ececeea 2019-10-20 22:17:59 cpuinfo: Use a better default alignment value (thanks, Simon!). Fixes Bugzilla #4835.
cdc7181e 2019-10-19 01:54:02 Don't try to use the Xbox HID protocol with the NVIDIA Shield controllers
336a7549 2019-10-19 09:23:40 remove warning prototype SDL_ExitProcess()
9c14c789 2019-10-18 23:10:00 updated includes for _exit()
24bee6e5 2019-10-18 21:47:30 Add internal function SDL_EGL_GetVersion()
b060b2ea 2019-10-18 08:56:54 Fixed whitespace
412ab7e1 2019-10-18 14:23:37 Fixed bug 4829 - Sensor events incorrectly disabled
e5bd2003 2019-10-18 14:08:07 Android: enable eglGetProcAddress (bug #4040, bug #4794)
03f27a3a 2019-10-18 13:27:58 Add robustness getting the EGL version (see bug #4040)
3ecce847 2019-10-18 00:07:32 egl: adjust how we load symbols in SDL_EGL_GetProcAddress. Use eglGetProcAddress for everything on EGL >= 1.5. Try SDL_LoadFunction first for EGL <= 1.4 in case it's a core symbol, and as a fallback if eglGetProcAddress fails. Finally, for EGL <= 1.4, fallback to eglGetProcAddress to catch extensions not exported from the shared library. (Maybe) Fixes Bugzilla #4794.
4f304fd8 2019-10-17 18:07:52 Added support for the BDA PS4 Fightpad
097b9c30 2019-10-17 17:51:49 Better fix for iOS build
a1349d46 2019-10-17 17:51:36 Build fix for the build fix
8984d25b 2019-10-17 17:47:27 Fixed build on iOS
bf9092cf 2019-10-17 17:47:11 Removed unused variable
b3470f04 2019-10-17 17:32:47 Added the hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to control whether Nintendo Switch controllers use their button labels or button positions for game controller button reporting.
e6ac16ef 2019-10-17 16:59:05 Added support for third party Nintendo Switch controllers that don't support the full protocol
43c5f62d 2019-10-17 16:14:17 Merged latest data from Steam
216f5b98 2019-10-17 18:48:58 metal: Fix compilation when using older Apple SDKs (bug #4828).
6be83e61 2019-10-16 13:54:35 emscripten: Patched to compile (thanks, Caleb!). Fixes Bugzilla #4827.
1b4de45d 2019-10-16 08:45:54 Fixed bug 4785 - SDL_CreateRGBSurface creates 1-bit surfaces with zero pitch Sylvain Seems to be a regression in this commit: https://hg.libsdl.org/SDL/rev/7fdbffd47c0e SDL_CalculatePitch() was using format->BytesPerPixel, now it uses SDL_BYTESPERPIXEL(). The underlying issue is that "surface->format->BytesPerPixel" is *not* always the same as SDL_BYTESPERPIXEL(format); BytesPerPixel defined as format->BytesPerPixel = (bpp + 7) / 8; vs #define SDL_BYTESPERPIXEL(format) ... (format & 0xff) Because of SDL_pixels.h format definitions, one is giving a BytesPP 1, the other 0.
ed7483f8 2019-10-15 22:36:08 x11: On macOS, look for X11 install in /opt/X11 instead of /usr/X11R6. This is where Apple installs XQuartz now (and apparently, the compatibility symlink at /usr/X11R6 can be missing). Fixes Bugzilla #4706.
02a2ec98 2019-10-15 14:55:09 video: Make sure SDL_FillRects()'s fill_function isn't used unitialized.
9f636be8 2019-10-15 14:04:43 video: Removed unused variables.
e23067ea 2019-10-15 14:03:01 video: speed up SDL_FillRect[s] slightly (thanks, Jakub!). "This patch does the following: * Instead of SDL_FillRects calling SDL_FillRect in a loop the opposite happens -- SDL_FillRect (a specific case) calls SDL_FillRects (a general case) with a count of 1 * The switch/case block is moved out of the loop -- it modifies the color once and stores the fill routine in a pointer which is then used throughout the loop" Fixes Bugzilla #4674.
e9c1e126 2019-10-15 12:02:19 test: Fixed wrong verbose flag check (thanks, watcom.hecht!). Fixes Bugzilla #4826.
aa0a6518 2019-10-15 08:54:25 test: Fixed compiler warning on Visual Studio.
526b9bdf 2019-10-14 22:41:27 Backed out changeset b0241180cdc5 Better commit incoming!
cd8652d8 2019-10-15 01:13:44 events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms. Fixes Bugzilla #4356.
d5e378d1 2019-10-15 00:59:10 cocoa: Implement SDL_WINDOW_ALWAYS_ON_TOP support (thanks, Gabriel!). Fixes Bugzilla #4809.
ec04110d 2019-10-14 12:41:06 dynapi: Deal with failure cases better, other fixes. Fixes Bugzilla #4803.
fe20c35b 2019-10-14 16:40:46 Fixed race condition when scaling Touch events, and changing the renderer target. Always read the output size of the main renderer. (similar to bug 2107)
074f6a51 2019-10-14 00:51:53 macOS: Fix the initial window background not being black since macOS 10.14.2 or so, when OpenGL is used (bug #4810). Also fixes "CGContext: invalid context 0x0" errors when an OpenGL window is created (bug #4470).
009226c6 2019-10-13 21:39:20 macOS: Fix non-highdpi OpenGL contexts not scaling properly in macOS 10.15 (bug 4810 and 4822).
72660a51 2019-10-13 20:52:52 Fixed bug 4825 - SDL Renderer OpenGL: Buffer overflow (SDL_RENDERCMD_DRAW_LINES)
f8bdefe1 2019-10-13 15:18:28 macOS: Fix asserts in SDL_Render's metal scissor code when the window is resized.
1773da89 2019-10-13 12:16:40 macOS: Fix a new issue in 10.15 where the window decorations don't always get restored after SDL_SetWindowFullscreen(window, 0).
3b0dcaf4 2019-10-12 18:47:56 Fixed bug 4797 - SDL fails to compile with Mesa Master (thanks Michael Olbrich!) fix building with Mesa 19.2 With Mesa 19.2 building fails with: /include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' The same type is defined in include/SDL_opengl.h for OpenGL and the two headers should not be included at the same time. This was just never noticed because the same header guard '__gl_h_' was used. This was changed in Mesa. The result is this error. Fix this the same way GLES2 already handles this: Don't include the GLES header when the OpenGL header was already included. (https://hg.libsdl.org/SDL/rev/6a3670d6108d)
97901b9f 2019-10-10 17:21:46 Fixed bug 4820 - SDL assumes RW_SEEK_SET == SEEK_SET
a747106c 2019-10-09 19:38:16 linux: If D-Bus isn't available on the system, don't keep trying to load it. Fixes Bugzilla #4476.
cf092eca 2019-10-09 13:42:13 mouse: Save initial position yet even if xrel and yrel are 0. The X11 target sets mouse->last_x and last_y in EnterNotify and then calls SDL_SendMouseMotion(), which throws away the new position because it matches the mouse->last_x and last_y we just set, meaning that if the pointer is in the window when it created, SDL_GetMouseState() will report a position of 0,0 until a MotionNotify event (the pointer moves) arrives and corrects the mouse state. Mostly fixes Bugzilla #1612.
b38a5ba0 2019-10-05 20:19:10 dynapi: Make gendynapi.pl work on older Perl releases.
c61ca915 2019-10-02 14:55:02 WinRT: fix a link-time error when building UWP + x64
3b3dbb5a 2019-10-01 08:50:04 Removed unused volume check interval
7d47f526 2019-10-01 09:26:30 SDL_LockTextureToSurface: robustness of locked region compared to texture size
a664e95d 2019-10-01 00:05:50 dynapi: move new SDL_LockTextureToSurface addition to the end of file.
1ae61f10 2019-09-30 20:58:44 Added a helper function SDL_LockTextureToSurface() Similar to SDL_LockTexture(), except the locked area is exposed as a SDL surface.
191fe25b 2019-09-27 15:21:31 Fixed rtkit feature guard
84dc44e2 2019-09-27 15:21:27 Fix the RealtimeKit dbus include guards The SDL_USE_LIBDBUS define is set inside SDL_debug.h, therefore the circular dependency made it impossible for this feature to be enabled. Instead, guard SDL_dbus.h based on the autoconf variable HAVE_DBUS_DBUS_H Additionally, fix one of the rtkit comments. CAP_SYS_NICE isn't required to achieve high priority. But there is some scheduler config that rtkit needs the app to setup.
4001e6b3 2019-09-26 13:44:49 stdlib: Patched to compile.
987aa311 2019-09-26 12:55:05 stdlib: Try to coerce VS2019 to not replace some loops with memset() calls. Fixes (?) Bugzilla #4759.
aef1ed4a 2019-09-25 15:40:27 audio: Set (something close to) the correct silence value for U16 audio. Partially fixes Bugzilla #4805.
693755f0 2019-09-25 15:07:07 coreaudio: Apple doesn't support U16 data, so convert in that case.
ee6d504a 2019-09-24 17:49:53 offscreen: Define missing define on a older EGL for an EXT function which it wont have
8a41948e 2019-09-24 17:27:51 offscreen: Avoid using EGLDeviceEXT as it causes issues with older platforms, which is just a void*
68985371 2019-09-24 16:36:48 offscreen: Add new video driver backend Offscreen The Offscreen video driver is intended to be used for headless rendering as well as allows for multiple GPUs to be used for headless rendering Currently only supports EGL (OpenGL / ES) or Framebuffers Adds a hint to specifiy which EGL device to use: SDL_HINT_EGL_DEVICE Adds testoffscreen.c which can be used to test the backend out Disabled by default for now
3fe2d836 2019-09-22 10:37:16 Updated SDL development builds to version 2.0.11
cbde0ffa 2019-09-19 16:50:49 The PS4 is ignoring the volume values in the report, so we don't need to fill them in.
79e388bf 2019-09-10 17:12:34 Fixed bug 4798 - PNG w/transparency breaks in SDL 2.0.10 but works in SDL 2.0.9
791df27a 2019-09-09 13:50:46 Fixed compiler warning on Android
715e070d 2019-09-06 08:50:19 SDL_blit_N.c: Correct vec_perm() application on little-endian 64-bit PowerPC The LE transformation for vec_perm has an implicit assumption that the permutation is being used to reorder vector elements (in this case 4-byte integer word elements), not to reorder bytes within those elements. Although this is legal behavior, it is not anticipated by the transformation performed by the compilers. This causes pygame-1.9.1 test failure on PPC64LE because blitted pixmaps are corrupted there due to how SDL uses vec_perm(). From RedHat / Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1392465 Original patch was provided by: Menanteau Guy <menantea@linux.vnet.ibm.com>
2d37d291 2019-09-06 08:44:46 KMSDRM_GLES_SwapWindow: fix non-vsync case If KMSDRM_drmModeSetCrtc is called when the swap interval is set to 0, the driver behaves as though vertical sync is engaged by limiting framerate to the refresh rate, but performance is much worse than with vertical sync enabled. Resolve this issue by ensuring that the Crtc is only set up once, and KMSDRM_drmModePageFlip is called, albeit without any followup queueing or waiting for flips.