SDL/include/SDL3
Sam Lantinga 4f55271571 Removed temporary memory from the API
It was intended to make the API easier to use, but various automatic garbage collection all had flaws, and making the application periodically clean up temporary memory added cognitive load to using the API, and in many cases was it was difficult to restructure threaded code to handle this.

So, we're largely going back to the original system, where the API returns allocated results and you free them.

In addition, to solve the problems we originally wanted temporary memory for:
* Short strings with a finite count, like device names, get stored in a per-thread string pool.
* Events continue to use temporary memory internally, which is cleaned up on the next event processing cycle.
2024-07-26 20:59:14 -07:00
..
SDL.h Moved the SDL version back to SDL_version.h 2024-05-15 14:38:29 -07:00
SDL_assert.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_atomic.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_audio.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_begin_code.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_bits.h Updated headers with latest wikiheaders tweaks. 2024-06-14 02:09:55 -04:00
SDL_blendmode.h Align SDL_BLENDMODE_INVALID with the other constants 2024-07-15 15:00:09 -07:00
SDL_camera.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_clipboard.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_close_code.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_copying.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_cpuinfo.h Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
SDL_dialog.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_egl.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_endian.h SDL_endian.h: Fix byte order detection on Solaris (and some SPARC compilers). 2024-06-28 00:14:26 -04:00
SDL_error.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_events.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_filesystem.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_gamepad.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_guid.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_haptic.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_hidapi.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_hints.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_init.h Updated headers with latest wikiheaders tweaks. 2024-06-14 02:09:55 -04:00
SDL_intrin.h intrinsics: avx, avx2 and avx512f are (currently) unsupported on arm64ec 2024-07-20 00:59:58 +02:00
SDL_iostream.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_joystick.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_keyboard.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_keycode.h Update SDL_keycode.h 2024-07-25 14:12:04 -07:00
SDL_loadso.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_locale.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_log.h Sync SDL3 wiki -> header 2024-07-12 12:33:26 +00:00
SDL_main.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_main_impl.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_messagebox.h Updated headers with latest wikiheaders tweaks. 2024-06-14 02:09:55 -04:00
SDL_metal.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_misc.h Updated headers with latest wikiheaders tweaks. 2024-06-14 02:09:55 -04:00
SDL_mouse.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_mutex.h Renamed SDL_PostSemaphore() to SDL_SignalSemphore() 2024-07-24 13:37:40 -07:00
SDL_oldnames.h Renamed SDL_PostSemaphore() to SDL_SignalSemphore() 2024-07-24 13:37:40 -07:00
SDL_opengl.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_opengl_glext.h
SDL_opengles.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_opengles2.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_opengles2_gl2.h
SDL_opengles2_gl2ext.h
SDL_opengles2_gl2platform.h
SDL_opengles2_khrplatform.h
SDL_pen.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_pixels.h Ensure that all functions that follow the SDL_GetStringRule return temporary memory 2024-07-19 12:22:03 -07:00
SDL_platform.h Ensure that all functions that follow the SDL_GetStringRule return temporary memory 2024-07-19 12:22:03 -07:00
SDL_platform_defines.h Fixed compiling SDL_platform_defines.h on macOS with older compilers (thanks @sezero!) 2024-05-27 14:34:21 -07:00
SDL_power.h Renamed DECLSPEC to SDL_DECLSPEC 2024-05-17 17:09:09 -07:00
SDL_properties.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_rect.h Sync SDL3 wiki -> header 2024-07-21 15:09:24 +00:00
SDL_render.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_revision.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_scancode.h The keycode in key events is the base, unmodified, keycode for the current keyboard layout 2024-07-01 13:56:49 -07:00
SDL_sensor.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_stdinc.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_storage.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_surface.h Removed SDL_PROP_SURFACE_COLORSPACE_NUMBER 2024-07-21 09:36:22 -07:00
SDL_system.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_test.h Replaced test framework random code with SDL random functions 2024-06-24 11:49:15 -07:00
SDL_test_assert.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_test_common.h Added SDL_SetWindowAspectRatio() and SDL_GetWindowAspectRatio() 2024-05-28 11:52:31 -07:00
SDL_test_compare.h Add SDLTest_CompareMemory function to compare memory ranges 2024-04-15 03:05:05 -10:00
SDL_test_crc32.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_test_font.h include: A ton of little documentation tweaks, fixes, and improvements. 2024-04-09 00:50:02 -04:00
SDL_test_fuzzer.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_test_harness.h include: A ton of little documentation tweaks, fixes, and improvements. 2024-04-09 00:50:02 -04:00
SDL_test_log.h
SDL_test_md5.h
SDL_test_memory.h
SDL_thread.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_time.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_timer.h Made return value descriptions more consistent across the API 2024-07-19 12:22:03 -07:00
SDL_touch.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_version.h Ensure that all functions that follow the SDL_GetStringRule return temporary memory 2024-07-19 12:22:03 -07:00
SDL_video.h Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
SDL_vulkan.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00