SDL/include/SDL3
Sam Lantinga ca4bd4b63c Android life cycle behavior more closely matches iOS
This change also decouples the pause/resume handling from the video subsystem on Android, so applications that don't use SDL for video can get application life cycle events.

The semantics for the life cycle events are that they need to be handled in an event watch callback, and once they've been delivered, the application will block until it's been resumed. SDL_HINT_ANDROID_BLOCK_ON_PAUSE can be used to control that behavior, and if that's set to "0", then the application will continue to run in the background at low CPU usage until being resumed or stopped.

SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO has been removed, and the audio will be paused when the application is paused.

Fixes https://github.com/libsdl-org/SDL/issues/3193
2024-07-24 05:11:13 -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 Audio device IDs are unsigned 2024-07-22 05:48:01 -07:00
SDL_begin_code.h begin_code: Solaris Studio has __has_attribute defined by isn't usable here. 2024-06-27 22:13:48 -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 Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_clipboard.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00: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 Android life cycle behavior more closely matches iOS 2024-07-24 05:11:13 -07:00
SDL_filesystem.h Added SDL_CopyFile() and SDL_CopyStorageFile() 2024-07-21 19:58:23 -07:00
SDL_gamepad.h Sync SDL3 wiki -> header 2024-07-19 20:08:05 +00:00
SDL_guid.h SDL_GUIDFromString() renamed SDL_StringToGUID() 2024-07-22 12:39:15 -07:00
SDL_haptic.h Removed SDL 2.1 note, we're not going to revisit this for SDL 3.0 2024-07-19 13:39:22 -07:00
SDL_hidapi.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_hints.h Android life cycle behavior more closely matches iOS 2024-07-24 05:11:13 -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 Remove a duplicate definition that is already in SDL_guid.h 2024-07-20 12:23:50 +03:00
SDL_keyboard.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_keycode.h Restore default behavior for keypad keycodes 2024-07-02 18:34:35 -07:00
SDL_loadso.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_locale.h Updated documentation for SDL_GetPreferredLocales() 2024-07-20 20:12:55 -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 Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_mutex.h Standardize placement of '*' in function declarations 2024-07-19 12:22:03 -07:00
SDL_oldnames.h Renamed SDL life cycle functions 2024-07-24 05:11:13 -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 Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00: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 Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_rect.h Sync SDL3 wiki -> header 2024-07-21 15:09:24 +00:00
SDL_render.h SDL_CreateTexture() uses the SDL_TextureAccess type for the access parameter 2024-07-22 09:32:02 -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 Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00
SDL_stdinc.h Sync SDL3 wiki -> header 2024-07-23 22:49:23 +00:00
SDL_storage.h Added SDL_CopyFile() and SDL_CopyStorageFile() 2024-07-21 19:58:23 -07:00
SDL_surface.h Removed SDL_PROP_SURFACE_COLORSPACE_NUMBER 2024-07-21 09:36:22 -07:00
SDL_system.h Renamed SDL life cycle functions 2024-07-24 05:11:13 -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 Named typedef-ed structs Gave name to structs that were defined like anonymous struct with name given by typedef. Example 'typedef struct {...} Foo;' -> 'typedef struct Foo {...} Foo;' 2024-03-10 09:04:18 -07:00
SDL_test_memory.h
SDL_thread.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00: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 Sync SDL3 wiki -> header 2024-07-19 20:08:05 +00: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 Functions that return display modes return temporary memory. 2024-07-23 19:26:19 -07:00
SDL_vulkan.h Sync SDL3 wiki -> header 2024-07-19 19:23:24 +00:00