kc3-lang/SDL/src

Branch :


Log

Author Commit Date CI Message
9504bb12 2021-08-23 00:47:25 pulseaudio: Fix some function signatures that expect const pointers. This might have changed at some point in the Pulse API, or this might have always been wrong, but we didn't notice because the dynamic loading code hides it by casting things to void *. The static path, where it assigns the function pointer directly, puts out a clear compiler warning, though.
e426bb80 2021-08-20 07:50:30 Fixed bug #4671 - D3D_QueueGeometry: use "count / 3" (Thanks alittlesail!)
70c23b25 2021-08-18 13:18:11 audio: pipewire: Reset hotplug atomic variables on deinit.
ae5336a3 2021-08-19 14:03:10 Fixed bug #4669: D3D_QueueGeometry: -0.5f offset position of vertexs This similar to D3D_QueueCopy positions
8270172e 2021-08-19 12:11:10 fix -Wshorten-64-to-32 warnings in android builds. see: https://github.com/libsdl-org/SDL/pull/4195#issuecomment-901506386
ccb06296 2021-08-19 03:15:02 SDL_windowsevents.c: fix build against older SDKs.
1670104a 2021-04-23 12:27:35 Change 'size_indice' to 'size_indices'
61d9e916 2021-04-01 10:16:27 For the software renderer, try to reinterpret triangles as SDL_Rect With Dear ImGui + software renderer, it draws: - by default at 250 fps - drops to 70 fps if you show the color picker - drops to 10 fps if put the color picker fullscreen
cc37c38e 2021-04-01 09:55:00 Add SDL_RenderGeometry based on SDL_RenderGeometryRaw
a8f89a01 2021-04-23 12:00:14 Change 'size_indice' to 'size_indices'
e4812611 2021-04-01 09:49:16 Move to SDL_RenderGeometryRaw prototype with separate xy/uv/color pointer parameters
111c70e1 2021-03-26 09:09:08 Use 64 bits precision to prevent overflow when interpolating color / texture with wide triangles
f73c1eff 2021-03-17 09:58:49 Use normalized texture coordinates
5828cc41 2021-03-16 21:54:27 Update METAL backend: fix a typo in drawline
9eab5195 2021-03-16 16:59:18 Update dynapi files
9a8a8e65 2021-03-16 16:04:33 Update SDL_render_d3d11.c Fix D3D11 compilation
47db47c1 2021-04-06 21:32:02 Add SDL_HAVE_RENDER_GEOMETRY to compile or not with RenderGeometry support
b9bd9da7 2021-04-04 22:34:17 OpenGLES2: transfert color as 4 bytes, instead of 4 floats
121114d0 2021-03-16 15:44:49 Update METAL compiled shaders
2d01573b 2021-03-16 15:44:33 Add METAL shaders
c6ceaaeb 2021-04-04 21:32:40 METAL: use Uchar4Normalized format to transfert color as 4 bytes, instead of 4 floats
1e77dae7 2021-03-16 15:44:04 Add METAL implementation
1ebef073 2021-03-16 15:15:43 Add D3D11 implementation (not yet tested)
3ee511d7 2021-03-16 15:14:58 Add software renderer implementation
37f78fc1 2021-03-16 15:13:15 Add OpenGL implementation
eff840bb 2021-04-01 23:30:59 Add OpenGLES implementation
faded41a 2021-03-16 15:11:13 Add OpenGLES2 implementation
6e26d320 2021-03-16 15:09:34 Add sysrender interface
32e79101 2021-04-01 20:27:22 Fix warnings
53a2608b 2021-03-14 22:32:17 Renderer opengles2: turn color Uniform into Attribute. all attributes are copied interleaved (based on rmg-nik initial patch+ + minor clean up of data structure + add check for colorswap
154384a7 2021-08-18 23:59:27 Add (uintptr_t) casts
6e47f538 2021-04-01 20:18:05 Fix warnings
4869a3d2 2021-04-01 14:36:31 Add Direct3D9 implementation (not tested)
08d6a465 2021-08-18 23:57:32 Fix dynapi prototypes
4ba37638 2021-04-01 12:43:39 Save and restore SDL renderer state after transforming triangles to rect
cd0663e0 2021-04-01 11:47:45 Fix declaration-after-statement and remove tabs
cd4663df 2021-04-01 11:11:12 Update D3D11 for SDL_RenderGeometryRaw
9f591707 2021-04-01 10:37:45 Update METAL backend for SDL_RenderGeometryRaw
bfa15931 2021-08-18 12:04:38 audio: pipewire: Set PW_KEY_NODE_RATE to suggest a rate. This can be used by recent pipewire to avoid resampling.
402b86f2 2021-08-15 14:41:56 waylandevents: prevent segfault if xkb compose table is not found this can happen e.g. on pure wayland system where there is no X11 locales for xkbcommon to find.
454943cf 2021-04-11 16:44:48 emscripten: Don't flag window fullscreen on external requests Also, the condition was always true.
55af8dca 2019-02-27 14:16:37 emscripten: use emscripten_set_window_title api
d8baad7e 2019-02-27 14:15:40 emscripten: use emscripten_get_screen_size api
abc04270 2020-04-15 15:22:39 emscripten: Fix framebuffer array creation optimisation
b4f11a36 2020-04-15 14:48:52 emscripten: Drop commented out code from the dummy driver
fbc36490 2021-08-14 22:29:05 Use the new SDL_clamp() macro where sensible There were a few places throughout the SDL code where values were clamped using SDL_min() and SDL_max(). Now that we have an SDL_clamp() macro, use this instead.
07a2d71e 2021-03-30 11:56:38 emscripten: Feed silence to device when paused
dcc5eef0 2021-08-14 00:31:46 Clarify that one of the PIDs of the Xbox Elite Series 2 controller is used in Bluetooth mode
91a55a02 2021-08-13 23:59:39 Relative mouse motion is delivered to the window with keyboard focus This was the original intent (note SDL_UpdateWindowGrab() in SDL_OnWindowFocusGained() and SDL_OnWindowFocusLost()) and fixes a bug where relative motion unexpectedly stops if the task bar is covering the bottom of the game window and the mouse happens to move over it while relative mode is enabled. Another alternative would be to confine the mouse when relative mode is enabled, but that generates mouse motion which would need to be ignored, and it's possible for the user moving the mouse to combine with the mouse moving into the confined area so you can't easily tell whether to ignore the mouse motion. See https://github.com/libsdl-org/SDL/issues/4165 for a case where this is problematic.
69477151 2021-08-13 23:45:01 Get the window size for the window receiving the mouse motion This is the mouse focus except in the case where relative motion is enabled and the mouse is over a window floating on top of the application window (e.g. the taskbar)
6a1e1ed9 2021-08-13 23:36:13 Relative mouse mode grab is based on the window with the input focus This fixes restoring the cursor clip rectangle after the mouse has moved off of the window. Also try to better synchronize cursor visibility with mouse position changes when changing relative mode. This doesn't work perfectly, but it seems to improve things on Windows.
e42e9a12 2021-08-13 20:48:56 Fixed build
441fbcaa 2021-08-13 20:48:54 Added HIDAPI support for the Xbox Adaptive Controller
b5e5c1ef 2021-08-13 17:53:39 Added Ctrl-T to toggle topmost mode in test programs
4d9efcb5 2021-08-13 11:52:25 Fixed flag test for boolean correctness
b28ed028 2021-08-13 11:39:41 Don't warp the mouse for relative mode when the window doesn't have focus
629e9f82 2021-08-13 11:06:43 Fixed return value of SDL_GetGrabbedWindow() when we have an internal grab because of mouse relative mode
6aa1498b 2021-08-13 11:03:19 This assert wasn't correct, we set the internal grab for mouse relative mode as well.
907943a2 2021-08-12 17:51:08 Added support for the Xbox One S Controller with 5.x series firmware
1e921352 2021-08-13 07:58:48 Improve portability of SDL_Convert51ToStereo_AVX Don't rely on checking __clang_major__ since it is not comparable between different vendors. Don't use "#pragma clang attribute" since it is only available in relatively recent versions, there's no obvious way to check if it's supported, and just using __attribute__ directly (for gcc as well) results in simpler code anyway.
7aec0b90 2021-08-13 01:56:56 SDL_hidapi_xboxone.c: fix bogus 'uninitialized' warning from clang. The last 'size == 50' check is always true anyway.
cec5a129 2021-08-12 15:49:33 Fixed libudev hotplug notifications in the HIDAPI driver
6eb4ebb5 2021-08-12 15:49:33 Simplified the HIDAPI Xbox One controller initialization
25cd749a 2021-08-12 15:12:04 x11: Don't change mode if we are already in the correct mode If we are already in the desired mode, changing it is a no-op at best, and harmful at worst: on Xwayland, it sometimes happens that we disable the crtc and cannot re-enable it. Resolves: https://github.com/libsdl-org/SDL/issues/4630 Signed-off-by: Simon McVittie <smcv@collabora.com>
584b89ab 2021-08-12 08:17:10 Added support for the color LED on the Xbox Elite Series 2 controller
64882b24 2021-08-12 08:17:08 Added support for the Xbox One Elite 2 Controller with 5.x series firmware
ed6eb07e 2021-08-12 01:40:50 SDL_wasapi.c: fixed build against older SDKs.
68ca35c3 2021-08-11 21:40:46 wayland: fix memleak in output listener
e9179314 2021-08-11 21:27:42 joystick/linux: fix memleaks; streamline joylist item removal
44a76710 2021-08-11 12:55:50 Don't disable clang avx instrinsics on win32 if __AVX__ is defined. C.f.: https://github.com/libsdl-org/SDL/issues/4533
ae7ee2a5 2021-08-11 09:59:43 wayland: Ignore stateless/sizeless configs when starting in fullscreen mode
ac32c522 2021-08-10 18:11:09 Try using the built-in WASAPI audio rate conversion Fixes https://github.com/libsdl-org/SDL/issues/4608
cb1e20b0 2021-08-10 17:50:17 Added KMOD_SCROLL to track the scroll lock state Fixes https://github.com/libsdl-org/SDL/issues/4566
f5794f9e 2021-08-10 15:17:59 Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate a user-specified pointer with an SDL texture
a0af7ce7 2021-08-10 15:05:49 OSS is no longer the preferred audio backend on modern UNIX systems Fixes https://github.com/libsdl-org/SDL/issues/4207
3f6ebfff 2021-08-10 15:02:36 Updated to version 2.0.17 for development
016b02f2 2021-08-10 12:16:55 Fixed build, C89 doesn't allow non-constant static initializers
77c8d111 2021-08-10 20:55:50 configuration updates for dlopen: - cmake, configure (CheckDLOPEN): --enable-sdl-dlopen is now history.. detach the dl api discovery from SDL_LOADSO_DLOPEN functionality. define HAVE_DLOPEN. also define DYNAPI_NEEDS_DLOPEN (CheckDLOPEN is called only for relevant platforms.) - update SDL_config.in and SDL_config.cmake accordingly. - SDL_dynapi.h: set SDL_DYNAMIC_API to 0 if DYNAPI_NEEDS_DLOPEN is defined, but HAVE_DLOPEN is not. - pthread/SDL_systhread.c: conditionalize dl api use to HAVE_DLOPEN - SDL_x11opengl.c, SDL_DirectFB_opengl.c, SDL_naclopengles.c: rely on HAVE_DLOPEN, not SDL_LOADSO_DLOPEN. - SDL_config_android.h, SDL_config_iphoneos.h, SDL_config_macosx.h, SDL_config_pandora.h, and SDL_config_wiz.h: define HAVE_DLOPEN. Closes: https://github.com/libsdl-org/SDL/pull/4351
cb0fd05e 2021-08-07 22:41:54 Adding a clarifying comment in case a programmer unfamiliar with UTF-16 and UTF-32's relationship chances upon the code.
34701129 2021-08-07 20:51:49 Optimizing the implementation.
712e0d1f 2021-08-07 16:23:15 Fixing WM_CHAR event handling for Unicode characters outside the Basic Multilingual Plane.
fcfd19db 2021-08-10 12:02:17 Added support for SDL_RENDERER_PRESENTVSYNC to the software renderer This fixes https://github.com/libsdl-org/SDL/issues/4612
25f9ed87 2021-08-10 13:10:36 audio: Fix false positives in driver name comparison Without this change, driver names don't get matched correctly; for example "a" can get matched with "alsa" since it only checks whether the string matches up to the length of the requested driver name.
b3a989d0 2021-08-10 13:08:27 video: Fix false positives in driver name comparison Without this change, driver names don't get matched correctly; for example "x" can get matched with "x11" since it only checks whether the string matches up to the length of the requested driver name.
de6ba40d 2021-08-09 11:38:22 Added support for the Flydigi Vader 2 controller in 2.4G Android mode
3f440daa 2021-08-09 10:40:36 Added support for the Flydigi Vader 2 controller in Bluetooth mode
6ae227d0 2021-08-08 23:27:08 x11/wayland: fix screensaver suspension via D-Bus b08b1bde introduced a subtle bug. Despite not using D-Bus types directly, the code used the SDL_USE_LIBDBUS definition set by SDL_dbus.h to conditionally compile calls SDL_DBus_ScreensaverTickle() and SDL_DBus_ScreensaverInhibit(). As a result, it still compiled without SDL_dbus.h included, but screensaver suspension silently failed to work. The D-Bus stuff could probably use some tweaks to be harder to accidentally break, but for now just restore the header includes.
2e6dac87 2021-08-09 01:47:42 wayland: Add a hint to allow disabling libdecor use Useful for testing xdg-shell path with compositors like Weston.
092a20d9 2021-08-08 16:47:34 wayland: Avoid busy waiting for vsync
791d9d3f 2021-08-07 12:41:15 Fixed DInput mapping for NVIDIA Virtual Gamepad
7be970db 2021-08-06 19:51:27 wayland: Avoid setting floating width/height when re-entering fullscreen
bec78357 2021-08-06 14:20:55 Better fix for compiling using clang on Windows This fixes https://github.com/libsdl-org/SDL/issues/4533
a91ab883 2021-08-06 12:28:03 Fixed building on Windows with cmake, ninja, and clang
dd683073 2021-08-06 15:13:14 hidapi: Patched to compile on QNX. Fixes #4591.
cae7bd9b 2021-08-06 12:01:24 Don't use AVX with clang if the compiler isn't building with AVX instructions Fixes https://github.com/libsdl-org/SDL/issues/4533
10979d37 2021-08-05 12:42:03 wayland: Always assume configure is wrong for non-resizable windows. Configure events from compositors have an extremely annoying habit of giving us completely bogus sizes, from all sorts of places. Thankfully, the protocol gives us the ability to completely ignore the width/height and just stick with what we know, so for all windows that are not meant to be resized, pretend we never even got the width/height at all, the compositor is required to respect our dimensions whether they match configure's suggestion or not.
88674b4a 2021-08-04 13:17:35 Fixed build
c14813a8 2021-08-04 13:00:14 Fixed spacing
3cad447e 2021-08-04 12:57:51 Only update the window size if setting the display mode succeeded
0eb6f791 2021-05-21 13:48:14 SDL_SetWindowDisplayMode(): If already fullscreen, adjust window size Otherwise only the display resolution is changed, but the SDL window size (and for example the window-surface size) aren't adjusted accordingly and thus don't fill the whole screen. See #3313