Commit Graph

  • 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
  • e0dadba6f5 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-25 22:26:23 +00:00
  • e6d9251ecb docs: improve CMake documentation for Apple Anonymous Maarten 2024-02-25 03:06:45 +01:00
  • 7a9c6c7ce9 Include SDL_PIXELFORMAT_P010 as a supported format for the metal renderer Sam Lantinga 2024-02-25 13:55:52 -08:00
  • d211da75ac Fixed crash if app delegate method is called when SDL isn't initialized Sam Lantinga 2024-02-25 13:38:47 -08:00
  • 9dbbf0a2f7 Implemented clip rect functionality for the Vulkan renderer Sam Lantinga 2024-02-25 10:13:59 -08:00
  • 141497b14f Added an automated test to verify clip rect functionality Sam Lantinga 2024-02-25 09:44:41 -08:00
  • d0af01e7d4 If the viewport changes the cliprect should be updated Sam Lantinga 2024-02-25 09:37:56 -08:00
  • 1cae52bbac Added JNI native methods to proguard-rules.pro (thanks @AntTheAlchemist!) Sam Lantinga 2024-02-25 08:40:47 -08:00
  • b8a52c1237 Vulkan: Make sure validation layer name is in-scope David Gow 2024-02-25 16:35:34 +08:00
  • 276566235c Removed SDL_ClearHints() from the public API Sam Lantinga 2024-02-24 20:29:39 -08:00
  • a1ea706215 Added names for the newly supported pixel formats Sam Lantinga 2024-02-24 20:13:59 -08:00
  • f6c42406cd SDL_COLORSPACE_HDR10 is the default colorspace for SDL_PIXELFORMAT_P010 surfaces Sam Lantinga 2024-02-24 20:02:11 -08:00
  • 4c5584174b Fixed error: declaration shadows a local variable [-Werror,-Wshadow] Sam Lantinga 2024-02-24 20:04:07 -08:00
  • 2b0e7c40ef Verify that we can create pipeline state objects for the D3D12 renderer Sam Lantinga 2024-02-24 19:55:10 -08:00
  • 5593ddb6a7 cmake: X11 is for Video, not Audio Anonymous Maarten 2024-02-24 17:31:48 +01:00
  • f345428367 ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +01:00
  • 9a65d123a7 ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +01:00
  • 38d24778ed ci: update deprecated node.js 16 actions scribam 2024-02-23 21:20:30 +01:00
  • e4287595c1 ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +01:00
  • fdbf233cfb ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +01:00
  • cbe330befd ci: bump cross-platform-actions/action version to v0.23.0 scribam 2024-02-23 20:57:58 +01:00
  • 54faea8b89 x11: Don't resize, move, or raise windows when changing the min/max size Frank Praznik 2024-02-23 14:07:55 -05:00
  • 97372b56e8 Vulkan Renderer - handle dynamic resetting of vsync, requires swapchain recreation. danginsburg 2024-02-23 10:45:10 -05:00
  • b1431e6702 Vulkan Renderer - implement support for vsync disabled. Closes #9116. danginsburg 2024-02-23 08:43:37 -05:00
  • b9a00aa88e Fixed building the Vulkan renderer on Windows with Visual Studio Sam Lantinga 2024-02-22 17:18:46 -08:00
  • dfd8073a8f Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-22 22:59:24 +00:00
  • cab20117e6 Vulkan Renderer (#9114) Dan Ginsburg 2024-02-22 17:58:11 -05:00
  • 2f1f55aeb1 Updated default SDR white point and HDR headroom to better match game content Sam Lantinga 2024-02-22 14:51:23 -08:00
  • 1fb5b9672e Keep SDR white point and HDR headroom defaults in one place Sam Lantinga 2024-02-22 14:47:58 -08:00
  • aeae202207 Make sure we actually have an HDR10 texture in the HDR10 shader Sam Lantinga 2024-02-22 11:50:58 -08:00
  • 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 -08:00
  • d3930893aa KMSDRM is now a dependent option Sam Lantinga 2024-02-22 06:25:33 -08:00
  • 7b1127d1fe cmake: Apple did not test SDL_CAMERA before adding camera support Anonymous Maarten 2024-02-22 08:26:52 +01:00
  • e176626bac cmake: only enable SDL drivers when its subsystem is enabled Anonymous Maarten 2024-02-22 08:00:08 +01:00
  • 99cef7e13b cmake: check SDL subsystem dependencies (and include Camera) Anonymous Maarten 2024-02-22 07:53:54 +01:00
  • 9a44d44cee cmake: build Windows mediafoundation SDL_camera support Anonymous Maarten 2024-02-22 07:51:41 +01:00
  • 279a650fae mediafoundation: fix SDL_camera_mediafoundation MinGW compile warnings Anonymous Maarten 2024-02-22 07:50:23 +01:00
  • 78ac14124c Fixed warning C4245: 'function': conversion from 'int' to 'DWORD', signed/unsigned mismatch Sam Lantinga 2024-02-21 22:21:06 -08:00
  • 2132ba8985 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-22 03:26:22 +00:00
  • 0f973f3eb4 Removed SDL_RENDERCMD_SETCOLORSCALE, which ended up being a noop on all renderers Sam Lantinga 2024-02-21 17:18:33 -08:00
  • 54c2ba6afd Added the Chrome HDR tonemap operator Sam Lantinga 2024-02-21 09:03:03 -08:00
  • 4ba6aeee9d A second take on HDR support with an SDR white point and HDR headroom Sam Lantinga 2024-02-19 08:45:02 -08:00
  • 3b7533f4a2 SDL_camera_v4l2: allow building against older kernel headers Ozkan Sezer 2024-02-22 00:04:10 +03:00
  • 73efbf2e14 Fixed Visual Studio warning 4459 Sam Lantinga 2023-03-30 14:02:03 -07:00
  • 69fb802a90 Fixed Visual Studio warning 4459 Sam Lantinga 2023-03-30 14:02:03 -07:00
  • ad342dfca9 audio: fix SSE conversion of Sint8 audio to Float32. Ryan C. Gordon 2024-02-21 15:16:08 -05:00
  • 4316c5ec02 audio: fix SSE conversion of Sint8 audio to Float32. Ryan C. Gordon 2024-02-21 15:16:08 -05:00
  • 58e6eacf97 docs: SDL_INIT_EVERYTHING does not exist anymore Anonymous Maarten 2024-02-21 00:52:04 +01:00
  • 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 +01:00
  • cbf0b1ce81 testcamera: create window and renderer through test library Anonymous Maarten 2024-02-21 00:05:32 +01:00
  • ecfbb6719f SDL_test: support SDL_INIT_CAMERA for SDL_CommonInit and SDL_CommonQuit Anonymous Maarten 2024-02-21 00:04:41 +01:00
  • f13d6d4b0f Convert mouse wheel coordinates to renderer view Sam Lantinga 2024-02-20 15:44:26 -08:00
  • 903d888cc3 Convert mouse wheel coordinates to renderer view Sam Lantinga 2024-02-20 15:44:26 -08:00
  • 26ffbe43c2 camera: turn OFF DEBUG_CAMERA debug logging. Ryan C. Gordon 2024-02-20 16:09:02 -05:00
  • 31fe061ab5 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-20 20:57:27 +00:00
  • f59c66a97f testcamera: Allow app to flip between a front and back camera. Ryan C. Gordon 2024-02-19 23:52:43 -05:00
  • 6296677bc9 camera: Fixed Android hotplug. Ryan C. Gordon 2024-02-19 23:52:13 -05:00
  • 6c080717f2 camera: Reset permissions to undecided when closing camera. Ryan C. Gordon 2024-02-19 23:51:30 -05:00
  • db8caa029b camera: Added new function with gendynapi.py. Ryan C. Gordon 2024-02-19 22:38:23 -05:00
  • 70b89ab70d camera: Added SDL_GetCameraDevicePosition. Ryan C. Gordon 2024-02-19 14:19:57 -05:00
  • b1ed49772c camera: Replace testcamera.c with testcameraminimal.c Ryan C. Gordon 2024-02-19 12:20:11 -05:00
  • bdcddf4810 camera: Disconnected cameras become zombies that feed blank frames. Ryan C. Gordon 2024-02-19 12:18:00 -05:00
  • 2613e3da24 camera: Rewrote Android support. Ryan C. Gordon 2024-02-18 00:50:32 -05:00
  • 848dcf8a5f main: Fixed compiler warning on Android. Ryan C. Gordon 2024-02-18 00:49:20 -05:00
  • 47313bba32 camera: SDL_GetCameraDevices should not report "no devices" like an error. Ryan C. Gordon 2024-02-18 00:47:03 -05:00
  • f3485a47b3 android: Add src/main/ files to Android.mk Ryan C. Gordon 2024-02-13 16:15:59 -05:00
  • 8db2a3b27a camera: Add an optional property that reports if a camera is back or front. Ryan C. Gordon 2024-02-07 09:17:01 -05:00
  • 0b8617f71d test: Fixed CMake to build testcameraminimal correctly on WinRT. Ryan C. Gordon 2024-02-06 01:51:41 -05:00
  • 99d1337de2 camera: Reenabled macOS/iOS support, with rewritten CoreMedia implementation. Ryan C. Gordon 2024-02-06 01:19:12 -05:00
  • f8fa08d2b1 camera: Fix compiler warnings on some platforms. Ryan C. Gordon 2024-01-31 21:47:33 -05:00
  • 22dbc0f32f camera: Patched to compile after rebasing to latest in main. Ryan C. Gordon 2024-01-31 15:32:03 -05:00
  • 7191a97fe3 camera: Windows support, through the Media Foundation API! Ryan C. Gordon 2024-01-31 15:07:07 -05:00
  • 3dca8a03da camera: Removed some debug logging. Ryan C. Gordon 2023-12-22 10:12:48 -05:00
  • 67708f9110 camera: Emscripten support! Ryan C. Gordon 2023-12-22 01:23:49 -05:00
  • 182f707284 include: Fixed doxygen comments on new camera APIs. Ryan C. Gordon 2023-12-17 19:28:32 -05:00