Commit Graph

  • 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
  • 686c18026b loongarch: add BlitRGBtoRGBPixelAlphaLSX opt yuanhecai 2025-10-28 11:09:09 +08:00
  • 80af7d3ccd Fix error handling of X11Toolkit_InitWindowPixmap Mathieu Eyraud 2025-11-06 13:10:30 +01:00
  • d17b8412f1 Fix potential NULL pointer dereference Mathieu Eyraud 2025-11-06 13:17:41 +01:00
  • 04af745fec Add support for V4L2 XB24 (32-bit RGBX) camera format Yevgen Abramov 2025-11-06 09:42:42 -05:00
  • d73922e407 Validate SPI read command in the Nintendo Switch HIDAPI driver Sam Lantinga 2025-11-05 17:34:22 -08:00
  • c94da8977d Validate SPI read command in the Nintendo Switch HIDAPI driver Sam Lantinga 2025-11-05 17:34:22 -08:00
  • c8d23a5f01 Fixed unaligned access in the Nintendo Switch HIDAPI driver Sam Lantinga 2025-11-05 17:08:22 -08:00
  • 9a1745f2c8 Fixed unaligned access in the Nintendo Switch HIDAPI driver Sam Lantinga 2025-11-05 17:08:22 -08:00
  • 720a9d0636 README-emscripten: Note that using the latest stable release is a good idea. Ryan C. Gordon 2025-11-05 16:12:01 -05:00
  • 7324823b3e emscripten: Send resize events when screen orientation changes. Ryan C. Gordon 2025-11-05 15:52:38 -05:00
  • 4d8c8cdeda Fix V4L2 frame rate numerator comparison in SDL3 camera Yevgen Abramov 2025-11-05 13:08:56 -05:00
  • b09b557fc6 Fix V4L2 frame rate numerator comparison in SDL3 camera Yevgen Abramov 2025-11-05 13:08:56 -05:00
  • f5e72c8709 docs: Add XTEST library to the Fedora package list Frank Praznik 2025-11-04 19:21:34 -05:00
  • 148d8c4995 release: don't download pre-release dependencies + strict version parsing Anonymous Maarten 2025-11-04 17:59:09 +01:00
  • 0da649eb72 release: don't download pre-release dependencies + strict version parsing Anonymous Maarten 2025-11-04 17:59:09 +01:00
  • 49134ecf25 Pass the error through from the SetRelativeMouseMode() implementation Sam Lantinga 2025-11-03 13:06:57 -08:00
  • 05887f2087 Return false from SDL_SetWindowRelativeMouseMode() if relative mode isn't available Sam Lantinga 2025-11-03 10:42:40 -08:00
  • eedc0b19fd Fixed build warning when X11 XInput isn't available Sam Lantinga 2025-11-03 10:39:31 -08:00
  • 4560fae07e Fail configuration if X11 dependency packages aren't available Sam Lantinga 2025-11-03 10:26:40 -08:00
  • a6351ac474 Added libxtst-dev to Linux CI build dependencies Sam Lantinga 2025-11-03 10:53:50 -08:00
  • dc5b136930 loongarch: add SDL_FillSurfaceRect4LSX opt yuanhecai 2025-10-30 13:54:20 +08:00
  • 0b1eb4c841 loongarch: add Blit8888to8888PixelAlphaSwizzleLSX opt yuanhecai 2025-10-28 17:59:19 +08:00
  • 5ad9b6b317 Add bounds checks in SDL_qsort (#10066) aikawayataro 2025-11-03 16:40:30 +00:00
  • ea8e66ccd1 Don't use getpagesize() on Windows Sam Lantinga 2025-11-03 08:36:29 -08:00
  • 6493be9eea Removed SDL_AUTO_ENABLE_ENHANCED_FLYDIGI Sam Lantinga 2025-11-03 08:20:41 -08:00
  • 641deb9c0e Initial port to SDL3 audio subsystem Joshua T. Fisher 2025-11-02 21:29:58 -08:00
  • 05ce978e18 cocoa: Use cached viewport dimensions when querying the window pixel size Frank Praznik 2025-11-03 09:13:28 -05:00