Commit Graph

  • d3fe22ee27
    Vulkan: Don't invalidate internal state in InvalidateCachedState David Gow 2024-02-24 22:06:38 +0800
  • f345428367 ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +0100
  • 455adb6b67 Remove unused SDL_HINT_ANDROID_TRAP_BACK_BUTTON hint Anonymous Maarten 2024-02-23 22:10:43 +0100
  • 9a65d123a7 ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +0100
  • 38d24778ed ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +0100
  • e4287595c1 ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +0100
  • f11a033109 ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +0100
  • fdbf233cfb ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +0100
  • cbe330befd ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +0100
  • e6eff3e547 ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +0100
  • 54faea8b89 x11: Don't resize, move, or raise windows when changing the min/max size Frank Praznik 2024-02-23 14:07:55 -0500
  • f87be24537 x11: Don't resize, move, or raise windows when changing the min/max size Frank Praznik 2024-02-23 14:07:55 -0500
  • 97372b56e8 Vulkan Renderer - handle dynamic resetting of vsync, requires swapchain recreation. danginsburg 2024-02-23 10:45:10 -0500
  • b1431e6702 Vulkan Renderer - implement support for vsync disabled. Closes #9116. danginsburg 2024-02-23 08:43:37 -0500
  • c269ae835c Vulkan Renderer - handle dynamic resetting of vsync, requires swapchain recreation. danginsburg 2024-02-23 10:45:10 -0500
  • 6624a46613 Vulkan Renderer - implement support for vsync disabled. Closes #9116. danginsburg 2024-02-23 08:43:37 -0500
  • d4c70c37c0 Do not raise window on X11 from setting min/max size Daniel Bomar 2024-02-22 20:50:48 -0600
  • b9a00aa88e Fixed building the Vulkan renderer on Windows with Visual Studio Sam Lantinga 2024-02-22 17:18:46 -0800
  • dfd8073a8f Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-22 22:59:24 +0000
  • cab20117e6
    Vulkan Renderer (#9114) Dan Ginsburg 2024-02-22 17:58:11 -0500
  • 2f1f55aeb1 Updated default SDR white point and HDR headroom to better match game content Sam Lantinga 2024-02-22 14:51:23 -0800
  • 1fb5b9672e Keep SDR white point and HDR headroom defaults in one place Sam Lantinga 2024-02-22 14:47:58 -0800
  • aeae202207 Make sure we actually have an HDR10 texture in the HDR10 shader Sam Lantinga 2024-02-22 11:50:58 -0800
  • 223dd3ca35
    Update CMakeLists.txt Dan Ginsburg 2024-02-22 14:30:07 -0500
  • e28f8ff138
    Update include/SDL3/SDL_hints.h Dan Ginsburg 2024-02-22 14:29:44 -0500
  • e4e868ce0a This pull request adds an implementation of a Vulkan Render backend to SDL. I have so far tested this primarily on Windows, but also smoke tested on Linux and macOS (MoltenVK). I have not tried it yet on Android, but it should be usable there as well (sans any bugs I missed). This began as a port of the SDL Direct3D12 Renderer, which is the closest thing to Vulkan as existed in the SDL codebase. The shaders are more or less identical (with the only differences being in descriptor bindings vs root descriptors). The shaders are built using the HLSL frontend of glslang. danginsburg 2024-02-22 13:54:24 -0500
  • f4dd0dbbde Added colorspace conversion from SDL_COLOR_PRIMARIES_SMPTE431 and SDL_COLOR_PRIMARIES_SMPTE432 to SDL_COLOR_PRIMARIES_BT2020 Sam Lantinga 2024-02-22 11:01:03 -0800
  • d3930893aa KMSDRM is now a dependent option Sam Lantinga 2024-02-22 06:25:33 -0800
  • 7b1127d1fe cmake: Apple did not test SDL_CAMERA before adding camera support Anonymous Maarten 2024-02-22 08:26:52 +0100
  • e176626bac cmake: only enable SDL drivers when its subsystem is enabled Anonymous Maarten 2024-02-22 08:00:08 +0100
  • 99cef7e13b cmake: check SDL subsystem dependencies (and include Camera) Anonymous Maarten 2024-02-22 07:53:54 +0100
  • 9a44d44cee cmake: build Windows mediafoundation SDL_camera support Anonymous Maarten 2024-02-22 07:51:41 +0100
  • 279a650fae mediafoundation: fix SDL_camera_mediafoundation MinGW compile warnings Anonymous Maarten 2024-02-22 07:50:23 +0100
  • ce1de81433 cmake: Apple did not test SDL_CAMERA before adding camera support Anonymous Maarten 2024-02-22 08:26:52 +0100
  • de5a432085 cmake: only enable SDL drivers when its subsystem is enabled Anonymous Maarten 2024-02-22 08:00:08 +0100
  • 92286b83bd cmake: check SDL subsystem dependencies (and include Camera) Anonymous Maarten 2024-02-22 07:53:54 +0100
  • c3b8dacdb2 cmake: build Windows mediafoundation SDL_camera support Anonymous Maarten 2024-02-22 07:51:41 +0100
  • 34cc9c2b9b mediafoundation: fix SDL_camera_mediafoundation MinGW compile warnings Anonymous Maarten 2024-02-22 07:50:23 +0100
  • 78ac14124c Fixed warning C4245: 'function': conversion from 'int' to 'DWORD', signed/unsigned mismatch Sam Lantinga 2024-02-21 22:21:06 -0800
  • 2132ba8985 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-22 03:26:22 +0000
  • 0f973f3eb4 Removed SDL_RENDERCMD_SETCOLORSCALE, which ended up being a noop on all renderers Sam Lantinga 2024-02-21 17:18:33 -0800
  • 54c2ba6afd Added the Chrome HDR tonemap operator Sam Lantinga 2024-02-21 09:03:03 -0800
  • 4ba6aeee9d A second take on HDR support with an SDR white point and HDR headroom Sam Lantinga 2024-02-19 08:45:02 -0800
  • 577d4ec629 Removed SDL_RENDERCMD_SETCOLORSCALE, which ended up being a noop on all renderers Sam Lantinga 2024-02-21 17:18:33 -0800
  • 69c02519cf Added the Chrome HDR tonemap operator Sam Lantinga 2024-02-21 09:03:03 -0800
  • 161e3f20af A second take on HDR support with an SDR white point and HDR headroom Sam Lantinga 2024-02-19 08:45:02 -0800
  • 3b7533f4a2 SDL_camera_v4l2: allow building against older kernel headers Ozkan Sezer 2024-02-22 00:04:10 +0300
  • b9b35ecd30 SDL_camera_v4l2: allow building against older kernel headers Ozkan Sezer 2024-02-22 00:04:10 +0300
  • 73efbf2e14 Fixed Visual Studio warning 4459 Sam Lantinga 2023-03-30 14:02:03 -0700
  • 69fb802a90 Fixed Visual Studio warning 4459 Sam Lantinga 2023-03-30 14:02:03 -0700
  • ad342dfca9
    audio: fix SSE conversion of Sint8 audio to Float32. Ryan C. Gordon 2024-02-21 15:16:08 -0500
  • 4316c5ec02
    audio: fix SSE conversion of Sint8 audio to Float32. Ryan C. Gordon 2024-02-21 15:16:08 -0500
  • 58e6eacf97 docs: SDL_INIT_EVERYTHING does not exist anymore Anonymous Maarten 2024-02-21 00:52:04 +0100
  • 7eca84d57e cmake: don't use target_compile_features when the CMake thinks the compiler does not support it Anonymous Maarten 2024-02-21 00:51:40 +0100
  • cbf0b1ce81 testcamera: create window and renderer through test library Anonymous Maarten 2024-02-21 00:05:32 +0100
  • ecfbb6719f SDL_test: support SDL_INIT_CAMERA for SDL_CommonInit and SDL_CommonQuit Anonymous Maarten 2024-02-21 00:04:41 +0100
  • f13d6d4b0f Convert mouse wheel coordinates to renderer view Sam Lantinga 2024-02-20 15:44:26 -0800
  • 903d888cc3 Convert mouse wheel coordinates to renderer view Sam Lantinga 2024-02-20 15:44:26 -0800
  • 267b1511fb testcamera: create window and renderer through test library Anonymous Maarten 2024-02-21 00:05:32 +0100
  • 2bf97e547b SDL_test: support SDL_INIT_CAMERA for SDL_CommonInit and SDL_CommonQuit Anonymous Maarten 2024-02-21 00:04:41 +0100
  • 26ffbe43c2
    camera: turn OFF `DEBUG_CAMERA` debug logging. Ryan C. Gordon 2024-02-20 16:09:02 -0500
  • 31fe061ab5 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-20 20:57:27 +0000
  • f59c66a97f testcamera: Allow app to flip between a front and back camera. Ryan C. Gordon 2024-02-19 23:52:43 -0500
  • 6296677bc9 camera: Fixed Android hotplug. Ryan C. Gordon 2024-02-19 23:52:13 -0500
  • 6c080717f2 camera: Reset permissions to undecided when closing camera. Ryan C. Gordon 2024-02-19 23:51:30 -0500
  • db8caa029b camera: Added new function with gendynapi.py. Ryan C. Gordon 2024-02-19 22:38:23 -0500
  • 70b89ab70d camera: Added SDL_GetCameraDevicePosition. Ryan C. Gordon 2024-02-19 14:19:57 -0500
  • b1ed49772c camera: Replace testcamera.c with testcameraminimal.c Ryan C. Gordon 2024-02-19 12:20:11 -0500
  • bdcddf4810 camera: Disconnected cameras become zombies that feed blank frames. Ryan C. Gordon 2024-02-19 12:18:00 -0500
  • 2613e3da24 camera: Rewrote Android support. Ryan C. Gordon 2024-02-18 00:50:32 -0500
  • 848dcf8a5f main: Fixed compiler warning on Android. Ryan C. Gordon 2024-02-18 00:49:20 -0500
  • 47313bba32 camera: SDL_GetCameraDevices should not report "no devices" like an error. Ryan C. Gordon 2024-02-18 00:47:03 -0500
  • f3485a47b3 android: Add src/main/ files to Android.mk Ryan C. Gordon 2024-02-13 16:15:59 -0500
  • 8db2a3b27a camera: Add an optional property that reports if a camera is back or front. Ryan C. Gordon 2024-02-07 09:17:01 -0500
  • 0b8617f71d test: Fixed CMake to build testcameraminimal correctly on WinRT. Ryan C. Gordon 2024-02-06 01:51:41 -0500
  • 99d1337de2 camera: Reenabled macOS/iOS support, with rewritten CoreMedia implementation. Ryan C. Gordon 2024-02-06 01:19:12 -0500
  • f8fa08d2b1 camera: Fix compiler warnings on some platforms. Ryan C. Gordon 2024-01-31 21:47:33 -0500
  • 22dbc0f32f camera: Patched to compile after rebasing to latest in main. Ryan C. Gordon 2024-01-31 15:32:03 -0500
  • 7191a97fe3 camera: Windows support, through the Media Foundation API! Ryan C. Gordon 2024-01-31 15:07:07 -0500
  • 3dca8a03da camera: Removed some debug logging. Ryan C. Gordon 2023-12-22 10:12:48 -0500
  • 67708f9110 camera: Emscripten support! Ryan C. Gordon 2023-12-22 01:23:49 -0500
  • 182f707284 include: Fixed doxygen comments on new camera APIs. Ryan C. Gordon 2023-12-17 19:28:32 -0500
  • 2cdff93578 v4l2: Corrected SDL_UDEV_AddCallback return check after #8694. Ryan C. Gordon 2023-12-17 15:45:13 -0500
  • 0b5875825e camera: framerate support. Ryan C. Gordon 2023-12-17 13:38:36 -0500
  • 9ae39d52de camera: Add sources to Xcode and Visual Studio projects. Ryan C. Gordon 2023-12-16 21:36:04 -0500
  • 87e7046fca camera: Public API functions should say "Format" not "Spec" to match audio. Ryan C. Gordon 2023-12-16 16:12:19 -0500
  • f87d536229 camera: Added more accurate timestamps. Ryan C. Gordon 2023-12-16 16:00:15 -0500
  • d3e6ef3cc6 camera: Massive code reworking. Ryan C. Gordon 2023-12-15 11:45:11 -0500
  • 3d2d5d18f3 pixels: Packed-pixel YUV formats can legit report bits-per-pixel. Ryan C. Gordon 2023-12-15 11:11:24 -0500
  • 8e1758260c surface: Fixed a typo in a comment. Ryan C. Gordon 2023-12-15 10:57:54 -0500
  • cb10c80aaf camera: Reworked to operate with a driver interface, like other subsystems. Ryan C. Gordon 2023-12-01 10:59:13 -0500
  • 2ad44bd162 camera: Made a pass over all the sources, cleaning up for SDL3 style, etc. Ryan C. Gordon 2023-11-28 23:03:19 -0500
  • 7ae955ce68 camera: Renamed everything from "video capture" to "camera", wired to CMake. Ryan C. Gordon 2023-11-27 23:05:54 -0500
  • f49ce4a15d camera: Renamed "video_capture" files to "camera" and moved to own subdir. Ryan C. Gordon 2023-11-27 19:27:58 -0500
  • 4d000ae3bd
    audio: Change references to `streams[i]` to previously-calculated `stream`. Ryan C. Gordon 2024-02-20 15:29:07 -0500
  • 751917cb6f Fix null pointer dereference in SDL_BindAudioStreams() Mathieu Eyraud 2024-02-20 19:31:27 +0100
  • c89e6ba3a0 Fix null pointer dereference in SDL_BindAudioStreams() Mathieu Eyraud 2024-02-20 19:31:27 +0100
  • 8b6eae2d4f cmake: Split and store the libdecor version as individual parts Frank Praznik 2023-12-28 13:04:41 -0500
  • 7e2a5e2358 cmake: Split and store the libdecor version as individual parts Frank Praznik 2023-12-28 13:04:41 -0500
  • 8073f4aa1d Pass the real error from D3D12_CreatePipelineState() back to the application Sam Lantinga 2024-02-20 06:24:20 -0800