Commit Graph

  • 48471f7dbd Added SDL_AddVulkanRenderSemaphores() for external synchronization with SDL rendering Sam Lantinga 2024-03-02 10:03:37 -08:00
  • 504d8c2fc0 Fixed potential memory leak if vkCreateInstance() fails Sam Lantinga 2024-03-04 07:46:24 -08:00
  • 1e790b20c9 video: Don't overwrite all the pending flags in the OnWindowHidden handler Frank Praznik 2024-03-04 10:29:43 -05:00
  • a842bc29fa Uppercase the first letter of the class name to match Java conventions Sam Lantinga 2024-03-03 16:56:29 -08:00
  • 4189edaeb7 Uppercase the first letter of the class name to match Java conventions Sam Lantinga 2024-03-03 16:56:29 -08:00
  • a4d7ff6751 testffmpeg: Use EGL_EXT_image_dma_buf_import_modifiers extension Robert Edmonds 2024-03-03 17:46:14 -05:00
  • ae4484f4e5 video: Save pending window events when a window is hidden by the window manager Frank Praznik 2024-03-03 17:55:47 -05:00
  • 9be35d4603 Convert mappings using labeled buttons to positional buttons Sam Lantinga 2024-03-03 14:17:03 -08:00
  • 2f2cca8ac6 Added a mapping for the Sanwa Supply JY-P76USV controller Sam Lantinga 2024-03-03 12:23:00 -08:00
  • d35dee76c7 Added a mapping for the Sanwa Supply JY-P76USV controller Sam Lantinga 2024-03-03 12:23:00 -08:00
  • ccd309c433 Added a mapping for the Sanwa Supply JY-P76USV controller Sam Lantinga 2024-03-03 12:23:00 -08:00
  • 9e1e0fb92f Removed the mapping for the G-Shark GS-GP702 Sam Lantinga 2024-03-03 12:18:57 -08:00
  • 8d8076263e Removed the mapping for the G-Shark GS-GP702 Sam Lantinga 2024-03-03 12:18:57 -08:00
  • a2f39399a1 SDL_GameControllerGetAppleSFSymbolsNameForAxis() returns NULL if the symbol isn't found Sam Lantinga 2024-03-03 11:56:29 -08:00
  • 627e15871a SDL_GameControllerGetAppleSFSymbolsNameForAxis() returns NULL if the symbol isn't found Sam Lantinga 2024-03-03 11:56:29 -08:00
  • 1b86a1c684 SDL_GetGamepadAppleSFSymbolsNameForAxis() returns NULL if the symbol isn't found Sam Lantinga 2024-03-03 11:55:40 -08:00
  • 5f37242607 Don't clear the clipboard on quit Sam Lantinga 2024-03-03 11:48:08 -08:00
  • 6e03914375 Fixed signed/unsigned comparison warning Sam Lantinga 2024-03-03 11:36:23 -08:00
  • 2c85052966 Removed unused headers from SDL_rect.h Sam Lantinga 2024-03-03 11:33:59 -08:00
  • e54001b028 Updating the mouse capture should use the mouse focus window Sam Lantinga 2024-03-03 11:32:17 -08:00
  • c1149f88b6 SDL_GameControllerGetAppleSFSymbolsNameForButton() returns NULL if the symbol isn't found Sam Lantinga 2024-03-03 11:09:03 -08:00
  • 54adba6a31 If the viewport changes the cliprect should be updated Sam Lantinga 2024-02-25 09:37:56 -08:00
  • b87116ff03 SDL_GameControllerGetAppleSFSymbolsNameForButton() returns NULL if the symbol isn't found Sam Lantinga 2024-03-03 11:09:03 -08:00
  • c1da39a245 SDL_GetGamepadAppleSFSymbolsNameForButton() returns NULL if the symbol isn't found Sam Lantinga 2024-03-03 11:07:39 -08:00
  • 74f4614289 Save the native texture parent and return that in SDL_GetRenderTarget() Sam Lantinga 2024-03-03 09:46:54 -08:00
  • 86d36a2dc2 Add missing include Susko3 2024-03-03 18:31:00 +01:00
  • eb5a2e7e7f Fixed building with SDL_LEAN_AND_MEAN Sam Lantinga 2024-03-03 09:25:02 -08:00
  • 107e06a92a Use a valid finger ID when generating touch events from mouse events Sam Lantinga 2024-03-03 09:15:07 -08:00
  • c6ec999869 Set udev class for accelerometer meyraud705 2024-03-03 09:25:52 +01:00
  • e524e545f2 Add vulkan to SDL_HINT_RENDER_DRIVER Nour Fouad 2024-03-03 01:10:02 +02:00
  • 88dcf74588 testyuv: we no longer need to override the HDR headroom for the BT.2020 test Sam Lantinga 2024-03-02 15:05:52 -08:00
  • 27389716ac Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-02 23:05:24 +00:00
  • 7f9ff6277c Don't assume HDR headroom for HDR10 surfaces Sam Lantinga 2024-03-02 15:02:17 -08:00
  • b48106f8a8 Don't test 10-bit pixel format conversion Sam Lantinga 2024-02-02 18:24:15 -08:00
  • c74f273848 d3d12: Move root sigs to D3D12_Shader_Common.hlsli, fix mismatch Jade Macho 2024-03-01 18:21:27 +01:00
  • e2a8209263 GDK: Use WIN_IsRectEmpty (IsRectEmpty is desktop-only) Jade Macho 2024-03-01 15:59:30 +01:00
  • 290f64b86c GDK: Windows shape is desktop-only Jade Macho 2024-03-01 15:58:53 +01:00
  • 794f0f1b42 GDK: Fix SDL_pixels.c/_c.h linking error caused by C / C++ mismatch Jade Macho 2024-03-01 15:51:35 +01:00
  • 23ace600fc GDK: Remove old shader sources, unify shader compilation .bats Jade Macho 2024-03-01 15:50:57 +01:00
  • bcbede31ce GDK: SDL_video_capture.c is now SDL_camera.c, thus remove from proj Jade Macho 2024-03-01 15:39:21 +01:00
  • e1e5d33420 GDK: Partially revert 2670eb44af Jade Macho 2024-03-01 13:04:22 +01:00
  • 8c015cd3b6 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-02 18:02:26 +00:00
  • 8d023f9869 Updated documentation for new property parameters Sam Lantinga 2024-03-02 09:56:29 -08:00
  • 2bc2840de5 vulkan: VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 is a 2-plane format Sam Lantinga 2024-03-01 20:23:20 -08:00
  • 2bedd7f02e Fixed pitch alignment when updating SDL_PIXELFORMAT_P010 textures Sam Lantinga 2024-03-01 16:22:10 -08:00
  • f2cd361e25 testyuv: added validation of P010 YUV format Sam Lantinga 2024-03-01 15:35:25 -08:00
  • 47be24d225 testyuv: added --monochrome and --luminance options for interactive mode Sam Lantinga 2024-03-01 02:42:18 -08:00
  • 991ad27de8 testyuv: added GetColorspaceForYUVConversionMode() Sam Lantinga 2024-03-01 02:02:53 -08:00
  • 812e04fb11 Vulkan Renderer - fix validation error with VkSemaphore reused before signaling. Have one semaphore per-submit rather than using the same one. danginsburg 2024-03-01 08:25:00 -05:00
  • 1e8b006d43 stdlib: qsort and bsearch changes. Ryan C. Gordon 2024-02-28 20:51:48 -05:00
  • af58ed978e Fixed the documentation for SDL_GetGamepadMappings() Sam Lantinga 2024-03-01 01:55:43 -08:00
  • 7ff9be7398 Sync SDL3 wiki -> header SDL Wiki Bot 2024-03-01 01:39:28 +00:00
  • 0454e1fdb4 Vulkan: added support for wrapping existing textures Sam Lantinga 2024-02-28 21:18:17 -08:00
  • 2adbcce864 Vulkan: wait for all queues to be idle before destroying the device Sam Lantinga 2024-02-29 14:12:09 -08:00
  • 0115027116 Vulkan Renderer - fix validation errors: * Make sure to always write pointSize in VS (fixes validation error in testsprite) * Fix validation error from acquiring swapchain semaphore more than once * Fix validation error from using incorrect framebuffer size in testautomation danginsburg 2024-02-29 13:57:56 -05:00
  • 0c6a1b636e Vulkan: added handling for SDL_MATRIX_COEFFICIENTS_UNSPECIFIED Sam Lantinga 2024-02-28 19:16:55 -08:00
  • 4017e1370d Vulkan: cleaned up error handling Sam Lantinga 2024-02-28 19:11:33 -08:00
  • 59bbfc1fdd Vulkan: only advertise YUV formats if the VK_KHR_sampler_ycbcr_conversion extension is available Sam Lantinga 2024-02-28 19:04:00 -08:00
  • bf853823a2 Removed unused YCbCr_matrix from Vulkan shaders Sam Lantinga 2024-02-28 18:38:06 -08:00
  • 039144350c Be more precise about what we're testing in testyuv Sam Lantinga 2024-02-28 17:15:47 -08:00
  • b30ba1c5d4 Updated RGBtoYUV() to use the full YCbCr conversion formula Sam Lantinga 2024-02-28 16:58:30 -08:00
  • 4513c32bb3 The ycbcrModel should be based on the transfer matrix, not the color primaries Sam Lantinga 2024-02-28 16:55:47 -08:00
  • a241cca9e6 Fixed warning C4090: 'function': different 'const' qualifiers Sam Lantinga 2024-02-28 11:45:24 -08:00
  • 7117d545a3 Fixed crash if the controller product name is NULL Sam Lantinga 2024-02-28 11:43:22 -08:00
  • 353e76b40b Use the correct colorspace for yuv conversion tests Sam Lantinga 2024-02-28 10:03:18 -08:00
  • fc94c3634e Fixed signed/unsigned comparison warning Sam Lantinga 2024-02-28 09:06:21 -08:00
  • ba34025423 Use direct3d11 as the default renderer on Windows Sam Lantinga 2024-02-28 09:00:36 -08:00
  • ad036d43e9 Vulkan Renderer - implement YcBcCr using VK_KHR_sampler_ycbcr_conversion. (#9169) Dan Ginsburg 2024-02-28 11:57:09 -05:00
  • fb3bf1dcbd Fixed device queue initialization when render and present queue families are different Sam Lantinga 2024-02-28 08:54:54 -08:00
  • 05f6709617 If the viewport changes the cliprect should be updated Sam Lantinga 2024-02-25 09:37:56 -08:00
  • 945162c6d9 wayland: Small optimization for output removal function Frank Praznik 2024-02-28 09:57:54 -05:00
  • 68588b232c Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-28 15:13:26 +00:00
  • e142bb1b0c The extension strings are const and don't need to be duplicated Sam Lantinga 2024-02-27 20:13:15 -08:00
  • 0997bdd292 Fixed SDL_calloc() calls (should be count, size) Sam Lantinga 2024-02-27 20:11:45 -08:00
  • 614630df69 Allow using an external Vulkan device with the vulkan renderer Sam Lantinga 2024-02-27 18:51:08 -08:00
  • e03746b25f cmake: add -Wl,-rpath,${libdir} to Libs section of pc file for Apple platforms Anonymous Maarten 2024-02-25 16:33:46 +01:00
  • c8372e20d6 SDLTest_CommonEvent: only set done when it is finished Anonymous Maarten 2024-02-27 11:21:57 +01:00
  • 220340e944 Remove SDL_PIXELFORMAT_P010 Sam Lantinga 2024-02-27 12:26:09 -08:00
  • c259a20f96 wayland: Remove all references to destroyed outputs from windows Frank Praznik 2024-02-27 12:01:19 -05:00
  • 84aaf63bd3 Fix typo in SDL_filesystem.h Semphriss 2024-02-27 10:44:09 -05:00
  • 9eaf7d8cc8 wayland: Remove all references to destroyed outputs from windows Frank Praznik 2024-02-27 11:16:19 -05:00
  • 0a961915dc cmake: testffmpeg requires link to EGL library for EGL feature Anonymous Maarten 2024-02-27 12:28:06 +01:00
  • 24e021c67e testffmpeg: refactored texture creation properties into a single function Sam Lantinga 2024-02-26 16:01:23 -08:00
  • ff18d7cfa0 testffmpeg: added pixel format mapping for NV12 and NV21 Sam Lantinga 2024-02-26 15:52:21 -08:00
  • 81608ad077 Vulkan: fixed creating SDL_PIXELFORMAT_P010 textures Sam Lantinga 2024-02-26 15:51:13 -08:00
  • f99143f437 Don't quit testffmpeg when alt-tabbing away Sam Lantinga 2024-02-26 15:20:56 -08:00
  • 80d2ef7384 Fixed uploading Vulkan texture with w*bpp != pitch Sam Lantinga 2024-02-26 15:18:23 -08:00
  • 3a796c9722 Allow specifying the render driver in the environment for testffmpeg Sam Lantinga 2024-02-26 15:13:10 -08:00
  • dc9a3c83e2 Use the mastering display metadata to do proper tone mapping for HDR content Sam Lantinga 2024-02-26 14:20:11 -08:00
  • 98b1a59a95 Document the HDR tone mapping algorithm Sam Lantinga 2024-02-26 14:16:41 -08:00
  • 1f536a1e77 cmake: fix SDL_RENDER_VULKAN reporting Anonymous Maarten 2024-02-26 20:37:07 +01:00
  • 935c197059 Fix testautomation failures (including clip rect) - closes #9145. During merging for prep'ing the final PR for the Vulkan Renderer, I misordered a memcpy that regressed several of the testautomation test. From now on, I will make sure to run testautomation on any future PRs before submitting. danginsburg 2024-02-26 11:48:10 -05:00
  • e61dfe405f android: Fixed dead URL in comment. Ryan C. Gordon 2024-02-26 11:28:11 -05:00
  • 35026cdcba Vulkan Renderer - robustly handle running out of descriptor sets or constant buffer memory. Closes #9131. My previous implementation of descriptor set handling was naive - it attempted to do VULKAN_IssueBatch when running out of descriptor sets or constant buffer space. For one thing, this had a bug and wasn't working (causing the crash), but moreover it would have resulted in having to flush the GPU. Instead, make the descriptor pools and constant buffer mapped buffers be resizeable so that if we need more it will grow to the size that is needed. danginsburg 2024-02-26 11:02:19 -05:00
  • f976881651 Vulkan: Don't invalidate internal state in InvalidateCachedState David Gow 2024-02-24 22:06:38 +08:00
  • c172fb5972 Vulkan: Support 'desired' vs 'required' memory flags (Fix #9310) David Gow 2024-02-25 17:25:59 +08:00
  • 1558d52a0a Vulkan: Only return memory types which are a superset of what we need David Gow 2024-02-25 17:04:19 +08:00
  • fbe7301aba Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-25 23:55:23 +00:00
  • e223e1d498 Added SDL_camera.h to the public Framework headers Sam Lantinga 2024-02-25 15:54:09 -08:00
  • be51b7acea Use the maximum potential headroom if EDR content isn't currently being displayed. Sam Lantinga 2024-02-25 15:46:38 -08:00