Commit Graph

  • 3b3c4a79b6 Don't close file descriptors already handled by AddFileDescriptorCloseActions() Sam Lantinga 2024-10-01 09:14:27 -07:00
  • 5f5379dc99 Add SDL_IsTV() (#11004) Anthony 2024-10-01 17:20:00 +01:00
  • 6bcf2f919a Sync SDL3 wiki -> header SDL Wiki Bot 2024-10-01 16:16:44 +00:00
  • 0b5e01a305 loadso: library handles are now SDL_SharedObject* instead of void*. Ryan C. Gordon 2024-10-01 11:11:40 -04:00
  • f351395c46 Sync SDL3 wiki -> header SDL Wiki Bot 2024-10-01 15:10:40 +00:00
  • 3234a3b902 Simplified internal SDL_Surface structure Sam Lantinga 2024-09-30 22:15:38 -07:00
  • 1f3a0d12e6 Made texture size and format public in the API Sam Lantinga 2024-09-30 20:40:54 -07:00
  • 5136b30652 render: SDL_ConvertEventToRenderCoordinates() now handles pen events. Ryan C. Gordon 2024-10-01 10:30:36 -04:00
  • b4fcd1f345 pen: Corrected some documentation. Ryan C. Gordon 2024-10-01 10:24:17 -04:00
  • e3dbd74fe7 Improved documentation for SDL_Surface fields Sam Lantinga 2024-09-30 19:27:39 -07:00
  • 13c5d1092f hidapi: update hid_write() for windows from mainstream. Ozkan Sezer 2024-09-29 17:56:40 +03:00
  • 3eab599977 just force the barrier on UpdateTexture actually cosmonaut 2024-09-30 18:37:21 -07:00
  • e17741a6cb Render GPU: Only cycle on update if entire texture is replaced cosmonaut 2024-09-30 18:29:54 -07:00
  • 45ad763de5 Disable backface culling and use a constant rectangle winding order. Sam Lantinga 2024-09-30 18:26:20 -07:00
  • fa14b53273 GPU Vulkan: Clear up some swapchain edge cases cosmonaut 2024-09-30 15:10:27 -07:00
  • c16d7c87d6 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-30 18:18:49 +00:00
  • ab832f1be0 Added documentation for qsort and bsearch functions Sam Lantinga 2024-09-30 11:18:01 -07:00
  • 818d7d892a x11: store all atoms in a specific struct David Fort 2024-09-30 19:43:49 +02:00
  • 801870c8cf video: cache some more atoms under X11 David Fort 2024-09-30 16:42:38 +02:00
  • dcc7560a5c Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-30 17:23:50 +00:00
  • afdf325fb4 GPU: Add swapchain dimension out params (#11003) Evan Hemsley 2024-09-30 10:23:19 -07:00
  • b3388d5753 Haiku does not have fdatasync, but has fsync Anonymous Maarten 2024-09-28 18:08:36 +02:00
  • 396afa2117 ci: bump haiku to r1beta5 Anonymous Maarten 2024-09-28 17:59:02 +02:00
  • 0b64520997 hashtable: fixed unused-parameter warnings Sam Lantinga 2024-09-29 23:55:54 -07:00
  • 1787d6ca5c main: SDL_AppQuit() now reports the result value. Ryan C. Gordon 2024-09-29 22:17:11 -04:00
  • 6a7f8b74f1 filesystem: SDL_GlobDirectory shouldn't strip final '/' if the path is "/". Ryan C. Gordon 2024-09-29 23:09:04 -04:00
  • 7241dd9ec3 Add more SDL_Process tests Anonymous Maarten 2024-09-14 17:58:07 +02:00
  • f6055432c8 Fix null-pointer dereference on failing SDL_SYS_CreateProcess Anonymous Maarten 2024-09-16 16:52:48 +02:00
  • e9bfa5bf6a Mitigate BatBadBut vulnerability Anonymous Maarten 2024-09-16 16:51:38 +02:00
  • 06e122103c Fix window opacity update RT2 2024-09-29 23:02:43 +02:00
  • c84d825241 Added SDL_HashPointer() and SDL_KeyMatchPointer() Sam Lantinga 2024-09-29 10:58:54 -07:00
  • d0c9c008e1 wayland: Use high-DPI system cursors on non-DPI aware windows Frank Praznik 2024-09-29 11:05:32 -04:00
  • 5f304b3a47 Fix builed error after commit 0e45b824e3 due to -Wunused-variable Ozkan Sezer 2024-09-29 15:40:02 +03:00
  • 0e45b824e3 renderer: always update the output pixel size at startup Sam Lantinga 2024-09-29 05:22:28 -07:00
  • 2825a682f0 Fixed build errors Sam Lantinga 2024-09-29 04:42:19 -07:00
  • ba7b346e52 hashtable: reimplement as open-addressed robin hood hashtable Andrei Alexeyev 2024-09-18 16:27:20 +02:00
  • 62938837c2 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-29 01:10:39 +00:00
  • fc242abbd2 GPU: recreate swapchain on window pixel size change event (#10985) Evan Hemsley 2024-09-28 18:09:56 -07:00
  • 66f6b40c92 Render GPU: Don't call GetWindowSizeInPixels during RenderPreset (#10984) Evan Hemsley 2024-09-28 18:01:16 -07:00
  • a923771978 Added SDL_murmur3_32() Sam Lantinga 2024-09-28 15:49:01 -07:00
  • 039148fb0e Updated check for stdbool.h Sam Lantinga 2024-09-28 14:39:14 -07:00
  • 7ca0e9ede1 wayland: Scale the pointer destination size relative to the theme size Frank Praznik 2024-09-28 14:29:24 -04:00
  • d2094bd0a2 wayland: Don't query the cursor info with DBus if the cursor shape protocol is present Frank Praznik 2024-09-28 12:18:58 -04:00
  • dee62e1b47 Remove trailing comma in enum Petar Popovic 2024-09-28 15:17:14 +02:00
  • 7d21a49c9c filesystem: SDL_EnumerateDirectoryCallback uses an enum now, not an int. Ryan C. Gordon 2024-09-27 22:28:47 -04:00
  • 55bd9f5311 iostream: flush() should attempt to sync file data to physical media. Ryan C. Gordon 2024-09-27 14:45:29 -04:00
  • 0852307b58 gpu: Check Vulkan device features for IsDeviceSuitable Ethan Lee 2024-09-27 19:39:40 -04:00
  • fb165a542b GPU Vulkan: add resolve info to framebuffer and render pass lookups cosmonaut 2024-09-27 15:11:13 -07:00
  • 0542bbbf1a Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 22:55:29 +00:00
  • 4a296f1bde filesystem: Fixed memory leak on Windows. Ryan C. Gordon 2024-09-27 18:19:30 -04:00
  • e944f0fb9d testfilesystem: Added test of creating parent dirs. Ryan C. Gordon 2024-09-27 15:34:58 -04:00
  • 428f2f35be filesystem: SDL_CreateDirectory should make parent directories. Ryan C. Gordon 2024-09-27 15:27:55 -04:00
  • 94030131de filesystem: Windows SDL_SYS_CreateDirectory should succeed if dir exists. Ryan C. Gordon 2024-09-27 15:27:25 -04:00
  • 48c3ee2120 testcolorspace.c: Fix unreachable code warning Petar Popovic 2024-09-27 23:44:14 +02:00
  • 8d6b397cd8 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 21:11:58 +00:00
  • 3f446d8fb5 Minor cleanup Sam Lantinga 2024-09-27 14:10:46 -07:00
  • 1088ea55fa SDL_gpu_d3d11.c: define D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD for old toolchains Ozkan Sezer 2024-09-27 23:55:02 +03:00
  • 8377cad974 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 20:50:17 +00:00
  • c39e8298b7 GPU: Document swapchain dimensions cosmonaut 2024-09-27 13:13:50 -07:00
  • de40d6bae0 GPU Metal: Set texture to NULL even if AcquireSwapchainTexture fails cosmonaut 2024-09-27 13:38:02 -07:00
  • 0e5a49542d Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 20:39:24 +00:00
  • f32e96f5e2 clipboard: add SDL_ClipboardMimeTypes David Fort 2024-09-27 12:01:56 +02:00
  • 0befa7d8e9 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 20:27:48 +00:00
  • eedd2039f9 GPU: 32-bit component texture formats cosmonaut 2024-09-27 12:52:22 -07:00
  • 769ff47461 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 19:50:13 +00:00
  • 05d0656bd6 GPU: Simultaneous compute pass read-write (#10965) Evan Hemsley 2024-09-27 12:49:37 -07:00
  • d39acc6d1e Fixed warning C4702: unreachable code Sam Lantinga 2024-09-27 11:19:54 -07:00
  • 5ff6e8d522 GPU: Add enable_depth_clip to RasterizerState (#10964) Caleb Cornett 2024-09-27 11:18:54 -05:00
  • 04bb105d09 Added header for SDL_ThreadID type Sam Lantinga 2024-09-27 08:16:49 -07:00
  • e98cf3c870 Fix Xbox builds Daniel Ludwig 2024-09-27 11:33:00 +02:00
  • c7442b04f0 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-27 07:30:57 +00:00
  • be401dd1e3 GPU: More robust error reporting (#10958) Evan Hemsley 2024-09-27 00:30:18 -07:00
  • 48e213b4cd Fixed SDL_ShouldQuit() returning false during status transitions Sam Lantinga 2024-09-26 18:08:58 -07:00
  • d8c76d2f34 filesystem: POSIX SDL_SYS_CopyFile shouldn't use a temp file. Ryan C. Gordon 2024-09-26 19:33:50 -04:00
  • 0d593cf39a Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-26 23:29:38 +00:00
  • f267ec7681 filesystem: Improve docs, make some promises about overwrites and file caches. Ryan C. Gordon 2024-09-26 19:25:34 -04:00
  • c1587b1eac Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-26 23:26:52 +00:00
  • 125e592844 Added SDL_ShouldInit() and SDL_ShouldQuit() Sam Lantinga 2024-09-26 15:49:59 -07:00
  • 0e2c4e407a README-migration: note that logical presentation state is different from SDL2. Ryan C. Gordon 2024-09-26 18:49:29 -04:00
  • 4e09e58f62 include: Small clarification on directory enumeration documentation. Ryan C. Gordon 2024-09-26 16:39:35 -04:00
  • 38f971bac5 filesystem: SDL_SYS_EnumerateDirectory() now returns bool. Ryan C. Gordon 2024-09-26 16:35:15 -04:00
  • 86ea283904 examples: No need to explicitly seed the RNG at startup. Ryan C. Gordon 2024-09-26 15:01:04 -04:00
  • 671a33c2f7 wayland: Raise all touches on a cancel event Frank Praznik 2024-09-26 14:00:04 -04:00
  • 457d0edeaf Remove some extra semicolons Petar Popovic 2024-09-26 17:08:44 +02:00
  • 345cae361d Document mode parameter of SDL_GetRenderLogicalPresentation Anonymous Maarten 2024-09-26 16:12:04 +02:00
  • 345d9bfe19 A zero source rect is valid for blitting Sam Lantinga 2024-09-25 22:15:20 -07:00
  • 1aea43846e Don't use BlitARGBto555PixelAlpha() for SDL_PIXELFORMAT_ARGB1555 Sam Lantinga 2024-09-25 21:54:05 -07:00
  • 59d69a3ba3 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-26 04:21:40 +00:00
  • d9a7da4fac Optimized SDL_HasEvent() and SDL_HasEvents() Sam Lantinga 2024-09-25 21:20:00 -07:00
  • 3abb213083 opengl: Fixed SDL_RENDERCMD_SETDRAWCOLOR code checking the wrong variable. Ryan C. Gordon 2024-09-25 23:13:59 -04:00
  • 961cd51611 opengl: Removed a FIXME (this is documented as not-thread-safe now. Ryan C. Gordon 2024-09-25 23:13:33 -04:00
  • 80cf3f7c38 ci: Fix check_stdlib_usage.py and run on ci Anonymous Maarten 2024-09-25 21:18:37 +02:00
  • 76f28ea120 Fix stdlib usage Anonymous Maarten 2024-09-25 21:56:16 +02:00
  • 80da805688 build: Fix testprocess invocation during "as-installed" tests Simon McVittie 2024-09-17 18:29:38 +01:00
  • 81644d260f Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-25 20:31:24 +00:00
  • 122cd4db2b include: Added \threadsafety notes to all SDL_render.h functions. Ryan C. Gordon 2024-09-25 16:30:04 -04:00
  • 276969cd58 Sync SDL3 wiki -> header SDL Wiki Bot 2024-09-25 20:27:11 +00:00
  • 4c48ff51f8 render: SDL_RenderPresent now behaves when a render target is currently set. Ryan C. Gordon 2024-09-25 12:33:21 -04:00
  • 7a6a0becb8 render: Fixed a FIXME for SDL_SetRenderViewport with a negative size. Ryan C. Gordon 2024-09-25 12:32:50 -04:00
  • 54459def69 render: Remove the logical presentation render target. Ryan C. Gordon 2024-09-16 13:33:16 -04:00