Commit Graph

  • dca2721b91 Removed SDL_HINT_VIDEO_EXTERNAL_CONTEXT Sam Lantinga 2024-02-11 19:37:16 -08:00
  • 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY Sam Lantinga 2024-02-11 19:07:07 -08:00
  • 20051f805f Removed SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 Sam Lantinga 2024-02-11 18:12:08 -08:00
  • 7cb1ca60ec Removed SDL_HINT_RENDER_OPENGL_SHADERS Sam Lantinga 2024-02-11 18:08:30 -08:00
  • 9920e062d5 Removed SDL_HINT_THREAD_STACK_SIZE Sam Lantinga 2024-02-11 18:04:56 -08:00
  • 9e505252c0 Renamed SDL_HINT_PS2_DYNAMIC_VSYNC SDL_HINT_RENDER_PS2_DYNAMIC_VSYNC Sam Lantinga 2024-02-11 18:03:09 -08:00
  • a538936821 Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES Sam Lantinga 2024-02-11 17:57:25 -08:00
  • 980c379a0b Renamed SDL_HINT_LINUX_JOYSTICK_CLASSIC to SDL_HINT_JOYSTICK_LINUX_CLASSIC Sam Lantinga 2024-02-11 17:56:44 -08:00
  • 1f7936d545 Renamed SDL_HINT_LINUX_HAT_DEADZONES to SDL_HINT_JOYSTICK_LINUX_HAT_DEADZONES Sam Lantinga 2024-02-11 17:55:57 -08:00
  • 39cfb437ed Renamed SDL_HINT_LINUX_DIGITAL_HATS to SDL_HINT_JOYSTICK_LINUX_DIGITAL_HATS Sam Lantinga 2024-02-11 17:55:13 -08:00
  • b557c15bcf Renamed SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE to SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE_RUMBLE_BRAKE Sam Lantinga 2024-02-11 17:54:31 -08:00
  • 4f628b5b62 Renamed SDL_HINT_GDK_TEXTINPUT_DEFAULT to SDL_HINT_GDK_TEXTINPUT_DEFAULT_TEXT Sam Lantinga 2024-02-11 17:53:47 -08:00
  • fd5d761128 Renamed SDL_HINT_DIRECTINPUT_ENABLED to SDL_HINT_JOYSTICK_DIRECTINPUT Sam Lantinga 2024-02-11 17:53:08 -08:00
  • a5da7d0dd5 Renamed SDL_HINT_ALLOW_TOPMOST to SDL_HINT_WINDOW_ALLOW_TOPMOST Sam Lantinga 2024-02-11 17:52:05 -08:00
  • ef8791cba8 Cleaned up and organized hint documentation Sam Lantinga 2024-02-11 09:49:28 -08:00
  • 9ce7fe2848 Removed SDL_HINT_ACCELEROMETER_AS_JOYSTICK Sam Lantinga 2024-02-11 09:25:16 -08:00
  • 5af7113842 Rename property define names to have a type suffix Zack Middleton 2024-02-11 23:12:20 -06:00
  • cacac6cc34 Updated structure and field names for consistency Sam Lantinga 2024-02-11 08:03:26 -08:00
  • 6f87973b9c Added a reserved field to the SDL_Event structure Sam Lantinga 2024-02-11 06:38:00 -08:00
  • 97d6e58a19 mark SDL_CleanupWindowTextureData as SDLCALL. Ozkan Sezer 2024-02-11 18:55:40 +03:00
  • ee5289ef09 mark SDL_ClipboardTextCallback as SDLCALL Ozkan Sezer 2024-02-11 18:55:40 +03:00
  • 168322f358 SDL_properties.c: mark CleanupFreeableProperty and CleanupSurface as SDLCALL Ozkan Sezer 2024-02-11 17:29:20 +03:00
  • bba2a5d360 Added SDL_SetFreeableProperty() for internal use Sam Lantinga 2024-02-10 08:04:27 -08:00
  • 432ce3f167 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-10 15:09:26 +00:00
  • 416803b03b Clarify the lifetime of the shape surface in SDL_SetWindowShape() Sam Lantinga 2024-02-10 07:08:28 -08:00
  • 0f6a682ea6 Wayland: Avoid SEGV if a modifier notification comes before the keymap Chris Collins 2024-02-08 16:06:12 +11:00
  • de0cb94e72 Wayland: Avoid SEGV if a modifier notification comes before the keymap Chris Collins 2024-02-08 16:06:12 +11:00
  • c4fc20a033 Fix broken use of MsgWaitForMultipleObjects. Hans-Kristian Arntzen 2024-02-10 14:01:34 +01:00
  • 4ae87e215e Fix broken use of MsgWaitForMultipleObjects. Hans-Kristian Arntzen 2024-02-10 14:01:34 +01:00
  • 69f2bd151e Fix broken use of MsgWaitForMultipleObjects. Hans-Kristian Arntzen 2024-02-10 14:01:34 +01:00
  • 0f81598e9f Wayland: Avoid SEGV if a modifier notification comes before the keymap Chris Collins 2024-02-08 16:06:12 +11:00
  • f95b7ee4da Renamed SDL_HasWindowSurface to SDL_WindowHasSurface Sam Lantinga 2024-02-09 16:46:58 -08:00
  • 1ec0e22bcd Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-10 00:38:20 +00:00
  • 1162097135 Added SDL_RenderViewportSet() to tell whether the viewport was previously set to a specific rectangle. Sam Lantinga 2024-02-09 16:37:04 -08:00
  • a24e2bfc76 Guarded ElementAlreadyHandled with #ifdef ENABLE_PHYSICAL_INPUT_PROFILE (thanks @Donione!) Sam Lantinga 2024-02-09 16:11:38 -08:00
  • 646cccede7 Guarded ElementAlreadyHandled with #ifdef ENABLE_PHYSICAL_INPUT_PROFILE (thanks @Donione!) Sam Lantinga 2024-02-09 16:11:38 -08:00
  • 3ebbf0f409 Guarded ElementAlreadyHandled with #ifdef ENABLE_PHYSICAL_INPUT_PROFILE (thanks @Donione!) Sam Lantinga 2024-02-09 16:11:38 -08:00
  • 9ff8df932a Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-10 00:05:26 +00:00
  • f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() Sam Lantinga 2024-02-09 07:09:59 -08:00
  • 1143bdc351 Greatly simplified the shape example Sam Lantinga 2024-02-09 01:46:09 -08:00
  • 6a83588fdd Redefine XINPUT_CAPABILITIES_EX as an SDL typedef Sam Lantinga 2024-02-09 01:26:45 -08:00
  • 93d7b6e50c Redefine XINPUT_CAPABILITIES_EX as an SDL typedef Sam Lantinga 2024-02-09 01:26:45 -08:00
  • b7c61569f8 Redefine XINPUT_CAPABILITIES_EX as an SDL typedef Sam Lantinga 2024-02-09 01:26:45 -08:00
  • bfcca2a36e Use saturate() instead of clamp() for slightly faster shader operation Sam Lantinga 2024-02-08 16:04:54 -08:00
  • 1684032c17 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-08 18:39:20 +00:00
  • 4ce7ae31d4 Document that SDL_UpdateJoysticks() needs to be called to handle rumble processing Sam Lantinga 2024-02-08 10:43:00 -08:00
  • d777becd9d Fixed spacing Sam Lantinga 2024-02-08 10:26:42 -08:00
  • 91639d855f Don't use the direct3d12 renderer with transparent windows Sam Lantinga 2024-02-08 09:24:11 -08:00
  • 0092b3629e Added VIDPID for OpenFFBoard wheel (thanks @groybe!) Sam Lantinga 2024-02-07 16:34:50 -08:00
  • 40b61b81f1 Added VIDPID for OpenFFBoard wheel (thanks @groybe!) Sam Lantinga 2024-02-07 16:34:50 -08:00
  • 26e947f8ea Added VIDPID for OpenFFBoard wheel (thanks @groybe!) Sam Lantinga 2024-02-07 16:34:50 -08:00
  • c951bbe3de Look at all available usages when determining whether to ignore a device Sam Lantinga 2024-02-07 16:02:12 -08:00
  • dd726cb097 Moved rgb24_yuv420_std() to the correct header Sam Lantinga 2024-02-07 14:42:12 -08:00
  • 1673d52351 Fixed building with an older macOS SDK Sam Lantinga 2024-02-07 13:49:42 -08:00
  • 4ec5aef028 Disable warning C4214: nonstandard extension used: bit field types other than int Sam Lantinga 2024-02-07 13:23:29 -08:00
  • faeb2b1f22 Fixed warning C4204: nonstandard extension used: non-constant aggregate initializer when built with Visual Studio 2019 Sam Lantinga 2024-02-07 13:16:35 -08:00
  • 1269590dfc Clarified that SDL scancodes are unaffected by keyboard layout Sam Lantinga 2024-02-07 09:33:27 -08:00
  • 1c4c29b7ad Fixed a swap chain leak and a double-free in testffmpeg.c Sam Lantinga 2024-02-06 21:17:39 -08:00
  • 3158342441 Use SDL_Color for SDL_RenderGeometryRaw() and add SDL_RenderGeometryRawFloat() Sam Lantinga 2024-02-06 17:23:07 -08:00
  • 9e194c1a1d Added BT.601/SMPTE240 to the color primaries conversion matrices Sam Lantinga 2024-02-06 17:00:26 -08:00
  • fb823fbe95 Make sure we're actually using the HDR10 colorspace before using that shader Sam Lantinga 2024-02-06 16:32:07 -08:00
  • c0eedcd4ce Emscripten_SetWindowFullscreen: Fix crash due to uninitialized EmscriptenFullscreenStrategy members pastdue 2024-02-06 17:59:51 -05:00
  • d2a3347c19 Emscripten_SetWindowFullscreen: Fix crash due to uninitialized EmscriptenFullscreenStrategy members pastdue 2024-02-06 17:59:51 -05:00
  • 7b74e2eeb8 Emscripten_SetWindowFullscreen: Fix crash due to uninitialized EmscriptenFullscreenStrategy members pastdue 2024-02-06 17:59:51 -05:00
  • ed86cec07f Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-06 23:41:23 +00:00
  • 985da79d73 Use a more concise representation of YUV -> RGB conversion Sam Lantinga 2024-02-06 15:40:02 -08:00
  • 8afba41aef Added support for HDR10 video on Apple platforms Sam Lantinga 2024-02-06 15:25:05 -08:00
  • 2039c46d2c Added support for creating an SDL texture from a CVPixelBufferRef Sam Lantinga 2024-02-06 13:54:05 -08:00
  • c79462dc50 Fixed Xcode build warnings Sam Lantinga 2024-02-06 08:52:37 -08:00
  • ba074acad4 Implemented scRGB colorspace and HDR support on macOS Sam Lantinga 2024-02-06 05:31:43 -08:00
  • 451dc41427 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-06 10:49:24 +00:00
  • 30e176d6ba Added HDR display properties and related event Sam Lantinga 2024-02-06 01:53:03 -08:00
  • d4caef5b89 Generalize SDR white level handling into a color scale Sam Lantinga 2024-02-05 23:20:43 -08:00
  • d1b6d5f33d Fix memory leak in SDL_UpdateSteamVirtualGamepadInfo() meyraud705 2024-02-05 12:54:23 +01:00
  • a09b0b05eb Fix memory leak in SDL_UpdateSteamVirtualGamepadInfo() meyraud705 2024-02-05 12:54:23 +01:00
  • 82d89ff4fb Fix memory leak in SDL_UpdateSteamVirtualGamepadInfo() meyraud705 2024-02-05 12:54:23 +01:00
  • b05ea8e04e Updated direct3d12 renderer with HDR10 and SDR whitelevel support Sam Lantinga 2024-02-05 12:27:42 -08:00
  • c3e4481d56 Use a reasonable default for unspecified YUV colorspace Sam Lantinga 2024-02-05 11:20:14 -08:00
  • 240158f3e8 Scale SDR content to SDR whitelevel when HDR is enabled Sam Lantinga 2024-02-05 10:23:25 -08:00
  • e97b2061b4 Converted shader headers to UNIX line endings Sam Lantinga 2024-02-05 10:22:20 -08:00
  • e98e5abd2a Added batch file to create D3D12 shaders Sam Lantinga 2024-02-05 10:24:44 -08:00
  • 809f02e89e SDL_ReadSurfacePixel() now supports large pixel formats Sam Lantinga 2024-02-05 09:43:36 -08:00
  • 9755e490c0 Workaround for crash at shutdown in testffmpeg Sam Lantinga 2024-02-04 22:53:25 -08:00
  • e74171b1ae Added support for HDR10 video playback on direct3d11 Sam Lantinga 2024-02-04 22:19:28 -08:00
  • f85535b4b6 Use functions from SDL instead of libc meyraud705 2024-02-05 13:54:05 +01:00
  • a6374123c7 Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-04 21:10:23 +00:00
  • 548b382fd9 Fixed slow startup time when using the direct3d12 renderer Sam Lantinga 2024-02-04 12:08:55 -08:00
  • dab77fe29b Added support for SDL_COLORSPACE_BT709_FULL to the hardware renderers Sam Lantinga 2024-02-04 00:13:11 -08:00
  • ec322bee1c Fixed testyuv help message Sam Lantinga 2024-02-04 01:03:31 -08:00
  • 327b976bc4 SDL_COLORSPACE_JPEG is the default YUV colorspace Sam Lantinga 2024-02-04 00:11:46 -08:00
  • 5b8e5f8b9f Fixed accidental changing of All to Allu in previous commit (thanks @zturtleman!) Sam Lantinga 2024-02-03 23:46:22 -08:00
  • 67bbf20add Null check SDL_DBusContext pointer Omar Rashwan 2024-02-03 16:32:05 -05:00
  • 2ad4646a24 Don't release currentOffscreenRenderTargetView, we don't have a reference to it Sam Lantinga 2024-02-03 12:48:14 -08:00
  • 9005512c18 Fixed build Sam Lantinga 2024-02-03 12:39:52 -08:00
  • 7271a2040b Don't force on the D3D11 debug flag Sam Lantinga 2024-02-03 12:35:01 -08:00
  • b4d0af9cf3 Removed unused variables Sam Lantinga 2024-02-03 12:33:55 -08:00
  • 200f87ea0b Only set the colorspace if it's not the default Sam Lantinga 2024-02-03 11:36:44 -08:00
  • c0b27ccef9 Fixed warning C4701: potentially uninitialized local variable 'drawnTextRect' used Sam Lantinga 2024-02-03 11:31:47 -08:00
  • 8eba5b75ca Fixed warning C4701: potentially uninitialized local variable 'rndctx' used Sam Lantinga 2024-02-03 11:31:01 -08:00
  • 445cb42acd Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data Sam Lantinga 2024-02-03 11:29:10 -08:00