Commit Graph

  • 19dde63e7c Added a simple linear scale for tonemapped HDR to SDR surface conversion Sam Lantinga 2024-02-01 10:34:59 -08:00
  • fc35b7e121 Convert to sRGB if trying to create a texture from an HDR surface Sam Lantinga 2024-02-01 10:30:58 -08:00
  • c1f3c81003 Make the color primary conversion code reusable Sam Lantinga 2024-02-01 07:54:31 -08:00
  • 496ed01bdb Detect blending in HDR10 colorspace Sam Lantinga 2024-02-01 07:53:19 -08:00
  • dd28ab0489 Added SDL_SetRenderDrawColorspace() and SDL_GetRenderDrawColorspace() Sam Lantinga 2024-01-31 21:46:02 -08:00
  • 9c8b47b726 Cache the draw color state in the software and PSP renderers Sam Lantinga 2024-01-31 23:54:47 -08:00
  • dacfaa91b4 Make sure to round color values when converting to Uint8 Sam Lantinga 2024-01-31 23:31:19 -08:00
  • c00b6a8e20 SDL_kmsdrmvideo.c: clean-up includes, add clarifying note after 5ab879f Ozkan Sezer 2024-02-01 11:04:10 +03:00
  • a4969e393e Sync SDL3 wiki -> header SDL Wiki Bot 2024-02-01 02:08:27 +00:00
  • 6f443e2aca Added support for the scRGB colorspace on D3D11 and D3D12 Sam Lantinga 2024-01-31 17:25:25 -08:00
  • 12c31898c1 Update colors in SDL_RenderGeometryRaw() if we're doing interpolation in linear space Sam Lantinga 2024-01-31 10:48:02 -08:00
  • 77549dc91e Fixed some places using SDL_SetRenderDrawColor() instead of SDL_SetRenderDrawColorFloat() Sam Lantinga 2024-01-31 10:25:50 -08:00
  • 4b3c530dd1 Fixed out of bounds access Sam Lantinga 2024-01-31 09:55:52 -08:00
  • 3c45544a14 Added a slow blit function to handle large pixel formats and colorspace conversion Sam Lantinga 2024-01-30 23:15:20 -08:00
  • 49cc4c14e9 Use the default colorspace if we have to convert texture pixels Sam Lantinga 2024-01-30 23:11:18 -08:00
  • c1f97c8e07 Fixed testgeometry after color format change (thanks @sezero!) Sam Lantinga 2024-01-30 23:31:48 -08:00
  • 482a27bc00 wayland: Throttle to 20hz if the frame callback never fires Frank Praznik 2024-01-30 17:12:20 -05:00
  • 4a759b340f Fixes in SDL_ColorSpace (SDL_pixels.h) Amun 2024-01-30 19:59:15 +01:00
  • 5f98fcf00b Use the exact motion associated with the warp Sam Lantinga 2024-01-30 11:11:10 -08:00
  • 8ce6fb2513 Use the exact motion associated with the warp Sam Lantinga 2024-01-30 11:11:10 -08:00
  • 9462eec57b pipewire: Don't assert if the default capture device is a sink or vice versa Frank Praznik 2024-01-30 13:12:12 -05:00
  • d15fb9e063 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-30 17:49:26 +00:00
  • f257eb4481 Added the concept of colorspace to the SDL renderer Sam Lantinga 2024-01-29 18:32:27 -08:00
  • 554f0625d3 Renderer colors now have floating point precision Sam Lantinga 2024-01-29 13:28:33 -08:00
  • 5a492e8196 Fixing viewport Francisco Javier Trujillo Mata 2024-01-29 22:27:36 +01:00
  • 80cb52c944 Fix scissor usage Francisco Javier Trujillo Mata 2024-01-28 15:38:30 +01:00
  • 4436c09c9d Fix color Francisco Javier Trujillo Mata 2024-01-28 00:23:16 +01:00
  • d34a7c5ed2 Fixing viewport Francisco Javier Trujillo Mata 2024-01-29 22:27:36 +01:00
  • 36b8438280 Fix scissor usage Francisco Javier Trujillo Mata 2024-01-28 15:38:30 +01:00
  • faa8fc2917 Fix color Francisco Javier Trujillo Mata 2024-01-28 00:23:16 +01:00
  • da8fc70a83 Fixing viewport Francisco Javier Trujillo Mata 2024-01-29 22:27:36 +01:00
  • 851c1a5e9c Fix scissor usage Francisco Javier Trujillo Mata 2024-01-28 15:38:30 +01:00
  • dc35ee9d54 Fix color Francisco Javier Trujillo Mata 2024-01-28 00:23:16 +01:00
  • 61a3a163db Fixed typo (thanks @Akaricchi!) Sam Lantinga 2024-01-29 18:48:41 -08:00
  • 7fbd85ad5c Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-29 02:25:21 +00:00
  • 61b5c38e6e Added the initial concept of colorspace to SDL Sam Lantinga 2024-01-28 17:17:38 -08:00
  • a3bfd5329c Fix broken mingw i686 buildscript Xander 2024-01-28 21:43:43 +00:00
  • 59d7dd3615 Fix broken mingw x86_64 buildscript Xander 2024-01-28 21:43:08 +00:00
  • fbf10afb31 wayland: Consolidate window creation logic Frank Praznik 2024-01-28 18:15:39 -05:00
  • 2e96307b27 wayland: Always create a viewport for the surface, if possible Frank Praznik 2024-01-28 15:44:23 -05:00
  • 94240c197d docs: Hint envvars needs to use the hint string, not the macro name Frank Praznik 2024-01-28 15:12:03 -05:00
  • 23cf7a2e0d autotools: a few libtool updates from mainstream Ozkan Sezer 2024-01-28 20:04:34 +03:00
  • 00a8ca403e Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-28 18:32:23 +00:00
  • fbebbab90d wayland: Only set the explicit logical window size when using display scaling Frank Praznik 2024-01-26 11:12:06 -05:00
  • 879ba46ade wayland: Make sure the logical window size can't go to zero. Frank Praznik 2024-01-24 11:24:16 -05:00
  • b97cda226f wayland: Refactor internal variable names for better readability Frank Praznik 2024-01-24 10:45:19 -05:00
  • 344ec60f8f tests: Fix window centering test with Wayland display scaling mode Frank Praznik 2024-01-21 11:38:23 -05:00
  • 5b8ca05f1a wayland: Add a forced screen space scaling mode Frank Praznik 2024-01-19 10:30:07 -05:00
  • 971508c0d7 autotools: a few libtool updates from mainstream Ozkan Sezer 2024-01-28 20:04:34 +03:00
  • 4a62e1c0ca Updated to version 2.29.3 for RC build prerelease-2.29.3 Sam Lantinga 2024-01-27 22:50:08 -08:00
  • 173afd8564 Fixed testautomation log callback calling convention Sam Lantinga 2024-01-27 22:44:13 -08:00
  • c55bd24827 Fixed testautomation log callback calling convention Sam Lantinga 2024-01-27 22:44:13 -08:00
  • 9f7eb6c4c1 Fixed testautomation log callback calling convention Sam Lantinga 2024-01-27 22:44:13 -08:00
  • f6b9ebb838 wasapi: If GetDeviceBuf can't get a full buffer, go back to waiting. Ryan C. Gordon 2024-01-26 23:24:43 -05:00
  • f1b109005c aaudio: Backport headphone hotplugging support from SDL3. Ryan C. Gordon 2024-01-27 18:13:01 -05:00
  • ec25d6b1e8 aaudio: Backport headphone hotplugging support from SDL3. Ryan C. Gordon 2024-01-27 18:13:01 -05:00
  • 0bd58cd727 Fixed Watcom build Sam Lantinga 2024-01-27 20:28:43 -08:00
  • bb30a35364 Fixed Watcom build Sam Lantinga 2024-01-27 20:28:43 -08:00
  • de1292f8ac Fixed build Sam Lantinga 2024-01-27 20:18:39 -08:00
  • 11c932bf1d Fixed build Sam Lantinga 2024-01-27 20:18:39 -08:00
  • a6d5c1fe05 Added the environment variable SDL_LOGGING to control default log output Sam Lantinga 2024-01-27 19:11:04 -08:00
  • fc5bd11dac Simplified the default log category logic Sam Lantinga 2024-01-27 15:38:26 -08:00
  • e767840874 Document that the default log priority is error, not critical Sam Lantinga 2024-01-27 15:37:49 -08:00
  • f0b8fee88f Added the environment variable SDL_LOGGING to control default log output Sam Lantinga 2024-01-27 19:11:04 -08:00
  • 6ec3f5a28e Simplified the default log category logic Sam Lantinga 2024-01-27 15:38:26 -08:00
  • 2c11068569 Document that the default log priority is error, not critical Sam Lantinga 2024-01-27 15:37:49 -08:00
  • 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output Sam Lantinga 2024-01-27 19:11:04 -08:00
  • dcd26a80e5 windows: Minor tweaks that makes Windows XP vidmodes work again. Ryan C. Gordon 2024-01-25 19:41:31 -05:00
  • 6ca596cfc1 windows: Manage MapVirtualKey vs Windows XP. Ryan C. Gordon 2024-01-25 19:03:17 -05:00
  • 1c5bc53738 windows: Manage WideCharToMultiByte vs Windows XP. Ryan C. Gordon 2024-01-25 18:53:56 -05:00
  • 2144c2ac71 windows: Added WIN_IsWindowsXP, for extreme runtime compatibility checks. Ryan C. Gordon 2024-01-25 18:18:15 -05:00
  • 56fa22c63b windows: OS version checks now cache results. Ryan C. Gordon 2024-01-25 18:17:17 -05:00
  • 4fba663368 Simplified the default log category logic Sam Lantinga 2024-01-27 15:38:26 -08:00
  • a7a98d8bbb Document that the default log priority is error, not critical Sam Lantinga 2024-01-27 15:37:49 -08:00
  • fd14a20a4b Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-27 23:26:26 +00:00
  • 17768c51fc Revert "Sync SDL3 wiki -> header" Sam Lantinga 2024-01-27 15:24:41 -08:00
  • 2a4db8c415 SDL_rwops.c (SDL_IsRegularFile): fix WinRT build failure due to S_ISREG Ozkan Sezer 2024-01-28 02:20:00 +03:00
  • fd08ca3823 SDL_rwops.c (SDL_IsRegularFile): fix WinRT build failure due to S_ISREG Ozkan Sezer 2024-01-28 02:20:00 +03:00
  • fcd1c155cc SDL_rwops.c (SDL_IsRegularFile): fix WinRT build failure due to S_ISREG Ozkan Sezer 2024-01-28 02:20:00 +03:00
  • 5ae2ffc127 document that text input is on by default Charlie Volow 2024-01-24 23:14:30 -05:00
  • 5e96e410d6 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-27 23:12:19 +00:00
  • f66fe7e221 Replaced SDL_GetJoystickCaps() with joystick properties Sam Lantinga 2024-01-27 14:37:30 -08:00
  • 3bf60755cb SDL_RWFromFile, stdio: reject if the file is not a regular file. Ozkan Sezer 2024-01-28 01:44:50 +03:00
  • 230ae797a7 SDL_RWFromFile, stdio: reject if the file is not a regular file. Ozkan Sezer 2024-01-28 01:44:50 +03:00
  • 019dc53764 SDL_RWFromFile, stdio: reject if the file is not a regular file. Ozkan Sezer 2024-01-28 01:44:50 +03:00
  • aba3038353 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-27 21:01:19 +00:00
  • 3b55c7d1f4 Shortened SDL property names Sam Lantinga 2024-01-27 13:00:37 -08:00
  • 1885e6b2e0 Sync SDL3 wiki -> header SDL Wiki Bot 2024-01-27 20:47:21 +00:00
  • 8a4284b7df Clarified the use of SDL_RENDERER_SOFTWARE when creating a renderer Sam Lantinga 2024-01-27 12:45:25 -08:00
  • 2d94b4f490 Make sure we set datasize on error in SDL_LoadFile_RW() Sam Lantinga 2024-01-27 12:19:27 -08:00
  • aac7d1c2ae Report out of memory instead of crashing in SDL_LoadFile_RW() Sam Lantinga 2024-01-27 12:15:43 -08:00
  • 5297596132 Report out of memory instead of crashing in SDL_LoadFile_RW() Sam Lantinga 2024-01-27 12:15:43 -08:00
  • dff76bf295 Enable text input on video initialization without popping up an on-screen keyboard Sam Lantinga 2024-01-27 11:52:58 -08:00
  • 55caed2011 Fixed N3DS build Sam Lantinga 2024-01-27 11:56:33 -08:00
  • 332213163c Fixed N3DS build Sam Lantinga 2024-01-27 11:56:33 -08:00
  • 53058af284 Enable text input on video initialization without popping up an on-screen keyboard Sam Lantinga 2024-01-27 11:52:58 -08:00
  • 4ff3b28273 Enable text input on video initialization without popping up an on-screen keyboard Sam Lantinga 2024-01-27 11:52:58 -08:00
  • b9ea2dde44 Added VisionOS as a supported target to the Xcode project Sam Lantinga 2024-01-27 11:04:06 -08:00
  • 7a7875c904 wasapi: A few tweaks to buffer management. Ryan C. Gordon 2024-01-27 14:03:49 -05:00
  • e71e16950a wayland: Use the preferred order of displays exposed by KDE Frank Praznik 2024-01-26 18:15:27 -05:00