Commit Graph

  • 07f995eb72 Passing NULL path to SDL_OpenFileStorage() gives access to the whole filesystem Sam Lantinga 2025-11-15 08:37:06 -08:00
  • 3ae7a54c94 filesystem: SDL_OpenFileStorage() now deals with relative paths better. Ryan C. Gordon 2025-11-14 19:33:00 -05:00
  • b83bd80424 Update README.md Ryan C. Gordon 2022-04-11 17:09:03 -04:00
  • 10f6b860ee Create FUNDING.yml Ryan C. Gordon 2022-04-11 10:44:44 -04:00
  • d4bef0d5ba Add support for tcc to cmake (#14464) tsst-tsst 2025-11-15 20:24:15 +01:00
  • 005cb20e67 wayland: Use defines for timer rollover constants Frank Praznik 2025-11-15 11:18:07 -05:00
  • c6935f9dcb Fixed EGL framebuffer colors on AMD drivers Sam Lantinga 2025-11-15 07:43:59 -08:00
  • a4c269cd10 Fixed handling framebuffer_srgb_capable for EGL and iOS Sam Lantinga 2025-11-15 07:32:49 -08:00
  • 0f763da015 Sync SDL3 wiki -> header SDL Wiki Bot 2025-11-15 15:41:21 +00:00
  • cb6272ed2d windows: Treat absolute mouse as pen events when SDL_HINT_PEN_MOUSE_EVENTS=0. Susko3 2025-02-18 16:46:41 +00:00
  • dccf486a0a Fixed potential infinite recursion opening a Steam Controller Sam Lantinga 2025-11-14 13:43:35 -08:00
  • d62f141b29 opengl: Fixes for sRGB framebuffer support. Ryan C. Gordon 2025-11-14 10:45:37 -05:00
  • 0ae3d7b0b0 Fixed crash in the vulkan renderer when the window is minimized Sam Lantinga 2025-11-14 12:34:17 -08:00
  • ed6d41f55b testcontroller: demonstrate multiple sensors on the virtual controller Sam Lantinga 2025-11-14 08:18:04 -08:00
  • cc3b5766fa testsprite: changed return type of LoadSprite() to bool Sam Lantinga 2025-11-14 07:59:34 -08:00
  • 2b2bf85970 Sync SDL3 wiki -> header SDL Wiki Bot 2025-11-14 15:29:18 +00:00
  • 367c8d7c7b touch: don't compare mouse_touch_events to zero; it's a bool. Ryan C. Gordon 2025-11-14 10:27:44 -05:00
  • 919254cdd1 Fixed comment for the new Steam Controller mapping Sam Lantinga 2025-11-14 07:09:36 -08:00
  • 879f081de3 Improve OpenGL detection checks in CMake (#14443) Donovan Maas 2025-11-14 02:18:33 -06:00
  • 9fd3dbfc42 switch2: Remove some unneeded init commands Vicki Pfau 2025-11-12 16:48:14 -08:00
  • f0d4aca03d switch2: Bring up IMU support Vicki Pfau 2025-11-12 16:46:32 -08:00
  • ae6cdea0fa switch2: Refactor and clean up rumble code a bit Vicki Pfau 2025-10-29 17:09:05 -07:00
  • d66946cee7 wasapi: fix memory leak on unlikely failure case. Ryan C. Gordon 2025-11-03 10:10:52 -05:00
  • 7db0e48454 wasapi: Minor style tweaks. Ryan C. Gordon 2025-11-03 10:10:34 -05:00
  • a01d6f109d Add SDL_LoadSurface and SDL_LoadSurface_IO (#14374) Maia 2025-11-13 23:50:37 +01:00
  • 4cc9153df2 Android: remove old cpu-feature code, and fix build (add HAVE_GETAUXV… (#14460) Sylvain Becker 2025-11-13 18:12:07 +01:00
  • e2e8f86076 Check for wine_get_version() to detect Wine/Proton Sam Lantinga 2025-11-12 21:40:05 -08:00
  • 493bc621e4 Don't check SteamVirtualGamepadInfo when running as Wine Sam Lantinga 2025-11-12 21:35:57 -08:00
  • dafca86123 Cleanup SDL_UDEV_GetProductSerial() Sam Lantinga 2025-11-12 22:23:27 -08:00
  • 54f129f765 FIX SDL_GetJoystickSerial() always returning NULL on Linux (UDEV) (#14454) pmx 2025-11-12 23:25:31 +01:00
  • 9dbde4542c gpu: Windows 11 guarantees a D3D12 minimum, skip checks accordingly Ethan Lee 2025-11-12 15:59:52 -05:00
  • 702a1adf4a windows: Add WIN_IsWindows11OrGreater, using a dwBuildNumber helper function Ethan Lee 2025-11-12 15:58:57 -05:00
  • 667720d5af Added support for the HORI Taiko Drum Controller For Switch Sam Lantinga 2025-11-12 12:04:02 -08:00
  • d0926d380e Added SDL_hidapi_steam_triton.c to the GDK Visual Studio project Sam Lantinga 2025-11-12 11:54:48 -08:00
  • 379c47cc75 Revert "Fix lost KEY_UP events with multiple keyboards using shared scancode state (#14446)" Sam Lantinga 2025-11-12 11:50:29 -08:00
  • 2079517802 Fix Android TitleStorage: avoid leading '/' and handle NULL base path Corentin Recanzone 2025-09-12 20:17:11 +02:00
  • 0c5f7f6a33 unix: Unref SDL_gtk context on quit Sam Lantinga 2025-11-12 11:42:02 -08:00
  • e1af623631 Fixed Steam Deck sensor timings Sam Lantinga 2025-11-12 11:36:37 -08:00
  • 1998b65045 Added support for the new Steam Controller Sam Lantinga 2025-11-12 11:32:32 -08:00
  • 04a62cba1f gpu: Set up D3D12 device checks to avoid unnecessary queries Ethan Lee 2025-11-12 11:18:52 -05:00
  • 3dab15d3b4 Fix lost KEY_UP events with multiple keyboards using shared scancode state (#14446) Chris Burrows 2025-11-12 18:36:08 +11:00
  • 65989d269e Updated SDL_GPUVulkanOptions documentation Sam Lantinga 2025-11-11 20:49:14 -08:00
  • b2585ac236 gpu: Vulkan feature/extension lists do not need to be stored in the renderer Ethan Lee 2025-11-11 21:24:45 -05:00
  • 536507101d gpu: De-duplicate property enumeration for Vulkan features Ethan Lee 2025-11-11 20:58:14 -05:00
  • b7ea19d5e5 Sync SDL3 wiki -> header SDL Wiki Bot 2025-11-11 23:54:29 +00:00
  • ac0f77b7e6 Allow SDL GPU to opt into additional Vulkan features (#14204) TheSniperFan 2025-11-12 00:53:06 +01:00
  • 6905714986 android: remove dependency on cpu-features.h Anonymous Maarten 2025-11-12 00:41:43 +01:00
  • 25ab8c99df pen: Offer the current window during promixity events on most platforms. Ryan C. Gordon 2025-11-10 16:07:07 -05:00
  • 7073cfc58e release: don't use legacy Android CMake toolchain file Anonymous Maarten 2025-11-11 21:46:26 +01:00
  • 5bed8ec603 Implemented render batching for D3D9 Sam Lantinga 2025-11-11 08:01:18 -08:00
  • a63e848509 Sync SDL3 wiki -> header SDL Wiki Bot 2025-11-11 15:38:49 +00:00
  • 5ec6147acb Add missing type suffix to SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION prop Maia 2025-11-11 14:38:58 +01:00
  • 6b07e13fef Fixed spacing Sam Lantinga 2025-11-10 18:30:59 -08:00
  • fffaf122df Added temporary workaround for failing Emscripten test Sam Lantinga 2025-11-10 16:47:38 -08:00
  • dde7fa3b17 Validate the output colorspace before setting up a renderer Sam Lantinga 2025-11-10 16:30:17 -08:00
  • 6baaa0fe87 Destroy the window surface if a software renderer couldn't be created Sam Lantinga 2025-11-10 16:07:17 -08:00
  • 6a7fb838f4 Return false if we couldn't update the emscripten framebuffer Sam Lantinga 2025-11-10 15:53:40 -08:00
  • eccd5c03c3 testautomation: added tests to cover linear <-> sRGB colorspace conversion Sam Lantinga 2025-11-10 13:33:50 -08:00
  • 33c70af2f8 Fixed SDL_COLORSPACE_SRGB_LINEAR being used for RGBA32 textures Sam Lantinga 2025-11-10 13:25:42 -08:00
  • 1c77304ee9 Fixed getting an 8-bit window surface on Apple platforms Sam Lantinga 2025-11-10 13:04:27 -08:00
  • ff890d1733 Fixed crash blitting to an 8-bit surface with no palette Sam Lantinga 2025-11-10 13:03:00 -08:00
  • 6389f4db4c SDL_FindColor() can be static Sam Lantinga 2025-11-10 13:02:26 -08:00
  • ead02b08dd Skip tonemapping for render targets with unspecified HDR headroom Sam Lantinga 2025-11-10 10:25:24 -08:00
  • 4e5ba722fd Change the batch if the color scale changes Sam Lantinga 2025-11-09 15:01:37 -08:00
  • d29f368ca8 Change the batch if the GPU render state changes Sam Lantinga 2025-11-09 14:57:03 -08:00
  • 3399bc600e gpu renderer: add color to the point/line vertex data Sam Lantinga 2025-11-09 14:37:38 -08:00
  • 97ebfbf7a0 Only convert color to linear once in VULKAN_QueueDrawPoints() Sam Lantinga 2025-11-09 13:44:40 -08:00
  • d9be8b9a00 Implemented render batching for D3D11, D3D12, Metal, and Vulkan Sam Lantinga 2025-11-09 11:16:47 -08:00
  • 01a812cbca Sync SDL3 wiki -> header SDL Wiki Bot 2025-11-11 01:21:27 +00:00
  • b5624e14ff gpu: Add SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION property Ethan Lee 2025-11-07 14:22:45 -05:00
  • 0b2073d143 gpu: Remove dead code in the Vulkan device ranking system. Ethan Lee 2025-11-07 13:12:36 -05:00
  • 1b79ba9ab6 gpu: Separate device suitability from device rank when enumerating Vulkan devices. Ethan Lee 2025-11-07 12:33:04 -05:00
  • 6976b57988 gpu: Move device ranking to the bottom of IsDeviceSuitable. Ethan Lee 2025-11-07 12:16:57 -05:00
  • 799c6aa629 gpu: Move device ranking to a standalone function. Ethan Lee 2025-11-06 20:57:26 -05:00
  • 0cc2b026e7 gpu: Check for MSFT_layered_driver, skip layered drivers during enumeration Ethan Lee 2025-11-06 13:14:57 -05:00
  • f3d39815e7 progressbar: Ensure buffers are large enough for string manipulation Frank Praznik 2025-11-09 16:51:37 -05:00
  • f6a05121ec wayland: Handle dispatch errors when showing a window Frank Praznik 2025-11-09 12:01:53 -05:00
  • 5d0236ad51 wayland: Don't leave un-acked configurations when throttling resize events Frank Praznik 2025-11-09 11:10:29 -05:00
  • 2382d3831c cmake: List enabled camera backends. Ryan C. Gordon 2025-11-09 12:05:05 -05:00
  • a96664674f Fixed windows events on 32-bit Windows Sam Lantinga 2025-11-09 07:42:50 -08:00
  • 836dad75ae Remove redundant semicolons. Eddy Jansson 2025-11-09 16:04:53 +01:00
  • 53ee410d7a Don't divide by zero in slow blitter Marcin Serwin 2025-11-09 11:21:41 +01:00
  • 2bc886d0bd testqsort: add custom macro to allow comparing with qsort Anonymous Maarten 2025-10-28 01:25:25 +01:00
  • 2be18f340f testqsort: use SDLTest_TestSuite Anonymous Maarten 2025-10-27 22:04:16 +01:00
  • b9c790949e wasapi: Don't ignore device disconnect events on unopened devices. unknown 2025-11-09 01:10:38 -05:00
  • 2f41dd7b5c pen: Better pen position precision on Windows 8 and later. Ryan C. Gordon 2025-11-07 10:34:17 -05:00
  • 704ac98d3f Make sure the blit mapping is cleared when undoing RLE encoding Sam Lantinga 2025-11-08 15:24:49 -08:00
  • 089dc86bcf Lazily redo RLE encoding Sam Lantinga 2025-11-08 14:31:06 -08:00
  • cc2a272d6f Enable RLE more often in the software renderer Sam Lantinga 2025-11-08 13:54:28 -08:00
  • ac0edbe9d2 Just assert that RLE encoding isn't active Sam Lantinga 2025-11-08 13:44:38 -08:00
  • 2b365983db Save the original pixels when RLE encoding is enabled Sam Lantinga 2025-11-08 12:35:53 -08:00
  • 78152d13ee Added SDL_ConvertSurfaceRect() for internal use Sam Lantinga 2025-11-08 12:14:28 -08:00
  • d145e78cd6 Improved performance scaling 8-bit surfaces Sam Lantinga 2025-11-08 10:22:15 -08:00
  • 01d359c1df Don't create a larger surface than we need when scaling Sam Lantinga 2025-11-08 10:01:54 -08:00
  • 7d628ef76c Fixed scaling YUV surfaces Sam Lantinga 2025-11-08 10:01:27 -08:00
  • 7553d5892e Fixed software renderer 8-bit scaling and rotation (thanks @jroatch!) Sam Lantinga 2025-11-08 08:46:58 -08:00
  • 6a01d6e7d3 D3D12 GPU: Prevent reading out of bounds when uploading textures. Chris Genova 2025-11-07 17:32:37 -05:00
  • 1fb663b429 Make sure that SDL_PIXELFORMAT_ARGB8888 is the first texture format for OpenGL Sam Lantinga 2025-11-07 11:13:50 -08:00
  • 3489a45216 Use srcpixel now that we've set it Sam Lantinga 2025-11-07 11:12:10 -08:00
  • 294beceec7 Fixed error: 'srcpixel' may be used uninitialized Sam Lantinga 2025-11-07 11:11:31 -08:00