Commit Graph

  • 66011e497d Removed duplication in SDL_EGL_* function names Sam Lantinga 2024-07-23 12:58:20 -07:00
  • 86934975b9 Update SDL_video.h Eduard Gushchin 2024-07-23 22:42:06 +03:00
  • f5f44de155 examples: Add audio/01-simple-playback. Ryan C. Gordon 2024-07-23 14:52:16 -04:00
  • 5216aea31d examples: Explicitly call SDL_Init(). Ryan C. Gordon 2024-07-23 14:51:55 -04:00
  • ff7a60db85 Minor fixes to the primitive example Sam Lantinga 2024-07-23 08:34:15 -07:00
  • b499c54af4 Fixed testvulkan on macOS (thanks @proton991!) Sam Lantinga 2024-07-23 08:17:22 -07:00
  • 5c00e54073 Updated SDL_migration.cocci for SDL_GUIDFromString rename (thanks @sezero!) Sam Lantinga 2024-07-23 08:13:32 -07:00
  • 4d8b938969 examples: Added renderer/primitives example. Ryan C. Gordon 2024-07-23 10:37:14 -04:00
  • 266744af03 examples: Number examples, so they are presented in a specific order. Ryan C. Gordon 2024-07-23 10:12:53 -04:00
  • 23cf09163e examples: More n3ds build fixes. Ryan C. Gordon 2024-07-23 01:35:15 -04:00
  • 3671497ea1 examples: Maybe fix n3ds builds. Ryan C. Gordon 2024-07-23 01:28:19 -04:00
  • d2e2b9bdc9 examples: Maybe fix Android builds. Ryan C. Gordon 2024-07-23 01:25:29 -04:00
  • d8d7212efd examples: Maybe fix UWP builds. Ryan C. Gordon 2024-07-23 01:22:19 -04:00
  • a03ecaacb0 workflows: Enable building examples on GitHub Actions. Ryan C. Gordon 2024-07-23 01:04:05 -04:00
  • 16535b7ee2 examples: Add CMake glue to optionally build examples, as we do for the tests. Ryan C. Gordon 2024-07-23 00:56:57 -04:00
  • 2038620717 examples/README: fixed typo. Ryan C. Gordon 2024-07-22 23:41:16 -04:00
  • 15562564ad build-web-examples: Run highlight with --enclose-pre option. Ryan C. Gordon 2024-07-22 23:23:53 -04:00
  • 549317e0e4 build-web-examples: Minor tweaks. Ryan C. Gordon 2024-07-22 23:05:59 -04:00
  • 2de83359ba build-web-examples: Fix CMake dir. Ryan C. Gordon 2024-07-22 22:55:41 -04:00
  • 70348d77e1 build-web-examples: It's usually /bin/bash on Linux, not /usr/bin/bash. Ryan C. Gordon 2024-07-22 22:42:32 -04:00
  • 5339b4458d examples: Added initial examples infrastructure. Ryan C. Gordon 2024-07-22 22:38:21 -04:00
  • 2f6e34d2d0 wikiheaders: Added copyright comment to the top of file. Ryan C. Gordon 2024-07-22 22:38:40 -04:00
  • 2aea74aa84 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-22 22:19:38 +00:00
  • a36be94ad1 More clarification on temporary memory Sam Lantinga 2024-07-22 15:19:26 -07:00
  • 29f0fd33dc SDL_getenv() should return const Sam Lantinga 2024-07-22 12:09:03 -07:00
  • ef21e31a9a SDL_GUIDFromString() renamed SDL_StringToGUID() Sam Lantinga 2024-07-22 10:33:25 -07:00
  • 5e12706ae0 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-22 17:05:52 +00:00
  • 24bb95f60c Fixed a typo in the name of the method in the documentation for SDL_GetDisplayProperties Eduard Gushchin 2024-07-22 20:01:00 +03:00
  • c4bf5f9f59 SDL_CreateTexture() uses the SDL_TextureAccess type for the access parameter Sam Lantinga 2024-07-21 17:26:46 -07:00
  • b0713a7d30 x11: Track cursor visibility internally Frank Praznik 2024-07-22 11:59:01 -04:00
  • 3e943090d0 Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-22 14:50:48 +00:00
  • 61565b7f61 Update SDL_video.h Eduard Gushchin 2024-07-22 16:11:13 +03:00
  • 0406d1c316 testshader.c: include stdlib.h for exit() Ozkan Sezer 2024-07-22 17:40:56 +03:00
  • 73066492f6 testshader.c: include stdlib.h for exit() Ozkan Sezer 2024-07-22 17:40:56 +03:00
  • 40cb3fb74a Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-22 14:35:35 +00:00
  • ff1d351390 Removed SDL_FreeTemporaryMemory() Sam Lantinga 2024-07-22 07:18:00 -07:00
  • 1ca76a29d9 SDL_stdinc.h (SDL_COMPILE_TIME_ASSERT): Keep C++ case alone (after PR/10331) Ozkan Sezer 2024-07-22 15:55:40 +03:00
  • 86b4d035db SDL_stdinc.h (SDL_COMPILE_TIME_ASSERT): Keep C++ case alone (after PR/10331) Ozkan Sezer 2024-07-22 15:55:40 +03:00
  • 70c1012e8c SDL_stdinc.h (SDL_COMPILE_TIME_ASSERT): Keep C++ case alone (after PR/10331) Ozkan Sezer 2024-07-22 15:55:40 +03:00
  • 230f2a684d Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-22 12:59:19 +00:00
  • 685e381735 Add an overview of how to handle temporary memory Sam Lantinga 2024-07-22 05:58:19 -07:00
  • 9bfd0d901c Audio device IDs are unsigned Sam Lantinga 2024-07-22 05:46:55 -07:00
  • 033c9c5951 Added SDL_CopyFile() and SDL_CopyStorageFile() Sam Lantinga 2024-07-21 19:32:16 -07:00
  • 128df75e05 Fixed potential NULL dereference Sam Lantinga 2024-07-21 14:32:19 -07:00
  • e53df5b07e stdinc: c23 deprecated _Static_assert in favor of static_assert Anonymous Maarten 2024-07-21 10:08:01 +02:00
  • bd27b89903 Prevent potential overflow in rectangle functions Sam Lantinga 2024-07-21 12:39:45 -07:00
  • 5d606eaae2 stdinc: c23 deprecated _Static_assert in favor of static_assert Anonymous Maarten 2024-07-21 10:08:01 +02:00
  • 22bfbdbc02 stdinc: c23 deprecated _Static_assert in favor of static_assert Anonymous Maarten 2024-07-21 10:08:01 +02:00
  • 4830fc4e40 Added more 8-bit blit test coverage Sam Lantinga 2024-07-21 11:11:02 -07:00
  • bab982f2e0 Don't recalculate the blit mapping when changing surfaces Sam Lantinga 2024-07-21 10:31:48 -07:00
  • 68cabc2837 Support SDL_EVENT_DROP_TEXT in Cocoa Dragon-Baroque 2024-07-16 19:55:20 +02:00
  • c040a02d6c Removed SDL_PROP_SURFACE_COLORSPACE_NUMBER Sam Lantinga 2024-07-21 08:43:51 -07:00
  • 4a7e95402f Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-21 15:09:24 +00:00
  • e0fd59de64 Fixed floating point rectangles to be mathematically correct. Sam Lantinga 2024-07-21 00:36:42 -07:00
  • 9e978740c3 Removed unnecessary casts Sam Lantinga 2024-07-21 00:36:28 -07:00
  • 35ae56d344 Switched the rectangle tests to listing by name instead of by number. Sam Lantinga 2024-07-21 00:31:11 -07:00
  • f244f08165 Fixed building with SDL_VIDEO_OPENGL_WGL disabled (thanks @Please-just-dont!) Sam Lantinga 2024-07-20 21:24:02 -07:00
  • 78991bdb13 Revert "SDL_BlitSurfaceUnchecked() should invalidate the map when switching from scaled to unscaled blits" Sam Lantinga 2024-07-20 21:17:15 -07:00
  • b0a6afaa35 Updated documentation for SDL_GetPreferredLocales() Sam Lantinga 2024-07-20 20:12:55 -07:00
  • bce6d5b421 Actually, we still need size overflow checking in SDL_BlitSurfaceUncheckedScaled() Sam Lantinga 2024-07-20 18:53:31 -07:00
  • 9bdb3e8b6a Moved some error checking out of SDL_BlitSurfaceUncheckedScaled() Sam Lantinga 2024-07-20 18:51:42 -07:00
  • 1f3b2fc8b3 SDL_BlitSurfaceUnchecked() should invalidate the map when switching from scaled to unscaled blits Sam Lantinga 2024-07-20 18:44:23 -07:00
  • 979c71b18b Sync SDL3 wiki -> header SDL Wiki Bot 2024-07-21 01:22:39 +00:00
  • 6209c71f54 Added SDL_BlitSurface9Grid() and SDL_RenderTexture9Grid() Sam Lantinga 2024-07-20 16:39:09 -07:00
  • 9294476788 Added SDL_WriteSurfacePixel() and SDL_WriteSurfacePixelFloat() Sam Lantinga 2024-07-20 17:52:45 -07:00
  • 12e50d17a2 Removed SDL_SoftStretch() from the public API Sam Lantinga 2024-07-20 15:52:42 -07:00
  • 5ce81ebcc9 Corrected blit colorkey documentation Sam Lantinga 2024-07-20 15:44:44 -07:00
  • 67fa7a9138 SDL_BlitSurface() and SDL_BlitSurfaceScaled() now have a const dstrect parameter Sam Lantinga 2024-07-20 15:41:53 -07:00
  • 198caa54a1 Added SDL_RenderTextureTiled() Sam Lantinga 2024-07-20 13:47:01 -07:00
  • 9e55ee9391 Added SDL_BlitSurfaceTiledWithScale() Sam Lantinga 2024-07-20 14:37:49 -07:00
  • 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