Commit Graph

  • f47ddbf1ac Added SDL_BlitSurfaceTiled() Sam Lantinga 2024-07-20 11:53:36 -07:00
  • 71d2662a39 Fixed warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Sam Lantinga 2024-07-20 11:16:53 -07:00
  • 03bb2c17ed Enable texture wrapping for SDL_RenderGeometry() Sam Lantinga 2024-07-17 22:49:05 -07:00
  • 6a74ade73d Make SDL_URIToLocal available to multiple platforms Frank Praznik 2024-07-19 11:42:53 -04:00
  • 6a62c54b93 Remove a duplicate definition that is already in SDL_guid.h hwsmm 2024-07-20 16:02:33 +09:00
  • e1aa995732 audio: recording devices also need to update their streams' channel maps. Ryan C. Gordon 2024-07-19 20:35:18 -04:00
  • 068c785491 audio: Assigning a device channel map to an audio stream was quietly failing. Ryan C. Gordon 2024-07-19 20:25:23 -04:00
  • 6d39c18dd3 ci: test the MSVC development archive for targeting arm64ec Anonymous Maarten 2024-07-19 19:54:29 +02:00
  • 476b987f1b intrinsics: avx, avx2 and avx512f are (currently) unsupported on arm64ec Anonymous Maarten 2024-07-20 00:10:19 +02:00
  • b3b74e8aed Fix SDL3ConfigVersion.cmake of VC development package for ARM64EC Anonymous Maarten 2024-07-19 22:49:18 +02:00
  • aafbbe4ebc Fixed warning C4090: 'function': different 'const' qualifiers Sam Lantinga 2024-07-19 15:38:41 -07:00
  • 64cb431ead Updated migration documentation for functions that now return temporary memory Sam Lantinga 2024-07-19 14:45:47 -07:00
  • f0a839b9b7 Removed SDL 2.1 note, we're not going to revisit this for SDL 3.0 Sam Lantinga 2024-07-19 13:38:41 -07:00
  • cc47969a79 cmake: actually check ARM64EC Anonymous Maarten 2024-07-19 20:11:58 +02:00
  • fc8cd657a5 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-19 20:08:05 +00:00
  • 02dceed760 Simpler pointer arithmetic Sam Lantinga 2024-07-19 12:51:59 -07:00
  • b80784fced SDL_GetGamepadBindings() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 12:47:04 -07:00
  • 93db5ef135 Fixed documentation for SDL_GlobDirectory() Sam Lantinga 2024-07-19 12:42:37 -07:00
  • 0079b6d45f SDL_GetTouchFingers() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 12:39:34 -07:00
  • 975457cfb6 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-19 19:23:24 +00:00
  • a340de6196 The candidates in SDL_EVENT_TEXT_EDITING_CANDIDATES should be a single allocation Sam Lantinga 2024-07-19 12:07:19 -07:00
  • bebde1c4c9 Make sure we're not trying to add temporary memory twice Sam Lantinga 2024-07-19 12:06:30 -07:00
  • 71a60d4c0e Updated documentation for functions that return temporary memory Sam Lantinga 2024-07-19 10:54:27 -07:00
  • 68322ac851 Ensure that all functions that follow the SDL_GetStringRule return temporary memory Sam Lantinga 2024-07-19 09:50:54 -07:00
  • fd9fe1bb7b Renamed event memory to temporary memory, since it's not just used for events Sam Lantinga 2024-07-19 09:50:25 -07:00
  • c4eac60000 SDL_GetClipboardData() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 11:08:03 -07:00
  • 61a7a0e579 SDL_GUIDToString() follows the SDL_GetStringRule Sam Lantinga 2024-07-19 09:08:17 -07:00
  • 892df4bf4b SDL_GetWindowICCProfile() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:20:17 -07:00
  • eb22fcce35 SDL_GetTouchDevices() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:15:11 -07:00
  • 856d598d6e SDL_GetSensors() follows the SDL_GetStringRule Sam Lantinga 2024-07-18 22:10:29 -07:00
  • 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