SDL/include/SDL3
Ryan C. Gordon fa9c3331d5 main: Adjust how SDL_HINT_MAIN_CALLBACK_RATE works.
Now (only in the generic backend, where it is implemented), this hint is
always respected. Previously it would only be used if no windows were created,
to help reduce CPU load on things like loopwave.

Since it's always used now, the default has changed from 60 (Hz) to 0 (run as
fast as possible). Things like loopwave should still likely force this way
lower than the previous default (and already do: loopwave explicitly sets it
to 5).

The hint can now also be set to "waitevent" which will cause SDL_AppIterate
to only be called after new events have arrived, for apps that are entirely
driven by input and want to consume (almost) no power or CPU time until then.

Fixes #11093.
Fixes #11387.
2024-12-31 08:19:38 -08:00
..
SDL.h Add system tray support (#10873) 2024-12-24 10:36:39 -08:00
SDL_assert.h Fix missing parens in preprocessor defined op 2024-12-22 10:36:03 -05:00
SDL_asyncio.h Renamed SDL_ASYNCIO_CANCELLED to SDL_ASYNCIO_CANCELED 2024-12-30 19:13:02 -08:00
SDL_atomic.h Sync SDL3 wiki -> header 2024-12-22 07:09:56 +00:00
SDL_audio.h Sync SDL3 wiki -> header 2024-12-28 07:58:04 +00:00
SDL_begin_code.h include: Filled in all remaining missing documentation! 2024-12-22 01:58:13 -05:00
SDL_bits.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_blendmode.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_camera.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_clipboard.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_close_code.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_copying.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_cpuinfo.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_dialog.h Sync SDL3 wiki -> header 2024-12-29 20:32:50 +00:00
SDL_egl.h wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
SDL_endian.h Sync SDL3 wiki -> header 2024-12-19 21:44:12 +00:00
SDL_error.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_events.h Added SDL_EVENT_FINGER_CANCELED 2024-12-30 19:13:02 -08:00
SDL_filesystem.h SDL_filesystem.h: Fill in missing documentation. 2024-12-20 02:39:28 -05:00
SDL_gamepad.h Sync SDL3 wiki -> header 2024-12-27 02:32:08 +00:00
SDL_gpu.h Sync SDL3 wiki -> header 2024-12-28 01:12:59 +00:00
SDL_guid.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_haptic.h include: Filled in all remaining missing documentation! 2024-12-22 01:58:13 -05:00
SDL_hidapi.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_hints.h main: Adjust how SDL_HINT_MAIN_CALLBACK_RATE works. 2024-12-31 08:19:38 -08:00
SDL_init.h Sync SDL3 wiki -> header 2024-12-22 07:09:56 +00:00
SDL_intrin.h Sync SDL3 wiki -> header 2024-12-22 07:09:56 +00:00
SDL_iostream.h Sync SDL3 wiki -> header 2024-11-14 01:12:18 +00:00
SDL_joystick.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_keyboard.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_keycode.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_loadso.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_locale.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_log.h Sync SDL3 wiki -> header 2024-11-28 04:36:33 +00:00
SDL_main.h include: Filled in all remaining missing documentation! 2024-12-22 01:58:13 -05:00
SDL_main_impl.h ngage: Remove Nokia N-Gage support. 2024-12-11 13:29:43 -05:00
SDL_messagebox.h Fix outdated references to SDL symbols in docs. Fixes #11503 2024-11-22 15:52:31 -05:00
SDL_metal.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_misc.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_mouse.h Document that video and input functions should be called on the main thread. 2024-12-05 13:53:51 -08:00
SDL_mutex.h Sync SDL3 wiki -> header 2024-12-22 07:09:56 +00:00
SDL_oldnames.h video: Change SDL_GLattr to SDL_GLAttr. 2024-10-23 18:50:52 -04:00
SDL_opengl.h Add macro guards for OpenGL <=1.3 function prototypes 2024-10-12 11:21:07 -04:00
SDL_opengl_glext.h Renamed Gpu to GPU 2024-08-29 17:33:52 -07:00
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 fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_pixels.h Fix typo 2024-12-22 10:35:35 -05:00
SDL_platform.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_platform_defines.h Sync SDL3 wiki -> header 2024-12-22 07:09:56 +00:00
SDL_power.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_process.h include: Filled in all remaining missing documentation! 2024-12-22 01:58:13 -05:00
SDL_properties.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_rect.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_render.h Don't try to enumerate possible texture failure reasons. 2024-12-26 17:17:08 -08:00
SDL_revision.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_scancode.h Sync SDL3 wiki -> header 2024-12-16 06:13:48 +00:00
SDL_sensor.h include: Filling in some more documentation gaps. 2024-12-18 01:18:40 -05:00
SDL_stdinc.h stdinc: use __has_include to detect <stdbool.h> 2024-12-29 20:54:12 +01:00
SDL_storage.h storage: Remove an outdated FIXME. 2024-12-31 10:46:42 -05:00
SDL_surface.h Fixed an inaccuracy in the documentation for SDL_ConvertPixelsAndColorspace 2024-12-18 14:20:24 -08:00
SDL_system.h include: Filled in all remaining missing documentation! 2024-12-22 01:58:13 -05:00
SDL_test.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_assert.h SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
SDL_test_common.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_compare.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_crc32.h Updated check for stdbool.h 2024-09-28 16:55:09 -07:00
SDL_test_font.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_fuzzer.h Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
SDL_test_harness.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_log.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_md5.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_test_memory.h Heavy work on improving category documentation. 2024-12-16 01:10:37 -05:00
SDL_thread.h Fix C99 trailing enum comma warning. 2024-12-30 17:21:02 +03:00
SDL_time.h fnsince: update \since policy for documentation. 2024-10-23 12:22:43 -04:00
SDL_timer.h SDL_timer.h: Fixed doxygen typo. 2024-12-19 16:46:42 -05:00
SDL_touch.h Sync SDL3 wiki -> header 2024-12-23 23:01:15 +00:00
SDL_tray.h Remove libc function from Windows tray 2024-12-30 01:20:12 +03:00
SDL_version.h Updated to version 3.1.7 for development 2024-11-01 15:49:31 -07:00
SDL_video.h include: Filled in all remaining missing documentation! 2024-12-22 01:58:13 -05:00
SDL_vulkan.h SDL_vulkan.h: undefine VK_DEFINE_HANDLER and VK_DEFINE_NON_DISPATCHABLE_HANDLE 2024-10-29 20:30:10 +03:00