SDL/include
Ryan C. Gordon 99c9727dc0 timer: Added SDL_GetTicks64(), for a timer that doesn't wrap every ~49 days.
Note that this removes the timeGetTime() fallback on Windows; it is a
32-bit counter and SDL2 should never choose to use it, as it only is needed
if QueryPerformanceCounter() isn't available, and QPC is _always_ available
on Windows XP and later.

OS/2 has a similar situation, but since it isn't clear to me that similar
promises can be made about DosTmrQueryTime() even in modern times, I decided
to leave the fallback in, with some heroic measures added to try to provide a
true 64-bit tick counter despite the 49-day wraparound. That approach can
migrate to Windows too, if we discover some truly broken install that doesn't
have QPC and still depends on timeGetTime().

Fixes #4870.
2021-11-01 14:28:00 -04:00
..
SDL.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_assert.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_atomic.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_audio.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_bits.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_blendmode.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_clipboard.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_config.h Add SDL_config_emscripten.h 2021-08-14 17:04:46 +01:00
SDL_config.h.cmake Add a barebones RISC OS video driver 2021-10-30 21:25:01 -07:00
SDL_config.h.in Add a barebones RISC OS video driver 2021-10-30 21:25:01 -07:00
SDL_config_android.h Enable AAUDIO driver for Android 2021-08-10 14:50:43 -07:00
SDL_config_emscripten.h Update SDL_config_emscripten.h for upstream 2021-08-14 17:04:46 +01:00
SDL_config_iphoneos.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config_macosx.h x11: Don't include X11/extensions/extutil.h 2021-09-20 10:22:50 -04:00
SDL_config_minimal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_os2.h enabled os2 joystick code (if anyone has actually a use for it...) 2021-10-15 08:51:02 +03:00
SDL_config_pandora.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_config_psp.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_windows.h config: Try to use stdint.h with Borland C. 2021-09-20 20:45:58 -04:00
SDL_config_winrt.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_config_wiz.h configuration updates for dlopen: 2021-08-10 12:07:32 -07:00
SDL_copying.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_cpuinfo.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_egl.h Added SDL_USE_BUILTIN_OPENGL_DEFINITIONS to avoid system OpenGL headers 2021-10-21 20:48:08 -07:00
SDL_endian.h Integrate fix for Source 2's Win32 build that does '#define __i386__ 1' which causes it to hit the __i386__ case instead of the _MSC_VER case. 2021-09-21 18:15:10 -07:00
SDL_error.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_events.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_filesystem.h Sync wiki -> header 2021-09-28 17:03:06 +00:00
SDL_gamecontroller.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_gesture.h First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
SDL_haptic.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_hints.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_joystick.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_keyboard.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_keycode.h Restore KMOD_RESERVED for backward compatibility 2021-08-17 10:00:14 +03:00
SDL_loadso.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_locale.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_log.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_main.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_messagebox.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_metal.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_misc.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_mouse.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_mutex.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_name.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengl.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengl_glext.h Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
SDL_opengles.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_opengles2.h Added SDL_USE_BUILTIN_OPENGL_DEFINITIONS to avoid system OpenGL headers 2021-10-21 20:48:08 -07:00
SDL_opengles2_gl2.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2ext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2platform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_khrplatform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_pixels.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_platform.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_power.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_quit.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_rect.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_render.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_revision.h The revision defaults to the empty string 2021-02-12 08:54:08 -08:00
SDL_revision.h.cmake cmake: Retrieve the git revision on platforms without bash 2021-09-09 22:34:42 -04:00
SDL_rwops.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_scancode.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_sensor.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_shape.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_stdinc.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_surface.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_system.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_syswm.h Add a barebones RISC OS video driver 2021-10-30 21:25:01 -07:00
SDL_test.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_assert.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_common.h Added a window flash operation to be explicit about window flash behavior 2021-07-24 13:42:19 -07:00
SDL_test_compare.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_crc32.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_font.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_fuzzer.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_harness.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_test_images.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_log.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_md5.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_memory.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_random.h doxygen: Fix all the "\returns" so they work as part of complete sentences. 2021-07-14 14:15:30 -04:00
SDL_thread.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_timer.h timer: Added SDL_GetTicks64(), for a timer that doesn't wrap every ~49 days. 2021-11-01 14:28:00 -04:00
SDL_touch.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_types.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_version.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_video.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
SDL_vulkan.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
begin_code.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
close_code.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00