Commit Graph

  • 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
  • 45b0460019 Don't divide by zero in slow blitter Marcin Serwin 2025-11-09 11:21:41 +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
  • 5d0919855e D3D12 GPU: Prevent reading out of bounds when uploading textures. Chris Genova 2025-11-07 17:32:37 -05: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
  • 0f21e46586 Added support for SDL_PIXELFORMAT_INDEX8 to SDL_BlitTriangle_Slow() Sam Lantinga 2025-11-07 11:00:55 -08:00
  • 547b2a2e37 SDL_SetSurfaceRLE() has a boolean parameter Sam Lantinga 2025-11-07 11:00:21 -08:00
  • 950a9a72ab wayland: Use a pool to allocate icon image buffers Frank Praznik 2025-11-07 13:25:16 -05:00
  • b3060956c3 wayland: Release the SHM pool after initial cursor buffer creation Frank Praznik 2025-11-07 12:57:43 -05:00
  • 9a19cc8323 Fixed unaligned load in Xbox HIDAPI driver Sam Lantinga 2025-11-07 10:37:44 -08:00
  • 118dcf27ce Added D mode mappings for the 8BitDo 64 Bluetooth Controller Sam Lantinga 2025-11-07 10:16:35 -08:00
  • 9ff737efbd Updated the Nintendo Switch N64 controller mapping Sam Lantinga 2025-11-07 09:37:24 -08:00
  • f211a3bb69 Fixed initial rumble on the 8BitDo 64 Bluetooth Controller Sam Lantinga 2025-11-07 09:31:45 -08:00
  • ef5b1c8f5f Fix DefWindowProc called for events handled in WIN_WindowProc Daniel Ludwig 2025-11-07 11:00:55 +01:00
  • 38e0094637 Fix uninitialized variable warning when compiling tests with clang compiler Petar Popovic 2025-11-07 11:30:15 +01:00
  • 6d2d283954 Fixed blitting bitmaps with a non-zero x offset Sam Lantinga 2025-11-06 22:13:22 -08:00
  • a2ed1a4197 Fixed blitting bitmaps with a non-zero x offset Sam Lantinga 2025-11-06 22:13:22 -08:00
  • 49db06b604 x11: Only correct placement for border offset on the initial window mapping Frank Praznik 2025-11-06 19:01:50 -05:00
  • a71b2f0a93 x11: Only correct placement for border offset on the initial window mapping Frank Praznik 2025-11-06 19:01:50 -05:00
  • 2a873be9cd Return false from SDL_SetWindowMouseRect() if it's not supported Sam Lantinga 2025-11-06 11:59:47 -08:00
  • 599bd1a6aa Fixed building if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_SCROLLINFO isn't defined Sam Lantinga 2025-11-06 11:12:05 -08:00
  • f8a959da05 cmake: Add some symbols to the Emscripten preseed cache. Ryan C. Gordon 2025-11-06 13:37:35 -05:00
  • e24eeefbd1 The default render texture format is SDL_PIXELFORMAT_ARGB8888 Sam Lantinga 2025-11-06 09:46:43 -08:00
  • ca072c9fc6 Don't do anything if the window mouse rect hasn't changed Sam Lantinga 2025-11-06 09:18:23 -08:00
  • dc086d6454 Revert "pipewire: disable -Wdeclaration-after-statement for pipewire headers" Ozkan Sezer 2025-11-06 19:55:55 +03:00
  • ba38fda752 Revert "pipewire: disable -Wdeclaration-after-statement for pipewire headers" Ozkan Sezer 2025-11-06 19:55:02 +03:00
  • de5b8a1c45 Remove useless call to SetTextureAddressMode() Mathieu Eyraud 2025-11-06 17:16:59 +01:00
  • 7ad4911584 Remove incorrect and useless call to SetTextureScaleMode() Mathieu Eyraud 2025-11-06 11:40:21 +01:00
  • 85012b6074 loongarch: add SDL_FillSurfaceRect4LSX opt yuanhecai 2025-10-30 13:54:20 +08:00
  • 14271c72f3 loongarch: add Blit8888to8888PixelAlphaSwizzleLSX opt yuanhecai 2025-10-28 17:59:19 +08:00
  • 1acc405bd4 loongarch: add SDL_FillRect4LSX opt yuanhecai 2025-10-28 11:09:34 +08:00
  • a07b00ccb0 loongarch: add BlitRGBtoRGBPixelAlphaLSX opt yuanhecai 2025-10-28 11:09:09 +08:00
  • 616c21d730 SDL_camera_v4l2.c: fix build against old kernel headers. Ozkan Sezer 2025-11-06 18:28:50 +03:00
  • 14eebdab3c loongarch: add SDL_FillRect4LSX opt yuanhecai 2025-10-28 11:09:34 +08:00