Commit Graph

  • 76295cecf3 video/windows: ANSI/UNICODE updates (cf. bug 5435): Ozkan Sezer 2021-01-05 15:50:10 +03:00
  • 265a1cc97a use WIN_StringToUTF8W instead of WIN_StringToUTF8 where needed (#2) Ozkan Sezer 2021-01-05 15:50:02 +03:00
  • 516042b4d6 ran gendynapi.pl after SDL_UpdateNVTexture addition Ozkan Sezer 2021-01-05 15:15:50 +03:00
  • 31751bdcce wmmsg.h: constified wmtab Ozkan Sezer 2021-01-05 15:15:37 +03:00
  • b032504162 Fix unused variable warning on METAL (see bug #5430) Sylvain Becker 2021-01-05 12:36:34 +01:00
  • c1eb9ecf99 Add SDL_UpdateNVTexture for META (bug #5430) (not tested) Sylvain Becker 2021-01-05 12:29:43 +01:00
  • 73d93dbc38 Fix compilation on Window10 (see bug #5430) Sylvain Becker 2021-01-05 12:20:02 +01:00
  • df6b813108 Fix compilation (implicit declaration of function) (see bug #5430) Sylvain Becker 2021-01-05 12:16:32 +01:00
  • d1f031c8ee Add SDL_UpdateNVTexture for d3d11 (bug #5430) (not tested) Sylvain Becker 2021-01-05 12:08:16 +01:00
  • f5eba2ccd6 Fixed invalid read in yuv_rgb_sse() (see bug #5430) Sylvain Becker 2021-01-05 12:00:54 +01:00
  • be4cfd51c3 Add SDL_UpdateNVTexture() to update NV12/21 Texture (bug #5430) for renderer software, opengl, and opengles2 Sylvain Becker 2021-01-05 11:56:22 +01:00
  • d72dbd9883 Fixed detection of the Wooting Two keyboard, which shows up as an Xbox 360 controller Sam Lantinga 2021-01-04 17:30:28 -08:00
  • b2a0c712cb Allow setting the player index to -1, which turns off the player LED for PS5 controllers Sam Lantinga 2021-01-04 12:24:44 -08:00
  • bf754b52bf Valve contributed code is under the Zlib license Sam Lantinga 2021-01-04 12:17:24 -08:00
  • 8cb421b26d SDL_windows_main.c: use new WIN_StringToUTF8W macro Ozkan Sezer 2021-01-04 10:20:10 +03:00
  • a594b85031 use WIN_StringToUTF8W macro instead of WIN_StringToUTF8, where needed: Ozkan Sezer 2021-01-04 10:00:30 +03:00
  • 5b14bbff5f make ANSI/UNICODE versions of WIN??UTF8 macros individually available. Ozkan Sezer 2021-01-04 10:00:10 +03:00
  • f2bd861cd7 move SDL_tcsstr definition to core/windows/SDL_windows.h Ozkan Sezer 2021-01-04 08:50:00 +03:00
  • f414a43632 simplify Watcom implementation of SDL_MostSignificantBitIndex32() Ozkan Sezer 2021-01-04 03:00:10 +03:00
  • ae18109a92 SDL_windowsjoystick.c (SDL_CreateDeviceNotification): use L, not TEXT() Ozkan Sezer 2021-01-04 01:23:50 +03:00
  • 390fd14f54 SDL_windowswindow.c (SDL_HelperWindowCreate): adjust for ANSI/UNICODE: Ozkan Sezer 2021-01-04 01:23:50 +03:00
  • 398d2764c7 RAWINPUT_InitWindowsGamingInput: change pNamespace from LPTSTR to PCWSTR Ozkan Sezer 2021-01-04 01:23:50 +03:00
  • f09e0af7aa SDL_dinputjoystick.c (IsXInputDevice): adjust to be ANSI/UNICODE-agnostic Ozkan Sezer 2021-01-04 01:23:50 +03:00
  • ed39f2f3f9 SDL_wasapi_win32.c (WASAPI_PlatformThreadInit): use L instead of TEXT() Ozkan Sezer 2021-01-04 01:23:50 +03:00
  • 01a2f27679 consistently use TEXT() macro with LoadLibrary() and GetModuleHandle() Ozkan Sezer 2021-01-04 01:23:50 +03:00
  • 91a831e2d0 Implement SDL_MostSignificantBitIndex32 using MSVC intrinsics Cameron Gutman 2021-01-03 14:02:55 -06:00
  • 014f507c40 Use specific acquire and release variants of InterlockedExchange on ARM Cameron Gutman 2021-01-03 12:13:40 -06:00
  • 393c8c1f16 Fixed bug 5440 - MacCatalyst build failures Sam Lantinga 2021-01-03 10:32:55 -08:00
  • 115d66e756 Use MSVC _byteswap intrinsics for SDL byteswapping functions Cameron Gutman 2021-01-02 12:50:01 -06:00
  • 6cbd4417f0 Add a hint for D3D9Ex to avoid having to choose at compile-time Cameron Gutman 2021-01-02 14:45:15 -06:00
  • 59594a7891 Implement PAUSE_INSTRUCTION() for Windows ARM platforms Cameron Gutman 2021-01-02 13:43:04 -06:00
  • 6f9e18da2a Fixed bug 5441 - Add support for endianness check on FreeBSD: Fixes endianness checking on at least powerpc64le, maybe also other architectures Sam Lantinga 2021-01-03 10:18:39 -08:00
  • fea49a3e2f SDL_stretch.c: compilation NEON on Windows 10 Sylvain Becker 2021-01-03 15:24:47 +01:00
  • acccc71f27 Fixed bug 5436 - MSVC 2019 ARM64 build fails to compile SDL_stretch.c Sylvain Becker 2021-01-02 22:31:44 +01:00
  • 9130f7c377 Updated copyright for 2021 Sam Lantinga 2021-01-02 10:25:38 -08:00
  • 414ddc32c5 Do not wait in GetOverlappedResult() in hid_read_timeout() Cameron Gutman 2021-01-01 17:34:07 -06:00
  • 963c9495d3 Fixed bug 5431 - SDL_Metal_GetDrawableSize is inaccurate for high dpi displays if a Metal view has not already been created Sam Lantinga 2021-01-02 10:11:08 -08:00
  • d25eff6505 Fixed bug 5429 - spinlock implements PAUSE_INSTRUCTION for PPC platforms Sam Lantinga 2021-01-02 10:06:22 -08:00
  • f0b6c78733 Fixed Windows XP compatibility with recent hidapi commit Sam Lantinga 2021-01-02 09:58:08 -08:00
  • 3edf337d66 Simplify RenderGetViewportSize Sylvain Becker 2021-01-02 17:29:34 +01:00
  • 2af765da11 SDL_RenderGetViewportF: only need the size of viewport (see bug #5424) Sylvain Becker 2021-01-02 17:18:13 +01:00
  • 41597249e8 SDL_RenderGetViewportF: remove debug messages Sylvain Becker 2021-01-02 16:15:22 +01:00
  • 8c48c4238a Add SDL_RenderGetViewportF: fix lost of precision while scaling (see bug #5424) Sylvain Becker 2021-01-02 16:12:30 +01:00
  • c005267fb1 SDL_BlitScaled: better and safer fix clipping bug #2687 Sylvain Becker 2021-01-02 09:38:19 +01:00
  • 2127ed2574 SDL_SoftStretch: add a check for input pixel format and function re-naming Sylvain Becker 2021-01-02 09:28:16 +01:00
  • b5f0483cb3 fix permissions Ozkan Sezer 2021-01-01 22:30:28 +03:00
  • ab55ec4850 Fix use-after-free SBH corruption due to overlapped ReadFile in hidapi not being canceled for all threads before device close Sam Lantinga 2021-01-01 11:12:41 -08:00
  • 480c1f9fef Make sure we're not starving report reads when there's lots of rumble Sam Lantinga 2021-01-01 11:12:36 -08:00
  • 223af86c62 Added SDL_RenderGetD3D11Device() to get access to the device associated with the D3D11 renderer Sam Lantinga 2021-01-01 11:12:30 -08:00
  • 5f0b2a7f54 Fixed resource leak with D3D11 NV12 textures Sam Lantinga 2021-01-01 11:12:22 -08:00
  • 21003b7db2 [KMS/DRM] Small refactoring on the SwapWindow function. Manuel Alfayate Corchete 2020-12-31 14:31:29 +01:00
  • e1fb969b76 [KMS/DRM] Correct comments about last bugfix. Manuel Alfayate Corchete 2020-12-31 01:40:15 +01:00
  • e34caa9779 [KMS/DRM] Correct EGL/GL library loading on window creation, thus saving window re-creation. Manuel Alfayate Corchete 2020-12-31 01:31:57 +01:00
  • d81fe9239f SDL_BlitScaled: remove un needed -1 +1 offset in calculation Sylvain Becker 2020-12-30 22:03:32 +01:00
  • 8476df3e31 SDL_mixer.c: remove calls to non-existing m68k asm code. Ozkan Sezer 2020-12-30 23:55:10 +03:00
  • 5b2e011e6d SDL_endian.h: minor fixes from SDL-1.2 branch Ozkan Sezer 2020-12-30 23:55:02 +03:00
  • 5aba082703 Build SDL for Mac hardware when targeting iOS Sam Lantinga 2020-12-30 11:38:51 -08:00
  • 590a5469ed Fixed bug 5424 - Renderer doesn't use entirely the viewport when scaling is used Sylvain Becker 2020-12-30 16:12:14 +01:00
  • a88071deb5 configure.ac: directfb dynamic loading support updates: Ozkan Sezer 2020-12-30 15:55:00 +03:00
  • f24cc903a2 remove CFLAGS save/restores from dbus.h and ibus.h header checks. Ozkan Sezer 2020-12-30 15:53:56 +03:00
  • 88eaf356a7 minor update to test/acinclude.m4 (pkg.m4) Ozkan Sezer 2020-12-30 15:53:20 +03:00
  • 92edee2324 SDL_config_android.h: update SIZEOF_VOIDP define to respect __LP64__ Ozkan Sezer 2020-12-30 01:28:02 +03:00
  • 7c105f12d5 updates to SDL_config_os2.h Ozkan Sezer 2020-12-30 01:21:10 +03:00
  • 1cdc1d4890 SDL_config.h.cmake, SDL_config.h.in: update for SIZEOF_VOIDP define Ozkan Sezer 2020-12-30 01:00:24 +03:00
  • 9fc139dfb5 SDL_config_windows.h: add missing HAVE_STRTOULL along side HAVE_STRTOLL Ozkan Sezer 2020-12-30 01:00:24 +03:00
  • b76b81b0e4 SDL_config.h.cmake, SDL_config.h.in: add os/2 driver defines Ozkan Sezer 2020-12-30 01:00:24 +03:00
  • 8a32ee24db removed MSVC strtok_s use from SDL_strtokr(). Ozkan Sezer 2020-12-30 01:00:24 +03:00
  • 0684572ccc Added a hint to control whether the player LEDs should be lit to indicate which player is associated with a PS5 controller. Sam Lantinga 2020-12-29 12:13:10 -08:00
  • 6116ccf035 fix configure warnings when checking dbus/dbus.h and ibus-1.0/ibus.h Ozkan Sezer 2020-12-29 21:20:28 +03:00
  • f175824172 config.sub, config.guess: go back to backtick .. substitutions. Ozkan Sezer 2020-12-29 20:51:10 +03:00
  • 80cf8a8b76 SDL_BlitScaled: also prevent crash if dest width or height is negative Sylvain Becker 2020-12-29 17:29:31 +01:00
  • f08b9a5b6b SDL_BlitScaled: prevent crash if dest width or height is 0 Sylvain Becker 2020-12-29 16:02:52 +01:00
  • 427c96ec11 [KMS/DRM] Rework some functions. Manuel Alfayate Corchete 2020-12-29 14:24:38 +01:00
  • 67f0b9b86d Fixed bug 5418 - Add system features detection for Elbrus (E2K) Sam Lantinga 2020-12-28 20:58:47 -08:00
  • 8eae956c98 regenerated configure Ozkan Sezer 2020-12-29 00:00:56 +03:00
  • 3cb0e840e6 Fixed bug 5422 - KMSDRM_LEGACY: Add OpenBSD support Sam Lantinga 2020-12-28 11:47:53 -08:00
  • 8fc0baad98 Add SDL_cond implementation using Windows Condition Variables Is automatically used when the SRW SDL_mutex implementation is active. Otherwise falls back to the generic implementation. Joel Linn 2020-12-28 11:43:11 -08:00
  • 2443e51e0e Add optional suffix _generic to generic SDL_cond impl Allows for runtime selectable implementation Joel Linn 2020-12-28 11:42:49 -08:00
  • 7539ac8087 [KMS/DRM] Restore hacky code to point to TTY buffer on surface destruction b/c I lack alternatives. Manuel Alfayate Corchete 2020-12-28 18:22:07 +01:00
  • 5dabc4d72f Revert changeset 14590 544ac819e8b3 , does not fully fix Sylvain Becker 2020-12-28 18:17:25 +01:00
  • 9efdafd43d SDL_RenderCopy: scale before doing intersection this prevents drawing 1 pixel outside the screen, in letterbox mode Sylvain Becker 2020-12-28 18:07:03 +01:00
  • 86b81abea6 [KMS/DRM_LEGACY] Prevent mouse cursor from staying onscreen after window destruction. Patch by Ozkan Sezer. Manuel Alfayate Corchete 2020-12-28 16:19:19 +01:00
  • 0feaf7d196 [KMS/DRM][Vulkan] Correct non-existing property. Remove hacky surface destruction code (TTY buffer isn't there after a Vulkan window is created). Manuel Alfayate Corchete 2020-12-28 14:37:58 +01:00
  • 7186584b8d fix indentation (bug 5313) Sylvain Becker 2020-12-28 10:41:37 +01:00
  • 9e22f62e0d arm64 implementations of SDL_Swap16/32 (bug #5419.) Ozkan Sezer 2020-12-28 11:50:02 +03:00
  • 2355dea448 revert 'arm64 implementations of SDL_Swap16/32' for now (bug #5419) Ozkan Sezer 2020-12-28 08:00:50 +03:00
  • 2f99bc07e7 arm64 implementations of SDL_Swap16/32 (bug #5419.) Ozkan Sezer 2020-12-28 07:20:20 +03:00
  • c2735c0bb9 Better scaling fallbacks for the SW renderer (bug 5313) Sylvain Becker 2020-12-27 23:53:28 +01:00
  • a6beb2d264 SDL_PrivateLowerBlitScaled: remove unused local var 'a' Ozkan Sezer 2020-12-28 01:10:02 +03:00
  • 30df2e4e36 Scaling fallbacks for the SW renderer (bug 5313) Sylvain Becker 2020-12-27 23:00:11 +01:00
  • 040bd7a91b Fix udev not detecting ID_INPUT_KEY devices when udev is not running Luca Weiss 2020-12-28 00:55:28 +03:00
  • f9b5f6cc0f Forward scale mode to SW renderer (Bug 5313) Sylvain Becker 2020-12-27 20:28:24 +01:00
  • 471d3c363e fix bug #5415 -- fatal error: 'Cocoa/Cocoa.h' file not found in iOS build Ozkan Sezer 2020-12-27 14:00:30 +03:00
  • a6c6e5f582 configure.ac: fix POSIX conformance issues (bug #4261.) Ozkan Sezer 2020-12-27 14:00:02 +03:00
  • 9f6fddb40f CMake: don't check for --no-undefined linker flag for OpenBSD (bug #5174) Ozkan Sezer 2020-12-27 05:20:10 +03:00
  • 46d31d570d [KMS/DRM][Vulkan] Fix segfault when changing fullscren mode and permanent cursor when changing between Vulkan and GL renderers in vkQuake3. Tidy up window destruction code. Manuel Alfayate Corchete 2020-12-27 00:43:06 +01:00
  • e7c479414b Disable WaitOnAddress SDL_sem implementation on Windows Phone Apps that use the required APIs do not pass certification. Joel Linn 2020-12-25 17:10:02 +03:00
  • 5b64fdc9bf thread/windows: Remove synchronization.lib from WinPhone81 dependencies synch APIs are implicitly available on this platform. Joel Linn 2020-12-25 10:41:20 +03:00
  • d6afc1c608 thread/windows: Statically link synchronization APIs on WINRT GetModuleHandleW is not available on those platforms --- .../WinPhone81_VS2013/SDL-WinPhone81.vcxproj | 8 ++++---- VisualC-WinRT/WinRT81_VS2013/SDL-WinRT81.vcxproj | 12 ++++++------ src/thread/windows/SDL_sysmutex.c | 12 ++++++++++++ src/thread/windows/SDL_syssem.c | 11 +++++++++++ 4 files changed, 33 insertions(+), 10 deletions(-) Joel Linn 2020-12-25 04:00:20 +03:00
  • ff913a22f4 Fixed compile warnings on platforms without hidapi support Sam Lantinga 2020-12-23 16:16:55 -08:00