Commit Graph

  • 4f8c348402 SDL_GetPreferredLocales() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:07:05 -07:00
  • 9be73ed7c5 SDL_GetMice() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:29:24 -07:00
  • 6ca18ed0e5 SDL_GetKeyboards() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:18:56 -07:00
  • 5ce0aacaa4 SDL_GetGamepads() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:04:57 -07:00
  • 4961af4569 SDL_GetJoysticks() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:13:33 -07:00
  • b32c9615a7 SDL_GetHaptics() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:08:30 -07:00
  • 9de8cb888a SDL_GetFullscreenDisplayModes() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 17:02:47 -07:00
  • 9758e102bc SDL_GetDisplays() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 16:44:56 -07:00
  • 01199469de SDL_GetCameras() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 16:33:52 -07:00
  • 0fe6603747 SDL_GetCameraSupportedFormats() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 09:44:06 -07:00
  • 637e9700dd Standardize placement of '*' in function declarations Sam Lantinga 2024-07-18 08:54:50 -07:00
  • bdafc8e212 SDL_GetWindows() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 08:30:50 -07:00
  • 8ca6caeda5 SDL_GetAudioPlaybackDevices() and SDL_GetAudioRecordingDevices() follow the SDL_GetStringRule Sam Lantinga 2024-07-18 08:26:29 -07:00
  • bb96320cc4 Make sure we always copy the data returned using SDL_GetStringRule Sam Lantinga 2024-07-18 15:56:41 -07:00
  • ef884c8aa6 Transfer event memory between the local pool and the event queue Sam Lantinga 2024-07-19 00:19:08 -07:00
  • f95ecac300 Added SDL_ClaimEventMemory() Sam Lantinga 2024-07-18 18:04:49 -07:00
  • 2816745f48 Allow passing a pointer to SDL_FreeEventMemory() Sam Lantinga 2024-07-18 10:32:13 -07:00
  • 217330a7b3 Made return value descriptions more consistent across the API Sam Lantinga 2024-07-18 00:30:33 -07:00
  • d73c7311d5 Clarify that the SDL_GetStringRule means that SDL will automatically free the memory later. Sam Lantinga 2024-07-17 23:20:23 -07:00
  • 0d24b6e9f3 wayland: Use the compositor provided size during state transitions Frank Praznik 2024-07-18 16:33:01 -04:00
  • 25559faaea emscripten: restore key event prevent default behaviour Charlie Birks 2024-07-19 11:19:59 +01:00
  • 6e931bee01 emscripten: restore key event prevent default behaviour Charlie Birks 2024-07-19 11:19:59 +01:00
  • f8c1cd6622 ci: build MSVC workflows using Ninja generator Anonymous Maarten 2024-07-18 21:56:35 +02:00
  • a2a1d2de66 Add HAVE_UNSETENV to preprocessor guard Anonymous Maarten 2024-07-19 10:04:16 +02:00
  • 2d1d3d9fb2 cmake: fix building UWP with non-MSVC generator Anonymous Maarten 2024-07-18 22:32:49 +02:00
  • ccebbb6c6e Fix UWP build in non-UNICODE mode Anonymous Maarten 2024-07-19 00:28:49 +02:00
  • c59771d7fc cmake: detect ARM64EC Anonymous Maarten 2024-07-18 21:49:32 +02:00
  • fd32342ced ci: build MSVC workflows using Ninja generator Anonymous Maarten 2024-07-18 20:27:46 +02:00
  • ab4370c247 cmake: detect ARM64EC and enable SDL_LIBC by default Anonymous Maarten 2024-07-18 20:25:46 +02:00
  • 7fb8b62a4d cmake: fix building UWP with non-MSVC generator Anonymous Maarten 2024-07-18 20:24:54 +02:00
  • 11c0dfbdfe Fix UWP build in non-UNICODE mode Anonymous Maarten 2024-07-18 20:23:47 +02:00
  • 7d83e03ac2 Fix KMSDRM double buffering. vanfanel 2024-07-18 21:21:52 +02:00
  • 5ab1151508 Fix KMSDRM double buffering. vanfanel 2024-07-18 21:21:52 +02:00
  • 9af7a80767 OpenGL ES is still available on iOS Sam Lantinga 2024-07-18 09:27:16 -07:00
  • e949f12f63 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-18 01:04:46 +00:00
  • 38a301a3f9 Added automated tests to verify SDL_ClearSurface() and SDL_PremultiplySurfaceAlpha() Sam Lantinga 2024-07-17 16:30:45 -07:00
  • 02a072a1b7 Added SDL_ClearSurface() and SDL_ReadSurfacePixelFloat() Sam Lantinga 2024-07-17 16:25:00 -07:00
  • b07bd55baf Fixed use of SDL_expand_byte after flipping from bit loss to bit count Sam Lantinga 2024-07-17 15:38:44 -07:00
  • cd25cb3435 Check SDL_LockSurface() return value Sam Lantinga 2024-07-17 14:07:33 -07:00
  • eefcb62588 SDL_MUSTLOCK() returns true once a surface has the RLE flag set Sam Lantinga 2024-07-17 14:03:53 -07:00
  • de6595bda6 SDL_MUSTLOCK() should return true if the surface needs locking even if it's currently locked. Sam Lantinga 2024-07-17 13:35:18 -07:00
  • 334962b056 Enhancements for SDL_PremultiplyAlpha() Sam Lantinga 2024-07-17 12:50:56 -07:00
  • b99ea1ff75 wayland: Add SDL_VIDEO_DOUBLE_BUFFER support Frank Praznik 2024-07-17 18:24:47 -04:00
  • e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" Amir 2024-07-17 21:32:03 +04:00
  • 5db08b86ca Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" Amir 2024-07-17 22:09:32 +04:00
  • 9e6b8d56e3 Add SDL_VIDEO_DOUBLE_BUFFER support to the Wayland backend. vanfanel 2024-07-17 20:40:30 +02:00
  • 94c40fb3c9 Fixed warning: no previous prototype for function 'SDL_InitFilesystem' Sam Lantinga 2024-07-17 11:00:25 -07:00
  • ccade50587 Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" Amir 2024-07-17 21:32:03 +04:00
  • 761e86e25e Initialize output parameters to reasonable defaults in case of error Sam Lantinga 2024-07-17 10:10:31 -07:00
  • 5f5e91eab6 Reverted 3d2e5a0b66 Sam Lantinga 2024-07-17 09:40:25 -07:00
  • b3df46e4bc Added missing SDL_sysfilesystem.h includes Sam Lantinga 2024-07-17 09:09:42 -07:00
  • 2eda7b2c24 SDL_sysvideo.h: remove SDL_DisplayModeData typedef: Ozkan Sezer 2024-07-17 12:30:32 +03:00
  • 8c25129458 SDL_EVENT_WINDOW_LAST should be SDL_EVENT_WINDOW_HDR_STATE_CHANGED Sam Lantinga 2024-07-16 22:43:02 -07:00
  • b92ec25147 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-17 04:33:30 +00:00
  • 3d2e5a0b66 Fixed a few remaining functions to directly return their values instead of an error code. Sam Lantinga 2024-07-16 21:15:56 -07:00
  • 1e828eec57 Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data Sam Lantinga 2024-07-16 21:14:39 -07:00
  • 98bea25363 Converted surfaces with alpha format default to SDL_BLENDMODE_BLEND Sam Lantinga 2024-07-16 18:20:10 -07:00
  • 7c0307060d Textures with alpha format default to SDL_BLENDMODE_BLEND Sam Lantinga 2024-07-16 18:00:20 -07:00
  • 2db57e2678 Removed SlowBlitPixelAccess_Unknown Sam Lantinga 2024-07-16 18:43:14 -07:00
  • b5292bdec9 Added blend mode testing for 8-bit surfaces Sam Lantinga 2024-07-16 16:56:34 -07:00
  • e41428d259 Added full blit feature support for 8-bit surfaces Sam Lantinga 2024-07-16 16:54:58 -07:00
  • b7ec2119dd Use a dither palette when converting RGB images to indexed formats Sam Lantinga 2024-07-16 12:46:28 -07:00
  • 626bb53772 Fail blits between indexed and RGB surfaces if there is no palette set Sam Lantinga 2024-07-16 11:58:31 -07:00
  • 9ca1792848 Renamed driverdata to internal Sam Lantinga 2024-07-16 11:09:18 -07:00
  • fe183872ee Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-16 20:45:34 +00:00
  • 4dda785c69 gamepad: Several gamepad mapping functions now follow the SDL_GetStringRule. Ryan C. Gordon 2024-07-15 20:41:46 -04:00
  • ed1f93cd11 filesystem: SDL_Glob*Directory() functions now follow the SDL_GetStringRule. Ryan C. Gordon 2024-07-15 20:36:33 -04:00
  • 52bf7ff42d filesystem: SDL_GetPrefPath() now follows the SDL_GetStringRule. Ryan C. Gordon 2024-07-15 20:21:22 -04:00
  • 2321726ff1 filesystem: SDL_GetUserFolder() now follows the SDL_GetStringRule. Ryan C. Gordon 2024-07-15 20:03:15 -04:00
  • d40b89dff6 clipboard: SDL_GetPrimarySelectionText() now follows the SDL_GetStringRule. Ryan C. Gordon 2024-07-15 14:07:33 -04:00
  • 158fc459f1 clipboard: SDL_GetClipboardText() now follows the SDL_GetStringRule. Ryan C. Gordon 2024-07-15 14:00:52 -04:00
  • 3bc81a81f5 filesystem: SDL_GetBasePath() now follows the SDL_GetStringRule. Ryan C. Gordon 2024-07-13 13:34:46 -04:00
  • d65a8146b9 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-16 19:03:15 +00:00
  • 4aeabb3c3b Made event and temporary string memory thread-local and added SDL_FreeEventMemory() Sam Lantinga 2024-07-16 10:15:23 -07:00
  • ec3bb4c029 Removed the need for SDL_CreateTLS() Sam Lantinga 2024-07-16 09:43:07 -07:00
  • 1592452cad video: Fixed remaining return 0 to use NULL in CreateDevice implementations. Ryan C. Gordon 2024-07-16 14:25:53 -04:00
  • d78ef58b4b offscreen: Don't ever use this backend unless explicitly requested. Ryan C. Gordon 2024-07-16 14:19:58 -04:00
  • bc1ceb0883 dummyvideo: Change a thing returning a 0 pointer to return NULL instead. Ryan C. Gordon 2024-07-16 14:17:02 -04:00
  • 045f0456b1 dummyvideo: Change a thing using int to use SDL_bool instead. Ryan C. Gordon 2024-07-16 14:15:38 -04:00
  • 723c1cc5b3 Print message in summary when a X11 or wayland video driver is not found huanhuan-jiang 2024-07-16 10:53:57 -07:00
  • 70727d36b2 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-16 16:37:08 +00:00
  • 027671bedb SDL_GetWindowOpacity() directly returns the opacity instead of using an out parameter. Sam Lantinga 2024-07-16 07:25:48 -07:00
  • 58270ef3f2 Finished renaming functions in SDL_system.h Sam Lantinga 2024-07-16 07:46:08 -07:00
  • 279eb89ce5 README-macos: Typo fixes. Ryan C. Gordon 2024-07-16 08:32:03 -04:00
  • 3f9591babe README-macos: fixed some text. Ryan C. Gordon 2024-07-16 08:25:38 -04:00
  • 199e6929e5 README-macos: fixed some text. Ryan C. Gordon 2024-07-16 08:25:38 -04:00
  • 4ac67f5ba6 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-16 01:38:55 +00:00
  • 033df70d4c SDL_DelayNS() will attempt to sleep exactly the requested amount of time Sam Lantinga 2024-07-15 18:05:31 -07:00
  • 54366181c3 Rename functions in SDL_system.h to match SDL 3.0 naming convention Sam Lantinga 2024-07-15 16:13:23 -07:00
  • e38f971f46 Fix typos in cmake Bruce Mitchener 2024-07-16 01:05:47 +07:00
  • 70c8fe61d7 Align SDL_BLENDMODE_INVALID with the other constants Sam Lantinga 2024-07-15 15:00:09 -07:00
  • bf501ab2d4 Made the SDL_BlendMode values wiki-friendly Sam Lantinga 2024-07-15 14:46:56 -07:00
  • 492e3c1a54 direct3d11: we don't need to create all the blend states up front Sam Lantinga 2024-07-15 06:25:56 -07:00
  • a419e2c890 Updated and re-enabled surface and render blend mode tests Sam Lantinga 2024-07-15 13:42:06 -07:00
  • df573391b1 Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED Sam Lantinga 2024-07-15 08:27:58 -07:00
  • f099898a66 Correct ibus include path Carl Åstholm 2024-07-15 13:43:19 +02:00
  • 9406a9d527 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-14 23:42:33 +00:00
  • 5c875e1183 Renamed *FromID() to *ForID() Sam Lantinga 2024-07-14 15:22:03 -07:00
  • 0cdc60666b Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-14 21:04:37 +00:00
  • f61900465c stdinc: Fixed up documentation details for standard types. Ryan C. Gordon 2024-07-14 16:57:02 -04:00