SDL2/src
Frank Praznik 8cafde5ecc wayland: Add high-resolution event timestamp support
Add the protocol for high-resolution timestamp events and subscribe to them if available.

Event timestamps are now handled natively in nanoseconds as much as possible to avoid error-prone conversions.

Variables have been appended with _ms or _ns where appropriate, to avoid ambiguity.
2022-12-04 16:56:26 -08:00
..
atomic Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
audio re-applied the SDL_NewAudioStream deconstification, including to its definition 2022-12-04 20:50:20 +03:00
core Pass the event timestamp for joystick events 2022-12-04 09:29:28 -08:00
cpuinfo Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
dynapi re-applied the SDL_NewAudioStream deconstification, including to its definition 2022-12-04 20:50:20 +03:00
events Pass the OS event timestamp for keyboard, mouse, and touch events where possible 2022-12-02 12:37:41 -08:00
file Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
filesystem SDL_sysfilesystem.c (SDL_GetBasePath): fixed the solaris code path. 2022-12-02 06:23:30 +03:00
haptic Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
hidapi Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
joystick Fixed windows build 2022-12-04 09:39:55 -08:00
libm Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
loadso Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
locale Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
main Pass the OS event timestamp for keyboard, mouse, and touch events where possible 2022-12-02 12:37:41 -08:00
misc Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
power Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
render Fixed presentation reset calculation (thanks @zturtleman!) 2022-12-04 09:28:03 -08:00
sensor Removed SDL_SensorGetDataWithTimestamp() and SDL_GameControllerGetSensorDataWithTimestamp() 2022-12-04 09:29:28 -08:00
stdlib Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
test Fix Conditional jump or move depends on uninitialised value(s) 2022-12-02 21:11:33 +01:00
thread Convert ticks to 64-bit, added nanosecond precision to the API 2022-12-02 12:37:41 -08:00
timer Pass the event timestamp for joystick events 2022-12-04 09:29:28 -08:00
video wayland: Add high-resolution event timestamp support 2022-12-04 16:56:26 -08:00
SDL.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_assert.c Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
SDL_assert_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_dataqueue.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_dataqueue.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_error.c Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
SDL_error_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_guid.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_hints_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_internal.h Removed the nanosecond versions of event and thread primitive waits from the public API 2022-12-02 12:37:41 -08:00
SDL_intrin.h Move intrinsic includes into a private header 2022-12-04 09:34:10 -08:00
SDL_list.c Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_list.h Update for SDL3 coding style (#6717) 2022-11-30 12:51:59 -08:00
SDL_log.c Clang-Tidy fixes (#6725) 2022-12-01 13:07:03 -08:00
SDL_log_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00
SDL_utils.c Fixed declaration-after-statement warning 2022-07-18 07:31:23 -07:00
SDL_utils_c.h Added precompiled header support for Visual Studio and Xcode (#6710) 2022-11-29 18:34:15 -08:00